Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /event [<text>]:
- aliases: /ee, /e
- permission: admin.event
- trigger:
- if arg 1 is "daj":
- loop all players:
- broadcast "&8[&ceEvent&8]&7Za 3 sekundy rozpocznie sie &6&olosowanie &7o itemy!"
- execute console command "/playsound random.orb %loop-player%"
- wait 1 second
- broadcast "&8[&ceEvent&8]&72!"
- execute console command "/playsound random.orb %loop-player%"
- wait 1 second
- broadcast "&8[&ceEvent&8]&71!"
- execute console command "/playsound random.orb %loop-player%"
- wait 1 second
- execute console command "/playsound random.levelup %loop-player%"
- loop 3 times:
- give a random item out of {eItemy::*} to the player
- if arg 1 is "dodaj":
- player's tool is {eItemy::*}:
- add player's tool to {eItemy::*}
- send "&8[&ceEvent&8]&7Dodales &6&o%player's tool% &7do event'u!" to player
- stop
- send "&8[&ceEvent&8]&7 Ten item jest juz na liscie"
- stop
- if arg 1 is "usun":
- player's tool is {eItemy::*}:
- remove player's tool from {eItemy::*}
- send "&8[&ceEvent&8]&7Usunoles poprawnie &6&o%player's tool% &7z event'u!" to player
- stop
- send "&8[&ceEvent&8]&7 Tego itemu nie ma na liscie"
- stop
- if arg 1 is "itemy":
- {eItemy::*} is not set:
- send "&8[&ceEvent&8]&7 Lista jest pusta :("
- stop
- loop {eItemy::*}:
- send "&8[&ceEvent&8]&7Lista &6&oitemow&7:" to player
- send "&8[&ceEvent&8] &c&o%loop-value%" to the player
Advertisement
Add Comment
Please, Sign In to add comment