Advertisement
Guest User

The script

a guest
Feb 6th, 2013
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. on *:TEXT:!tell*:#test: {
  2. inc -u4 %tellspam. [ $+ [ $nick ] ]
  3. if (%tellspam. [ $+ [ $nick ] ] == 2) msg $chan Stop.
  4. if (%tellspam. [ $+ [ $nick ] ] == 4) inc %spammer $nick
  5. if (%tellspam. [ $+ [ $nick ] ] == 4) msg $chan Too late.
  6. if (%tellspam. [ $+ [ $nick ] ] == 4) unset %tellspam. [ $+ [ $nick ] ]
  7. }
  8.  
  9. on *:TEXT:!delete*:#test: { if ($nick == soap) dec %spammer $2
  10. if ($nick == soap) msg $chan done }
  11.  
  12.  
  13. ------------------------------------------------
  14.  
  15.  
  16. on *:TEXT:!tell*:#test: {
  17. if ($nick isin %spammer) msg $chan You are not permitted to do that.
  18. if ($2 == person) msg $chan troll
  19. if (!$2) msg $chan !tell PERSON MESSAGE
  20. if (!$3) msg $chan !tell PERSON MESSAGE
  21. if (%allowed. [ $+ [ $nick ] ] == 1) if (%allowed2. [ $+ [ $nick ] ] >= 3) inc %tell. [ $+ [ $2 ] ] 1
  22. if (%allowed. [ $+ [ $nick ] ] == 1) if (%allowed2. [ $+ [ $nick ] ] >= 3) inc %messageto. [ $+ [ $2 ] ] 1
  23. if (%allowed. [ $+ [ $nick ] ] == 1) if (%allowed2. [ $+ [ $nick ] ] >= 3) if (%messageto. [ $+ [ $2 ] ] == 1) inc %message. [ $+ [ $2 ] ] Message by $nick to $2 on $date $+ : " $+ $3- $+ "
  24. if (%allowed. [ $+ [ $nick ] ] == 1) if (%allowed2. [ $+ [ $nick ] ] >= 3) if (%messageto. [ $+ [ $2 ] ] >= 2) inc %message. [ $+ [ $2 ] ] 4NEXT: Message by $nick to $2 on $date $+ : " $+ $3- $+ "
  25. if (%allowed. [ $+ [ $nick ] ] == 1) if (%allowed2. [ $+ [ $nick ] ] >= 3) inc % $+ $2 $nick
  26. if (%allowed. [ $+ [ $nick ] ] == 1) if (%allowed2. [ $+ [ $nick ] ] >= 3) msg $chan ok, stored
  27. else { inc %allowed. [ $+ [ $nick ] ] 1
  28. else { if (%allowed. [ $+ [ $nick ] ] == 1) inc %allowed2. [ $+ [ $nick ] ] 1
  29. else { if (%allowed. [ $+ [ $nick ] ] == 1) inc %allowed2. [ $+ [ $nick ] ] 1
  30. else { if (%allowed. [ $+ [ $nick ] ] == 1) inc %allowed2. [ $+ [ $nick ] ] 1
  31. }
  32. }
  33. }
  34. }
  35. }
  36.  
  37. --------------------------------------------
  38.  
  39.  
  40. on *:TEXT:*:#test: { if (%tell. [ $+ [ $nick ] ] >= 1) msg $chan %message. [ $+ [ $nick ] ]
  41. if (%tell. [ $+ [ $nick ] ] >= 1) unset %allowed. [ $+ [ $read($nick $+ .txt ] ]
  42. if (%tell. [ $+ [ $nick ] ] >= 1) unset %allowed2. [ $+ [ $read($nick $+ .txt ] ]
  43. if (%tell. [ $+ [ $nick ] ] >= 1) unset %messageto. [ $+ [ $nick ] ]
  44. if (%tell. [ $+ [ $nick ] ] >= 1) unset %message. [ $+ [ % $+ $nick ] ]
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement