Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /admini [<text>] [<text>]:
- if arg 1 is "dodaj":
- if player is op:
- add arg 2 to {lista.adminow::*}
- if arg 1 is "lista" or "wszyscy":
- if size of {lista.adminow::*} is equal to 0:
- send "&4Na tym serwerze nie ma adminow :("
- stop trigger
- loop {lista.adminow::*}:
- send "Lista wszystkich adminow:"
- send "%loop-index%"
- if loop-value parsed as player is online:
- send "&2Lista adminow online:"
- send "&2%loop-value%"
- if arg 1 is "online":
- if size of {lista.adminow::*} is equal to 0:
- send "&4Na tym serwerze nie ma adminow :("
- stop trigger
- loop {lista.adminow::*}:
- if loop-value parsed as player is online:
- send "&2Lista adminow online:"
- send "&2%loop-value%"
- if arg 1 is not set:
- if size of {lista.adminow::*} is equal to 0:
- send "&4Na tym serwerze nie ma adminow :("
- stop trigger
- loop {lista.adminow::*}:
- if loop-value parsed as player is online:
- send "&2Lista adminow online:"
- send "&2%loop-value%"
Advertisement
Add Comment
Please, Sign In to add comment