Remote Who/What Is Adder Bypass

By UncleJohn on Mar 14, 2010

I made this bit of script to bypass GrimReaper's auser requirement for triggering his two What/Who is scripts.

You can find those here:

http://www.hawkee.com/snippet/6724/

http://www.hawkee.com/snippet/6719/

How it works:

It bypasses everything and just cuts to the chase, that is the trigger sections of the scripts ignoring everything else.

On *:TEXT:*:#: {
  if ($addon.status != on) && ($addon.status != off) { .msg $chan invalid configurations. | halt }
  elseif ($addon.status == off) { halt }
  elseif ($1 == What) {
    if ($2 == Is) {
      if ($hget(whatis.addon, $3) != $null) { 
        .msg $chan $replace($hget(whatis.addon, $3), <nick>, $nick, <chan>, $chan, <host>, $address($nick,2), <b>, , <u>, )
        halt
      }
    }
  }
  elseif ($addon.status != on) && ($addon.status != off) { .msg $chan invalid configurations. | halt }
  elseif ($addon.status == off) { halt }
  elseif ($1 == Who) {
    if ($2 == Is) {
      if ($hget(whois.addon, $3) != $null) { 
        msg $chan $replace($hget(whois.addon, $3), <nick>, $nick, <chan>, $chan, <host>, $address($nick,2), <b>, , <u>, )
        halt
      }
    }
  }

}

Comments

Sign in to comment.
FordLawnmower   -  Mar 14, 2010

I think the sites edit feature is broken atm UncleJohn.

 Respond  
UncleJohn   -  Mar 14, 2010

I posted links to BOTH the scripts needed, this one just lets folks use the what/who triggers, there is no other way I know of to bypass the auser without giving folks access to the delete function too.

Only way I know to do it, is to make it a seperate script. I have it loaded seperatly incase I choose to go back to only allowing ausers access to everything, I thought I made it clear in the description.

Now even if I wanted to I cant seem to edit my own posts, so yeah..This will have to do.

 Respond  
FordLawnmower   -  Mar 14, 2010

It works because you have the other scripts loaded UncleJohn. The portion you posted will do nothing by it's self. You should post the rest of the code.

 Respond  
UncleJohn   -  Mar 14, 2010

FordLawnmower im using it right now on my own bot, and it works.lol

 Respond  
FordLawnmower   -  Mar 14, 2010

I don't think this snippet does anything UncleJohn. You bypassed a little too much.
There is no alias for addon.status. And there are no hashtable entries for whois.addon or whatis.addon.

 Respond  
UncleJohn   -  Mar 14, 2010

NOTE: It still requires auser to delete who/what triggers.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.