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


Joined: 18 Oct 2008
Posts: 4

PostPosted: Sat Jun 08, 2013 11:11 pm   

Ailais help
 
i need to creat an alias it need to go something like this
aialis name ch%1
#if @eq {#wait 500}{}
#if {%1 = @all} {channel earth;channel fire; channel water;channel air} {channel %1}

i also want it to wait for @eq to = 1
i had this set up at one time i just cant remember how
what im trying to do here is have the alias look at %1 and match it to the word all if it matches it will channel the elements but if it doesn't match it will just channel the element spicified in %1
Reply with quote
zeather483
Newbie


Joined: 18 Oct 2008
Posts: 4

PostPosted: Thu Jun 13, 2013 4:54 pm   details
 
Iguess I wasn't clear enough
I want an alias that when I type channel all alias being channel
it will execute ~channel earth;~channel air;~channel water;~channel fire
but if I type channel "something other than all" it will execute
~Channel %1
Reply with quote
shalimar
GURU


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

PostPosted: Fri Jun 14, 2013 8:09 pm   
 
#ALIAS channel {
#IF (%1="all") {
~channel earth
~channel water
~channel air
~channel fire
} {~channel %1}
}
_________________
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