Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ON *:TEXT:*:#: {
- tokenize 32 $strip($1-)
- if (!$istok($1-,or,32)) || ($wildtok($1-,* or *,0,32) > 1) { return }
- var %p = $findtok($1-,or,1,32)
- var %1 = $remove($gettok($1-,1- $+ $calc(%p -1),32),$chr(63))
- var %2 = $remove($gettok($1-,$calc(%p +1) $+ -,32),$chr(63))
- if (%p == $null) && (%1 == $null) && (%2 == $null) { return }
- .ignore -cu6 $nick
- var %r = $rand(1,2)
- if (%r == 1) { msg $chan ( $+ $nick $+ ): %1 }
- if (%r == 2) { msg $chan ( $+ $nick $+ ): %2 }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement