I would like to make sure that if a person is in a group he changes the chat in one way, otherwise if the person is in 2 groups he changes it in another.
Code:
if groups of player contains "VIP-Cadetto":
if groups of player contains "USA-Medico":
loop all players:
cancel event
send "&9&lU&f&lS&c&lA&8. &4Medico &8• &f%{nome.%player%}% &8[&e&lVIP &7&l- &3Cadetto&8] &2▻ &f%message%" to loop-player
Code:
if groups of player contains "USA-Medico":
if groups of player don't contain "VIP-Cadetto":
loop all players:
cancel event
send "&9&lU&f&lS&c&lA&8. &4Medico &8• &f%{nome.%player%}% &2▻ &f%message%" to loop-player