Thread: #g problem
View Single Post
  #2  
Old 11-03-2001, 03:54 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Re: #g problem

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; }
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote