Hi, Im trying to create a system that shares exp between party members. Here is the code below:
on death:
loop all players in radius 30 around the attacker:
if loop-player is not attacker:
if {%attacker%.party} is the same as {%loop-player%.party}:
send "shared" to loop-player
I am sure that both the variables used in the code above returns the same value. But the IF condition doesnt work for some reason.. Can anyone help?
on death:
loop all players in radius 30 around the attacker:
if loop-player is not attacker:
if {%attacker%.party} is the same as {%loop-player%.party}:
send "shared" to loop-player
I am sure that both the variables used in the code above returns the same value. But the IF condition doesnt work for some reason.. Can anyone help?