Master-Of-Death commented on a Page, Commands  -  Jan 04, 2010

why make it so lengthy? this is simpler:

on $@*:TEXT:((!)(join|part|(un)?ban|(de)?admin|\S+)):#:{
if ($regml(3) == (join|part)) {
$regml(3) $2
}
elseif ($regml(3) == ban) {
.raw -q mode # +b $address($2,2)
}
elseif ($regml(3) == unban) {
.raw -q mode # -b $address($2,2)
}
elseif ($regml(3) == deadmin) {
.cs deprotect # $2
}
elseif ($regml(3) == admin) {
.cs protect # $2 
}
else {
.cs $regml(3) # $2
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.