Quote:
Originally posted by Googi
Is there a way to use the #g string (or any other script), to make an NPC do something only if the person is NOT in a specific guild.
(For example, everyone in a room without a specific guild tag has 5 halfhearts of damage done to them)
|
There is a special operator specifically for things like that, it is the !, or the "Not operator"..It will reverse the true/false value of whatever it is assigned to. so if (
!strequals(#g,guildname)) { stuff; }