Guest User

Untitled

a guest
Feb 25th, 2014
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. command /admini [<text>] [<text>]:
  2. if arg 1 is "dodaj":
  3. if player is op:
  4. add arg 2 to {lista.adminow::*}
  5. if arg 1 is "lista" or "wszyscy":
  6. if size of {lista.adminow::*} is equal to 0:
  7. send "&4Na tym serwerze nie ma adminow :("
  8. stop trigger
  9. loop {lista.adminow::*}:
  10. send "Lista wszystkich adminow:"
  11. send "%loop-index%"
  12. if loop-value parsed as player is online:
  13. send "&2Lista adminow online:"
  14. send "&2%loop-value%"
  15. if arg 1 is "online":
  16. if size of {lista.adminow::*} is equal to 0:
  17. send "&4Na tym serwerze nie ma adminow :("
  18. stop trigger
  19. loop {lista.adminow::*}:
  20. if loop-value parsed as player is online:
  21. send "&2Lista adminow online:"
  22. send "&2%loop-value%"
  23. if arg 1 is not set:
  24. if size of {lista.adminow::*} is equal to 0:
  25. send "&4Na tym serwerze nie ma adminow :("
  26. stop trigger
  27. loop {lista.adminow::*}:
  28. if loop-value parsed as player is online:
  29. send "&2Lista adminow online:"
  30. send "&2%loop-value%"
Advertisement
Add Comment
Please, Sign In to add comment