kryxkan

report

Feb 18th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. command /report [<player>]
  2. [<text>]:
  3. permission: report.player
  4. description: Report a
  5. player
  6. aliases: rep
  7. trigger:
  8. if argument 1 is not empty:
  9. if argument 2
  10. is not empty:
  11. set %arg 1% to {nick}
  12. set %arg 2% to
  13. {powod}
  14. log "%
  15. player% zglosil skarge na gracza %{nick}% |Powod: %{powod}%" to "report_player"
  16. send "<green>Dziekujemy za
  17. zgloszenie <yellow>%argument
  18. 1%" to player
  19. send "[Report]zreportowano gracza %{nick}% za: %{powod}%" to all ops
  20. stop
  21. else:
  22. send
  23. "<red>Podaj powod! Uzycie: /
  24. report nick powód" to player
  25. stop
  26. else:
  27. send
  28. "<red>Podaj nick gracza!
  29. Uzycie: /report nick powód" to
  30. player
  31. stop
Advertisement
Add Comment
Please, Sign In to add comment