knugi

Untitled

Mar 9th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. command /zaloz:
  2. trigger:
  3. #dajesz to przed set {_g::*} ... (linijka 43)
  4. set {_itemy::*} to configuration section "przedmioty" get of "{@gildie}"
  5. loop {_itemy::*}:
  6. set {_i} to singe value "przedmioty.%loop-index%" get of "{@gildie}" parsed as item
  7. if {_i} is item:
  8. if player doesn't have {_i}:
  9. send "&cNie posiadasz: %{_i}%"
  10. stop
  11. else:
  12. loop all players:
  13. if loop-player has permission "helper":
  14. send "&cZly konfig przedmiotow w gildiach. Popraw TO!!!" to loop-player
  15. stop
  16. loop {_itemy::*}:
  17. set {_i} to singe value "przedmioty.%loop-index%" get of "{@gildie}" parsed as item
  18. remove {_i} from player
  19. #set {_g::*} ...
Advertisement
Add Comment
Please, Sign In to add comment