Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:*:#thebrett:{
- if ($nick == brettbot) || ($nick == nightbot) || ($left($1,1) == !) || ($deurl($1-)) || ($speak(0) > 5) {
- ;/msg $chan $nick-> skipping
- }
- else if ($numtok($1-,32) > 17) {
- /msg $chan $nick -> Too many words. The word limit is 17 for Brettyomichan.
- }
- else {
- /speak -lu $1-
- ;/msg $chan $nick-> speaking
- }
- }
- alias deurl {
- return $null($regex($1-,/(((http(s)?\72(\57{2}))|(www\56{1}))+(\w*)+(\56{1})+(\w{2,3})\S*)/Sig)) $regml(1)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement