rendered paste bodyon *:TEXT:!addstaff *:#:{
if ($nick == Jimal || $nick == ipk_well) {
cs access #Runezone add $2 5
cs access #RuneZoneStaff add $2 5
write stafflist.txt $2 staff
}
}
on *:TEXT:!delstaff *:#:{
if ($nick == Jimal || $nick == IPk_Well) {
cs access #RuneZone del $2
cs access #RuneZoneStaff del $2
write -ds $+ $2 Stafflist.txt
msg $chan $2 has been removed from RuneZone staff!
}
}
on *:TEXT:!staff *:#:{
play $chan stafflist.txt
}
on *:TEXT:!checkstaff*:#:{
if ($read(Stafflist.txt,s,$2) == staff) {
msg $chan $2 is botstaff for RuneZone.
}
else {
msg $chan $2 is not botstaff for RuneZone.
}
}