winag

Untitled

Jul 22nd, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. command /ban [<offlineplayers>] [<text>]:
  2. permission: ban.use
  3. permission message: &cVoce nao tem permissao para este comando!
  4. trigger:
  5. if arg 1 is set:
  6. if arg 2 is set:
  7. ban arg 1
  8. set {Motivo.%arg 1%} to arg 2
  9. kick the arg 1 due to "{@prefix} {@MsgBan00Player}"
  10. broadcast "{@prefix} {@MsgBan}"
  11. else:
  12. send "{@prefix} &eDigite o motivo do banimento!"
  13. else:
  14. send "{@prefix} &eDigite o nome do player que voce deseja banir!"
  15.  
  16. deixar asim mais adicionar os seguintes comandos e mudar o comando para /ban00
  17.  
  18. execute console command "mmoedit %arg 1% all 0"
  19. execute console command "money set %arg 1% 0"
  20. execute console command "resetkdr %arg 1%"
  21. execute console command "clearchest %arg 1%"
  22. execute console command "thor %arg 1%"
  23. execute console command "kill %arg 1%"
  24. make player execute command "ban %arg 1% %arg 2% "
Advertisement
Add Comment
Please, Sign In to add comment