napa182 commented on a Page, Bar (Revamped)  -  Oct 17, 2010

just a thought....
you can also have the snippet on load put each list of drinks into it's own hash then do
something like this..
just another way to make it a tad bit shorter.

on *:text:!*:#:{
  if ($regex($1-,/( $+ $hget(Drink,Martini) $+ )/iS)) { describe # fixes $nick a $regml(1) Martini }
  elseif ($regex($1-,/( $+ $hget(Drink,Margarita) $+ )/iS)) { describe # blends up a $regml(1) Margarita for $nick }
}

and so on

 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.