Public paste
Undefined
By: checkum | Date: Dec 19 2006 16:18 | Format: None | Expires: never | Size: 916 B | Hits: 1318

  1. on *:TEXT:permban *:?:{
  2.   if ($me == biggie`) {
  3.     if ($2 == help) {
  4.       Notice $nick Permban allows you to ban a user permanatly from your channel.
  5.       notice $nick Usage : /msg $me permban <channel> <nick>
  6.       close -m $nick
  7.     }
  8.     else {    
  9.       if (!$3) {
  10.         notice $nick forgot to type a nickname
  11.         close -m $nick
  12.       }
  13.       else {
  14.         if ($chr(35) isin $2) {
  15.           writeini database/banlist.ini permbans $2 $address($3,2)
  16.           msg $nick $3 has been permanent banned in the channel $2
  17.           ban -k $2 $3 2 You have been PERMANENT BANNED from this channel!
  18.           close -m $nick
  19.         }
  20.         else {
  21.           msg $nick Permban: Not enough parameters
  22.           msg $nick Try /msg $me Permban help for info
  23.           close -m $nick
  24.         }
  25.       }
  26.     }
  27.   }
  28.   else {
  29.     msg $nick You don't have access to this command!
  30.   }
  31. }
  32.