Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
quigbrew
Novice


Joined: 04 Jun 2002
Posts: 31

PostPosted: Thu Oct 24, 2002 9:39 am   

states
 
I'm trying to take advantage of the new states option in the beta version of zmud.

What I'm attempting to do is set a variable to true even if that variable is on the next line. The problem with the trigger is that occasionally if the character's name is long enough, it's wrapped to the next line.
Here's what I have...

You suddenly perceive the vague outline of an aura of rebounding around
I have this pattern in state 0
In state 1 I have.....
the pattern as (%w)
the value is:
temptarg = %w
#if (%lower( @temptar) = %lower( @1)) {@aura = 1}
As far as I can tell the syntax is correct, anyone out there have any suggestions?
Thanks,
Quigbrew
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Oct 24, 2002 11:04 am   
 
The line temptarg=%w should be temptarg=%1
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Oct 24, 2002 12:41 pm   
 
Also, perhaps this:
%lower( @temptar) = %lower( @1)

should be:
%lower( @temptarg) = %lower( %1)

Kjata
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net