Trev commented on a Page, puppet bot  -  Jul 07, 2009

You could use regex in the trigger to make it shorter:

On $*:TEXT:/^[~]*/Si:*: { 
  if ($mid($1,1) == ~do) {
    $antiflood($1) 
    $iif($query($nick),describe $2 $3-,describe # $2-)
  }
  Elseif ($mid($1,1) == ~say) {
    $antiflood($1)
    $iif($query($nick),msg $2 $+(% ,$3-),msg # $+(''',$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.