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
Nosleumasnosleumas
Newbie


Joined: 30 Oct 2006
Posts: 2

PostPosted: Mon Oct 30, 2006 5:48 pm   

status window
 
Hi
I need some help with making my status window show what cures I need to use.

I have this in my status window now

%if( @athillias = "1", athillias @athillias)

that shows me in the status window

Athillias 1

but I don't know how to make the %if statement work on any number above 0,

this is for aiding my manual curing, so I can see what I need to cure with and how many times I need to cure with it.

aha, and when the @athillias = 0 it don't show in the status window, so I only see the things I'm afflicted by, or am supposed to.

I appreciate any help I can get
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Mon Oct 30, 2006 5:54 pm   
 
%if(@athillias, athillias @athillias)

since the %if is false if @athillias=0, and true for any higher number
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Nosleumasnosleumas
Newbie


Joined: 30 Oct 2006
Posts: 2

PostPosted: Mon Oct 30, 2006 5:58 pm   
 
thank you so much!!

now I can start finnishing this.

I appreciate this reply alot

Razz
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