rendered paste bodyon *:text:!vload:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
load -rs jyangvoicer.ini | msg $chan Voice Script loaded }
}
on *:text:!vunload:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
unload -rs jyangvoicer.ini | msg $chan Voice Script unloaded }
}
on *:text:!load voice:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
load -rs voicescript.ini | msg $chan Voice Script loaded }
}
on *:text:!unload voice:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
unload -rs voicescript.ini | msg $chan Voice Script unloaded }
}
on *:text:!addexception*:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
if ($read(rsstatsnick.txt,w,$+(*,$2,*))) { msg $chan 7 The Nick/Address4 $2 7already exists on exept list. }
else {
msg $chan 7 The Nick/Address4 $2 7has been added to exeption
write rsstatsnick.txt *!* $+ $2
}
}
}
on *:text:!addaddress*:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
/write rsstatsnick.txt *!* $+ $2
}
}
on *:text:!restart bigandshiny:#: {
if ($nick isop $chan) || ($nick ishop $chan) {
disconnect | server irc.swiftirc.net
}
}
on *:text:!leave bigandshiny:#: {
if ($nick isop $chan) || ($nick ishop $chan) {
leave $chan
}
}
on *:text:!removeexception*:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
if ($read(rsstatsnick.txt,w,$+(*,$2,*))) {
write $+(-dw*,$replace($2-,$chr(32),*),*) rsstatsnick.txt
msg $chan 7 The Nick/Address4 $2 7removed from exeptions
}
else { msg $chan 7 The Nick/Address4 $2 7isnt on exeptions }
}
}