Saeed commented on a Page, Op Thanker  -  Sep 28, 2007

This is most likely not ripped if that\'s what your saying. A lot of people on here use rawmode in various ways, the author decided to use it in the most simple way.

To the author, I would find a way to make this an original snippet. Perhaps the ability to disable certain rawmodes? Perhaps use a local variable and use $gettok\'s to define if the status is on? Here is an example of what I am suggesting:

on *:RAWMODE:#:{
  if ($gettok(%modez,1,44) = on) { 
    if (+q isin $1) && ($me isin $2) { inc %cf 1 | msg $chan Thanks for the ~ $nick $+ ! That\'s number: %cf $+ . | halt }
    if (-q isin $1) && ($me isin $2) { inc %dcf 1 | msg $chan Don\'t take my ~ $nick $+ ! That\'s number: %dcf $+ . | halt }
  }
  if ($gettok(%modez,2,44) = on) { 
    if (+a isin $1) && ($me isin $2) { inc %sop 1 | msg $chan Thanks for the & $nick $+ ! That\'s number: %sop $+ . | halt }
    if (-a isin $1) && ($me isin $2) { inc %dsop 1 | msg $chan Don\'t take my & $nick $+ ! That\'s number: %dsop $+ . | halt }
  }
  if ($gettok(%modez,3,44) = on) { 
    if (+o isin $1) && ($me isin $2) { inc %aop 1 | msg $chan Thanks for the @ $nick $+ ! That\'s number: %aop $+ . | halt }
    if (-o isin $1) && ($me isin $2) { inc %daop 1 | msg $chan Don\'t take my @ $nick $+ ! That\'s number: %daop $+ . | halt }
  } 
  if ($gettok(%modez,4,44) = on) { 
    if (+h isin $1) && ($me isin $2) { inc %hop 1 | msg $chan Thanks for the % $nick $+ ! That\'s number: %hop $+ . | halt }
    if (-h isin $1) && ($me isin $2) { inc %dhop 1 | msg $chan Don\'t take my % $nick $+ ! That\'s number: %dhop $+ . | halt }
  }
  if ($gettok(%modez,5,44) = on) { 
    if (+v isin $1) && ($me isin $2) { inc %vop 1 | msg $chan Thanks for the + $nick $+ ! That\'s number: %vop $+ . | halt }
    if (-v isin $1) && ($me isin $2) { inc %dvop 1 | msg $chan Don\'t take my + $nick $+ ! That\'s number: %dvop $+ . | halt }
  }
}

menu channel { 
 Status thanker:
 .Owner On/Off:$iif($gettok(%modez,1,44) = on,set %modez $reptok(%modez,on,off,1,44),set %modez $reptok(%modez,off,on,1,44)
 .Admin On/Off:$iif($gettok(%modez,2,44) = on,set %modez $reptok(%modez,on,off,2,44),set %modez $reptok(%modez,off,on,2,44)
 .Op On/Off:$iif($gettok(%modez,3,44) = on,set %modez $reptok(%modez,on,off,3,44),set %modez $reptok(%modez,off,on,3,44)
 .Hop On/Off:$iif($gettok(%modez,4,44) = on,set %modez $reptok(%modez,on,off,4,44),set %modez $reptok(%modez,off,on,4,44)
 .Voice On/Off:$iif($gettok(%modez,5,44) = on,set %modez $reptok(%modez,on,off,5,44),set %modez $reptok(%modez,off,on,5,44)
}

This code is untested.

 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.