Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
asira
Beginner


Joined: 24 Jun 2002
Posts: 24
Location: United Kingdom

PostPosted: Tue Aug 15, 2006 8:21 am   

Character name variable
 
In ZMud, it was possible to use the %char variable to get the name of the current character. I can't get this to work in CMud however. Am I missing something obvious or is the compiler confusing it with the %char() function?

As a work-around I can use %item(%names,1) for the moment, but that won't work with a multiple connection session and may not even be reliable in a single connection session when 1.04 comes out.

Any help would be appreciated.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Aug 15, 2006 4:32 pm   
 
Definitely sounds like a bug. Please use the Send Feedback option in the CMUD Help menu to report this so that it gets into our tracking system. Thanks.
Reply with quote
Namsar
Beginner


Joined: 14 Jun 2006
Posts: 29
Location: Sydney - Australia

PostPosted: Wed Aug 16, 2006 1:54 am   
 
You can still use #CH thought, to get the character name of the session.
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Thu Aug 17, 2006 8:22 am   
 
On it's own that sends it to the mud but if you use %exec(#CH) you can either store it or display it with #VAR char %exec(#CH) or #ECHO %exec(#CH) respectively.
_________________
Taz :)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Aug 17, 2006 8:01 pm   
 
In any case, this is now fixed for v1.04. It was a parser issue whenever a %function and %systemvar had the same name, it would always choose the %function, even if no () were specified.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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