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


Joined: 22 Sep 2004
Posts: 8

PostPosted: Fri Apr 08, 2005 2:38 am   

Two simple questions (I think)
 
First how do I use #show or #echo to output something to a specific window?

and Second, How do I look through a stringlist and return 1 if a string is in the list and return 0 if it isn't?

like #if @stringlist "contains" string {look} {}?
Reply with quote
Aarlot
Adept


Joined: 30 Dec 2003
Posts: 226

PostPosted: Fri Apr 08, 2005 4:08 am   
 
First question-

Use ":windowname:#SHOW blah whatever" #ECHO will display in whatever window is the focus at the time.

Second Question:

#IF (%ismember("look", @string)) {Commands if it is in there} {Commands if it is not in there}
_________________
Everyone is entitled to their beliefs - until they die. Then only the truth matters.
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