Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
on join:
if {ip.%player%} is not set:
set {ip.%player%} to IP of player
else:
if {ip.%player%} is not IP of player:
loop all players:
if player has permission "permission.cmd":
send "The player %player% has several IP's" to loop-player
why if {ip.%player%} is NOT IP of player?code_language.skript:on join: if {ip.%player%} is not set: set {ip.%player%} to IP of player else: if {ip.%player%} is not IP of player: loop all players: if player has permission "permission.cmd": send "The player %player% has several IP's" to loop-player
why if {ip.%player%} is NOT IP of player?
But i want it to if a player executes a command if he has multiple ips the command will message a staff.As soon as the player changes the IP, the IP can no longer be matched.
If you run a command, but your on a alt it will tell all the "loop-players" that has permission "warn.alt" saying "&c%player% is alting!"If I understand correctly, team members are to be notified when a player performs a command but has changed their IP.
[doublepost=1486811184,1486811122][/doublepost]Or do you mean, if you run a command all the players see the several IP's have?
[doublepost=1486811222][/doublepost](Sorry for my bad English )
on join:
if {ip.%player%} is not set:
set {ip.%player%} to IP of player
set {name.%IP of player%} to player
on command:
if {ip.%player%} is not IP of player:
loop all players:
if player has permission "warn.ip":
send "The player %player% has several IP's" to loop-player
on command:
if {name.%IP of player%} is not player:
loop all players:
if player has permission "warn.alt":
send "&c%player% is alting!" to loop-player