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:!vload1:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
load -rs cmbnicks1.ini | msg $chan Voice Script loaded }
}
on *:text:!vunload1:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
unload -rs cmbnicks1.ini | msg $chan Voice Script unloaded }
}
on *:text:!addexeption*:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
if ($read(rsstatsnick.txt,w,$+(*,$2,*))) { 7 $2 already exist }
else msg $chan 7 $2 added to exeption | /write rsstatsnick.txt $2
}
}
on *:text:!addaddress*:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
/write rsstatsnick.txt $2
}
}
on *:text:!restart1:#: {
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:!removeexeption*:#pestcontrol: {
if ($nick isop $chan) || ($nick ishop $chan) {
write $+(-dw*,$replace($2-,$chr(32),*),*) rsstatsnick.txt
if ($read(rsstatsnick.txt,w,$+(*,$2,*))) { 7 $2 removed from exeptions }
if (!$read(rsstatsnick.txt,w,$+(*,$2,*))) { 7 $2 isnt on exeptions }
}
}