knugi

Untitled

May 27th, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. command /event [<text>]:
  2. aliases: /ee, /e
  3. permission: admin.event
  4. trigger:
  5. if arg 1 is "daj":
  6. loop all players:
  7. broadcast "&8[&ceEvent&8]&7Za 3 sekundy rozpocznie sie &6&olosowanie &7o itemy!"
  8. execute console command "/playsound random.orb %loop-player%"
  9. wait 1 second
  10. broadcast "&8[&ceEvent&8]&72!"
  11. execute console command "/playsound random.orb %loop-player%"
  12. wait 1 second
  13. broadcast "&8[&ceEvent&8]&71!"
  14. execute console command "/playsound random.orb %loop-player%"
  15. wait 1 second
  16. execute console command "/playsound random.levelup %loop-player%"
  17. loop 3 times:
  18. give a random item out of {eItemy::*} to the player
  19. if arg 1 is "dodaj":
  20. player's tool is {eItemy::*}:
  21. add player's tool to {eItemy::*}
  22. send "&8[&ceEvent&8]&7Dodales &6&o%player's tool% &7do event'u!" to player
  23. stop
  24. send "&8[&ceEvent&8]&7 Ten item jest juz na liscie"
  25. stop
  26. if arg 1 is "usun":
  27. player's tool is {eItemy::*}:
  28. remove player's tool from {eItemy::*}
  29. send "&8[&ceEvent&8]&7Usunoles poprawnie &6&o%player's tool% &7z event'u!" to player
  30. stop
  31. send "&8[&ceEvent&8]&7 Tego itemu nie ma na liscie"
  32. stop
  33. if arg 1 is "itemy":
  34. {eItemy::*} is not set:
  35. send "&8[&ceEvent&8]&7 Lista jest pusta :("
  36. stop
  37. loop {eItemy::*}:
  38. send "&8[&ceEvent&8]&7Lista &6&oitemow&7:" to player
  39. send "&8[&ceEvent&8] &c&o%loop-value%" to the player
Advertisement
Add Comment
Please, Sign In to add comment