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
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Wed Nov 09, 2005 3:26 pm   

Simple #if %1 question *solved*
 
Alias: rollcall
#IF (%1="flist") {#VARIABLE RankingClan {friend}} {#VARIABLE RankingClan {%1}}

if i just type rollcall for some silly reason it's defaulting to thinking i typed
rollcall flist

(tried with %-1 as well. same result)
I feel so stupid for posting this question *mutter*
_________________
http://www.Aardwolf.com

Last edited by Vitae on Wed Nov 09, 2005 4:25 pm; edited 1 time in total
Reply with quote
Pseudo
Wanderer


Joined: 25 Oct 2005
Posts: 99

PostPosted: Wed Nov 09, 2005 3:35 pm   
 
#IF ((%1)="flist") {#VARIABLE RankingClan {friend}} {#VARIABLE RankingClan {%1}}
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Wed Nov 09, 2005 4:22 pm   
 
Dear lord...Embarassed
Of course "%1" works just as well.
I'm just burned out this week.
_________________
http://www.Aardwolf.com
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Thu Nov 10, 2005 12:29 am   
 
Quote quote quote you can never have too many quotes "" and {} are your friends. I have a topic on this somewhere I will have to dig it up and submit it to the KB. Zscript is a VERY loose but easy to use and powerfull language. Take look at the number of string manipulating functions in Zscript and the number of string functions in just about any other commercial language (at least the ones I Use) and you will see that zscript has alot more.
_________________
Zmud Support Library
Zmud Knowledge Base
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