Hi,
I have a varible for the amount of gold I am carrying that shows in the info bar...
this is the string i use to get that variable:
Gold: (.*) Encumbrance: (.*)
setvariable "Gold", "%1"
setvariable "Weight", "%2"
infoclear
world.InfoFont "Courier", 10, 1
world.infocolour "red"
info "Health: " & getvariable("Health") & " Energy: " & getvariable("Energy") & " Gold: " & getvariable("Gold") & " Weight: " & getvariable("Weight")
i want to be able to add to this figure as i get more gold .... rather than having to check my nventory to update it, here is the emote for getting gold.
You put * gold in your pockets.
could some help me by telling me the script to add * to the "Gold" variable?
Thanks,
-Scarn
I have a varible for the amount of gold I am carrying that shows in the info bar...
this is the string i use to get that variable:
Gold: (.*) Encumbrance: (.*)
setvariable "Gold", "%1"
setvariable "Weight", "%2"
infoclear
world.InfoFont "Courier", 10, 1
world.infocolour "red"
info "Health: " & getvariable("Health") & " Energy: " & getvariable("Energy") & " Gold: " & getvariable("Gold") & " Weight: " & getvariable("Weight")
i want to be able to add to this figure as i get more gold .... rather than having to check my nventory to update it, here is the emote for getting gold.
You put * gold in your pockets.
could some help me by telling me the script to add * to the "Gold" variable?
Thanks,
-Scarn