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
blkno1
Novice


Joined: 26 May 2002
Posts: 30
Location: USA

PostPosted: Wed Mar 02, 2005 10:32 am   

parsing a double var?
 
I have have a bunch of vars coded like this

#VAR 2 {Hogsden Clan Town}
#VAR 4 {Stealthy Assassins Clan Town}
#VAR 7 {The Biguns Clan Town}
etc

I have a portal report that communicates to my clan what portal I entered.

Example
enter 2 makes a var with
#var PortalDestination {%1}

chat Portal Entered: @PortalDestination
will chat Portal Entered:2

I want it to say Portal Entered: Hogsden Clan Town

I thought something like chat Portal Entered: @@PortalDestination might work but no luck.

Any Ideas?
-bk
Reply with quote
Kiasyn
Apprentice


Joined: 05 Dec 2004
Posts: 196
Location: New Zealand

PostPosted: Wed Mar 02, 2005 11:24 am   
 
#va PortalDestination @%1

or something... heh
_________________
Kiasyn
Owner of Legends of Drazon
Coder on Dark Legacy
Check out Talon, an easy IMC connection.
Reply with quote
blkno1
Novice


Joined: 26 May 2002
Posts: 30
Location: USA

PostPosted: Wed Mar 02, 2005 11:58 pm   thanks
 
Worked, I knew it would be something pretty easy.

Thanks alot!

-bk
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