napa182 commented on a Page, command for your bot  -  Jun 15, 2009

on this

If ($strip($1) == +e) mode $chan +e $2
  If ($strip($1) == -e) mode $chan -e $2
  If ($strip($1) == +o) mode $chan +o $2
  If ($strip($1) == -o) mode $chan -o $2
  If ($strip($1) == +h) mode $chan +h $2
  If ($strip($1) == -h) mode $chan -h $2
  If ($strip($1) == +v) mode $chan +v $2
  If ($strip($1) == -v) mode $chan -v $2

you can do

if ($regex($1-,/^([+-][ohve])\s?(\w+)?/iS)) { mode # $regml(1) $iif($regml(2),$regml(2),$nick) }
 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.