Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Ghost Strike
- command /ghoststrike [<text>] [<text>]:
- aliases: gs, ghost
- trigger:
- if arg 1 is "create":
- if player has permission "gs.create" or "gs.*":
- if arg 2 is set:
- if {gs::idMap::%arg 2%} is not set:
- add 1 to {gs::idMapLast}
- set {gs::name::%arg 2%} to arg 2
- set {gs::idMap::%arg 2%} to {gs::idMapLast}
- send "&2Utworzyles mape o numerze ID:&6{gs::idMap::%arg 2%}&2 i nazwie &6%arg 2%"
- else:
- send "&4Istnieje juz mapa o podanej nazwie!"
- else:
- send "&4Podaj nazwe mapy!"
- else:
- send "&4Nie masz uprawnien!"
- if arg 1 is "info":
- if player has permission "gs.info" or "gs.*":
- open chest with 6 rows named " &2Ghost&7-&2Strike" to player
- wait 2 tick
- loop 2*9+2 times:
- format slot loop-number of player with 1 of glass panel named "----------------" to be unstealable
- format slot 21 of player with 1 of gold ingot named "&2Zwyciฤstwa" with lore "&aTwoje wygrane: &2%{gs::winGame::%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement