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
Nyojin
Beginner


Joined: 05 Nov 2005
Posts: 18

PostPosted: Sun Jan 14, 2007 9:16 pm   

Alias problem
 
I am trying to get a simple script to work but have no luck. Any tips?

Code:

#CLASS {Runes}
#ALIAS algiz {
  outr greenink
  sketch algiz on @rune
  inr all ink
  }
#ALIAS berk {
  outr 3 yellowink
  sketch berkana on @rune
  inr all ink
  }
#ALIAS jera {
  outr purpleink
  sketch jera on me
  inr all ink
  }
#ALIAS gum {
  outr goldink
  sketch gebu on fieldplate85899
  inr all ink
  }
#ALIAS gom {
  outr goldink
  sketch gebo on fieldplate85899
  inr all ink
  }
#ALIAS rme {
  r me
  algiz
  #cond {You have recovered balance on all limbs.} {berk}
  #cond {You have recovered balance on all limbs.} {jera}
  #cond {You have recovered balance on all limbs.} {gum}
  #cond {You have recovered balance on all limbs.} {gom}
  }
#ALIAS r {rune=%1}
#CLASS 0
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4772
Location: Pensacola, FL, USA

PostPosted: Sun Jan 14, 2007 9:42 pm   
 
#COND is used to add another state to the last trigger defined, your use of it in an alias confuses me.

What i would do, is in each of you #ALIASes that you need to wait for balance, add:

#TEMP {You have recovered balance on all limbs.} {nextstep}

Then each step prepares for the next step by itself.
_________________
Discord: Shalimarwildcat
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