View Single Post
  #4  
Old 08-16-2005, 07:09 AM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quotes

Try using quotes around the variable like this

Code:
sub EVENT_SPAWN
{
  quest::SetNextHPEvent("50");
}

sub EVENT_HP
{
  if ($eventhp<=50)
  {
    quest::say("EVENT_HP fired");
  }
}
I found that most commands worked if you encapsulated teh variables in quotations. Hope it works for ya.
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
Reply With Quote