|
Sephiel Newbie
Joined: 14 May 2004 Posts: 1
|
Posted: Fri May 14, 2004 2:16 pm
#SETPROMPT problem |
Hey all :D
I've got a problem with the #setprompt command. (Zmud 7.04)
My prompt looks like: <Hp: 33|45 Mana: 104|200 Exp:234,555 Gold: 23,444 and so on..
So the command should be like:
#setprompt "<" hp hpmax mana manax exp gold
But the problem is, that the variable exp is 234 and variable gold is 555
Is it possible to store large numbers with commas (342,444 or 23,222) in a variable using #setprompt???
Thanx in advance
xD |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri May 14, 2004 5:45 pm |
No. You can do it with a trigger though.
#TR {Hp: (%n)~|(%n) Mana: (%n)~|(%n) Exp:(%n) Gold: (%n)} {#VAR hp %1;#VAR hpmax {%2};mana = %3;manax=%4;#VAR exp {%5};#VAR gold {%6}}
Make sure you have the right number of spaces between items. As you can see, there is more than one way to define a variable. I prefer #VAR name {value}, but use whichever of them you like best. |
|
|
|
|
|
|
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
|
|