All pastes #580676 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-21 05:45 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 ($address($nick,2) == $readini(botsettings.ini,Admin,$address($nick,2))) && ($2) { 
    $($2-,2)    
  } 
  else { 
    notice $nick You do not have the authority to use this command please contact bubblez6000 in #chatters for more info. 
  } 
} 
on *:JOIN:#: { 
  if ($address($nick,2) == $readini(botsettings.ini,staff,$address($nick,2))) { 
    msg $chan One 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,staff,$address($nick,2))) && ($2) { 
    msg $2-  
  } 
  else { 
    notice $nick You do not have the authority to use this command please contact bubblez6000 in #chatters for more info. 
  } 
}
AND IN A SECOND REMOTE SECTION
on *:JOIN:#: { 
  if ($address($nick,2) == $readini(botsettings.ini,Admin,$address($nick,2))) { 
    msg $chan One of my Admins has joined $chan Please have the utmost respect for $nick 
  } 
}