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


Joined: 24 Mar 2007
Posts: 4

PostPosted: Sat Mar 31, 2007 12:18 am   

Alias problems
 
Code:

#if @dmsl>1 {
  flay @t aura
  dstab @t aura
  }
#if dmsl=0 {#loop 15 {#say ENVENOM!}}


dmsl currently equals 0 (for testing purposes)

It does not do #say, why?
Reply with quote
vey2000
Novice


Joined: 21 May 2004
Posts: 32

PostPosted: Sat Mar 31, 2007 12:58 am   
 
You left out the @ before dmsl.
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Sat Mar 31, 2007 12:34 pm   
 
You also left out () and even though Zmud allows this it is bad practice.

#if (@dmsl=0) {#loop 15 {#say ENVENOM!}}
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
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