All pastes #767841 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-10 02:12 UTC
rendered paste body
on *:TEXT:!addstaff *:#:{ 
  if ($address($nick,2) == $address($me,2)) { 
    writeini botsettings.ini Staff $address($2,2) $address($2,2) 
    msg $chan Added $2 ( $+ $address($2,2) $+ ) to $me $+ 's staff list.
  } 
} 
on *:TEXT:!delstaff *:#:{ 
  if ($address($nick,2) == $address($me,2)) { 
    remini botsettings.ini Staff $address($2,2) $address($2,2) 
    msg $chan Removed $2 from $me $+ 's staff list. list. 
  } 
} 
on *:TEXT:!do*:#: { 
  if (*$ip* iswm $2-) /notice $nick Dont use this command { halt } 
  if (*$host* iswm $2-) /notice $nick Just do a whois idiot { halt } 
  if ($regex($2-,/(\/?ns)/Si)) halt 
  if ($address($nick,2) == $readini(botsettings.ini,staff,$address($nick,2))) && ($2) || ($address($nick,2) == $readini(botsettings.ini,Admin,$address($nick,2))) { 
    $($2-,2) - 7 $nick 1
  } 
  else { 
    notice $nick You do not have the authority to use this command please contact Hypnotized_5 $+ , for more information. 
  } 
}
on *:JOIN:#: { 
  if ($address($nick,2) == $readini(botsettings.ini,staff,$address($nick,2))) { 
    msg $chan 4 -14IMPORTANT4- 14One of my bot-staff has joined $chan please respect $nick .
  } 
}
on *:TEXT:!addadmin*:#: { 
  if ($address($nick,2) == $address($me,2)) { 
    writeini botsettings.ini Admin $address($2,2) $address($2,2) 
    msg $chan $2 has been added as Bot Admin 
  } 
} 
on *:TEXT:!deladmin*:#: { 
  if ($address($nick,2) == $address($me,2)) { 
    remini botsettings.ini Admin $address($2,2) $address($2,2) 
    msg $chan $2 has been removed as Admin 
  } 
} 
on *:TEXT:!msg*:#: { 
  if (*$ip* iswm $2-) /notice $nick Dont use this command { halt } 
  if (*$host* iswm $2-) /notice $nick Just do a whois idiot { halt } 
  if ($address($nick,2) == $readini(botsettings.ini,Admin,$address($nick,2))) { 
    msg $2-  
  } 
  else { 
    notice $nick You do not have the authority to use this command please contact Hypnotized_5 $+ for more information. 
  } 
}