napa182 commented on a Page, Simple Inputs  -  May 30, 2008

on ur ban\'s you are just banning the nick so all the person has to do is change nicks and come back maybe do

if ($1 == .ban) { mode $chan +b $address($2,2) }

same thing for unban

if ($1 == .unban) { mode $chan -b $address($2,2) }

and on ur kickban

if ($1 == .kb) { ban -k $chan $2 2 }

you can also shorten some of the code by useing regex ex:

on *:input:*: {
  if ($regex($1,/^[+-][qaovh]$/)) { mode $chan $1 $iif(!$2,$nick,$2) }
  if ($regex($1,/^[+-][impRslk]$/)) { mode $chan $1- }
}
 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.