Ticket #120: action-complex-smacks.diff
| File action-complex-smacks.diff, 0.7 KB (added by bmotion, 20 months ago) |
|---|
-
action_complex_smacks.tcl
16 16 17 17 proc bMotion_plugin_complex_action_smacks { nick host handle channel text } { 18 18 global botnicks 19 if [regexp -nocase "(kicks|smacks|twats|injures|beats up|punches|hits|thwaps|slaps|pokes|kills|destroys) ${botnicks} " $text] {19 if [regexp -nocase "(kicks|smacks|twats|injures|beats up|punches|hits|thwaps|slaps|pokes|kills|destroys) ${botnicks}\\M" $text] { 20 20 if [regexp -nocase "slaps $botnicks around( a bit)? with a( large)? trout" $text] { 21 21 bMotionDoAction $channel $nick "%VAR{trouts}" 22 22 return 1
