on *:TEXT:!addadmin *:*:{ if ($address($nick,2) == $address($me,2)) {
if ($readini(staff.ini,staff,$address($2,2))) {
notice $nick $+(",$2,") is already on the staff list!
halt
}
else {
writeini staff.ini staff $address($2,2) $2
/notice $nick $+ $2 has been added to the staff list! | /notice $2 You've been added to $me $+ 's staff list.
}
}
}
on *:TEXT:!deladmin *:*:{ if ($address($nick,2) == $address($me,2)) {
if (!$readini(staff.ini,staff,$address($2,2))) {
notice $nick $+(",$2,") was never on the Staff List to begin with!
halt
}
else {
remini staff.ini staff $address($2,2)
/notice $nick $2 has been deleted from the staff list.
/notice $2 You've been deleted from Probots staff list.
}
}
}
on *:TEXT:!override *:*:{ if ($readini(staff.ini,staff,$address($nick,2))) { $2- }