on *:text:!wl*:#: {
if ($2 == null) notice $nick Please specify a user to add to the exeption list
elseif ($nick isop $chan || $nick ishop $chan) {
/writeini -n test.ini Except $chan $2
msg $chan $2 has been added to the exeption list
}
else {
notice $nick $nick You do not have the right access to do this.
}
}
on *:text:!dwl*:#: {
if ($2 == null) notice $nick Please specify a user to remove from exeption list
elseif ($nick isop $chan || $nick ishop $chan) {
/remini test.ini Except $chan $2
msg $chan $2 Has been removed from the exeption list
}
else {
notice $nick $nick You do not have the right access to do this.
}
}