Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /mklist:
- permission: mklist
- trigger:
- send "&eSkanuje graczy..."
- delete {mklist.%player%::*}
- loop all players:
- set {_p} to loop-player
- set {_ip} to {_p}'s ip address
- replace all "." with "-" in {_ip}
- set {mklist.%player%::ip::%{_ip}%} to "%{_ip}%"
- add "%{_p}%" to {mklist.%player%::players.%{_ip}%::*}
- send "&ePorownuje ip..."
- wait 1 second
- loop {mklist.%player%::ip::*}:
- if size of {mklist.%player%::players.%loop-value%::*} is bigger than 1:
- set {_ip} to "%loop-value%"
- replace all "-" with "." in {_ip}
- send "&2%{_ip}%&4&l(&c&l%size of {mklist.%player%::players.%loop-value%::*}%&4&l):"
- loop {mklist.%player%::players.%loop-value%::*}:
- send " &a%loop-value-2%"
- send " "
- wait 5 ticks
- delete {mklist.%player%::*}
Advertisement
Add Comment
Please, Sign In to add comment