CallMeCupcake

Untitled

May 24th, 2018
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. Errors:
  2.  
  3. [16:08:21 ERROR]: #!#! Current node: if {%player%.toxicity} is set: (Chat Filter.sk, line 2)
  4. [16:08:21 ERROR]: #!#! Current item: null
  5.  
  6. [16:08:21 ERROR]: #!#! Current node: if {%player%.toxicity} is true: (Community Watch.sk, line 4)
  7. [16:08:21 ERROR]: #!#! Current item: null
  8. [16:08:21 ERROR]: #!#!
  9.  
  10.  
  11. File One:
  12. on join:
  13. if {%player%.toxicity} is set:
  14. stop
  15. else:
  16. set {%player%.toxicity} to false
  17.  
  18.  
  19.  
  20. on chat:
  21. if message contains "cunt", "fuck", "nigga", "nigger", "bitch", "dick" or "shithead":
  22. if {%player%.toxicity} is true:
  23. cancel event
  24. message "&6-----------------------------------------"
  25. message "&c&lSwearing and attempting to circumvent the filter"
  26. message "&c&lare against the rules."
  27. message "&6-----------------------------------------"
  28. else:
  29. set {%player%.toxicity} to true
  30. cancel event
  31. message "&6-----------------------------------------"
  32. message "&c&lSwearing and attempting to circumvent the filter"
  33. message "&c&lare against the rules."
  34. message "&6-----------------------------------------"
  35. wait 24 hours
  36. set {%player%.toxicity} to false
  37.  
  38. File two:
  39.  
  40.  
  41.  
  42. on chat:
  43. if {%player%.toxicity} is true:
  44. add message to {%player%.toxic.messages}
  45. else:
  46. stop
  47.  
  48. command /cw [<offline-player>]:
  49. permission: "Community.Watch"
  50. trigger:
  51. send "Wait"
Advertisement
Add Comment
Please, Sign In to add comment