Advertisement
buss2

GS

Dec 25th, 2014
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. #Ghost Strike
  2.  
  3. command /ghoststrike [<text>] [<text>]:
  4. aliases: gs, ghost
  5. trigger:
  6. if arg 1 is "create":
  7. if player has permission "gs.create" or "gs.*":
  8. if arg 2 is set:
  9. if {gs::idMap::%arg 2%} is not set:
  10. add 1 to {gs::idMapLast}
  11. set {gs::name::%arg 2%} to arg 2
  12. set {gs::idMap::%arg 2%} to {gs::idMapLast}
  13. send "&2Utworzyles mape o numerze ID:&6{gs::idMap::%arg 2%}&2 i nazwie &6%arg 2%"
  14. else:
  15. send "&4Istnieje juz mapa o podanej nazwie!"
  16. else:
  17. send "&4Podaj nazwe mapy!"
  18. else:
  19. send "&4Nie masz uprawnien!"
  20. if arg 1 is "info":
  21. if player has permission "gs.info" or "gs.*":
  22. open chest with 6 rows named " &2Ghost&7-&2Strike" to player
  23. wait 2 tick
  24. loop 2*9+2 times:
  25. format slot loop-number of player with 1 of glass panel named "----------------" to be unstealable
  26. 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