FlyChestPL

Anty-reklama 1.0

May 26th, 2015
761
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. Variables:
  2. {chat.reklama} = true
  3. Options:
  4. tag: &8[&aAnti-Reklama&8]
  5. on chat:
  6. if {chat.reklama} is true:
  7. if message contains "fhmc" or "ench" or "www" or "gomc" or "hostmc" or "http" or "csrv" or "srvmc" or "mcvr" or ".pl" or ".net" or ".com" or ".eu" or ".ru":
  8. kick player due to "&4Zostales wyrzucony Powód: reklama"
  9. command /reklama [<text>]:
  10. permission: reklama.*
  11. trigger:
  12. if arg 1 is "on":
  13. set {chat.reklama} to true
  14. send "{@tag} &aAnti-Reklama zostala wlaczona"
  15. if arg 1 is "off":
  16. set {chat.reklama} to false
  17. send "{@tag} &cAnti-Reklama zostala wylaczona"
  18. if arg 1 is not set:
  19. send "&7Poprawne uzycie: /reklama on/off"
Advertisement
Add Comment
Please, Sign In to add comment