|
rhashish Newbie
Joined: 21 Jul 2005 Posts: 2
|
Posted: Thu Jul 21, 2005 4:10 pm
Displaying multi-word database variables in status bar |
I'm attempting to create a catalog of all the mobs I've attacked, and their hp. I already have a script to calculate the total hp of the mob, and I have a script that creates the database correctly.
Trigger: Your blood freezes as you hear (*)'s death cry
Code: |
#var mobtable %addkey( @mobtable, "%1", @damagethismob) |
Now, when I fight a mob, I store the name in the variable current mob:
You attack (*)!
Code: |
#var Damage/currentmob "%1" |
What I need to do is display @mobtable.@currentmob in the status bar. That syntax doesn't work, though. Note: mob names could be multiple words "an old miner", "a mangy cur", etc...
And ideas how to get that hp into the status bar?
Thanks. |
|
|
|
Aarlot Adept
Joined: 30 Dec 2003 Posts: 226
|
Posted: Thu Jul 21, 2005 6:58 pm |
%db(@mobtable,@currentmob)
|
|
_________________ Everyone is entitled to their beliefs - until they die. Then only the truth matters. |
|
|
|
|
|
|
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
|
|