knugi

Untitled

Mar 9th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 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. loop {_itemy::*}:
  12. set {_i} to singe value "przedmioty.%loop-index%" get of "{@gildie}" parsed as item
  13. remove {_i} from player
  14. #set {_g::*} ...
Advertisement
Add Comment
Please, Sign In to add comment