i want when a player has joined a faction it detect in wich faction they are and if there in a specific faction they get an commnd executed every time they join
onjoin:
if player's faction is named "estland"
execute console command "/pex user %player% prefix %{''}%&2&lPor&e<&c&lugal &7%{''}% ul_smpsurvival"
execute console command "/pex user %player% prefix %{''}%&2&lPor&e<&c&lugal &7%{''}% ul_smpsurvival_nether"
cancel event
does anyone no a solution
onjoin:
if player's faction is named "estland"
execute console command "/pex user %player% prefix %{''}%&2&lPor&e<&c&lugal &7%{''}% ul_smpsurvival"
execute console command "/pex user %player% prefix %{''}%&2&lPor&e<&c&lugal &7%{''}% ul_smpsurvival_nether"
cancel event
does anyone no a solution