Guest User

Untitled

a guest
Mar 15th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. command /generuj:
  2. permission: kod.kod
  3. trigger:
  4. set {1} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9
  5. set {2} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9
  6. set {3} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9
  7. set {4} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9
  8. set {5} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9
  9. set {6} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9
  10. set {7} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9
  11. set {8} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9
  12. set {9} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9
  13. set {kod} to "%{1}%%{2}%%{3}%%{4}%%{5}%%{6}%%{7}%%{8}%"
  14. send "&eKto pierwszy wpisze kod wygrywa Koxy! &6&l/kod <kod>&5&l: &a&l %{kod}%" to all players
  15.  
  16. command /kod [<text>]:
  17. trigger:
  18. if arg contain "%{kod}%":
  19. delete {kod}
  20. execute console command "give %player% 322:1 2 "
  21. execute console command "bc &6Gracz &a%player% &6wykozystal kod na Koxy"
  22. #broadcast "&e&l%player% uzyl kodu!"
  23. send "&7&lOtrzymales &e&lKoxy!"
  24. else:
  25. send "&eZle wpisales kod lub jest on juz wykorzystany"
Advertisement
Add Comment
Please, Sign In to add comment