|
mj_cole Wanderer
Joined: 19 Apr 2001 Posts: 59 Location: USA
|
Posted: Thu Jul 24, 2003 10:20 pm
Problems using #setprompt |
Hi,
I have a multistate trigger that captures the items being used in the mudprompt, and have been trying to get them to use #setprompt to set the variables that I want to use, however, I have been unable to get it right.
I am creating a variable that contains the stuff that goes into setprompt, ie.
#var tmp "H: HP MV MA"
and then sending
#setprompt @tmp
My understanding is that it should be the equivelent of directly writing
#setprompt H: HP MV MA
I know that I am loading the variable correctly, but I imagine that there may be a different way to force the data into the #setprompt procedure
Any ideas where I'm going wrong
Regards
Marts |
|
|
|
mj_cole Wanderer
Joined: 19 Apr 2001 Posts: 59 Location: USA
|
Posted: Fri Jul 25, 2003 2:57 am |
Haha, figured it out!!
I got the variable 'tmp' to contain '#setprompt %char(34)H:%char(34) HPCurrent MoveCurrent'
Then issued the command '#exe @tmp'
Awsome.
Regards
Marts |
|
|
|
|
|
|
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
|
|