|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: 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* |
|
|
|
Pseudo Wanderer
Joined: 25 Oct 2005 Posts: 99
|
Posted: Wed Nov 09, 2005 3:35 pm |
#IF ((%1)="flist") {#VARIABLE RankingClan {friend}} {#VARIABLE RankingClan {%1}}
|
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Wed Nov 09, 2005 4:22 pm |
Dear lord...
Of course "%1" works just as well.
I'm just burned out this week. |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: 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.
|
|
|
|
|
|