|
asira Beginner
Joined: 24 Jun 2002 Posts: 24 Location: United Kingdom
|
Posted: 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. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
Namsar Beginner
Joined: 14 Jun 2006 Posts: 29 Location: Sydney - Australia
|
Posted: Wed Aug 16, 2006 1:54 am |
You can still use #CH thought, to get the character name of the session.
|
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: 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 :) |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
|
|