Jethro commented on a Page, gift command  -  Dec 02, 2010

Guitar, I think you should concentrate on your schoolwork...:P You were being absentminded. You have two regexes, in case you didn't notice. This is my take on your example:

on $*:text:/^[!.]gift$/Si:#:{
  if !%f {
    inc -u5 %f
    .describe # Gives $nick a $replace($r(1,4),1,Tree,2,$nick(#,$r(1,$nick(#,0))),3,Cookie!,4,coal)
  }
}
 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.