i am trying to set up a sip counter in zmud 4.62, this is the script i have, but instead of deducting the -1 from the health/mana count, it just displayes a -1 next to the variable, and writes another -1 each time its used.
Any ideas on what wrong
#ALIAS hc {healthcount = %1} "sipcount"
#ALIAS mc {manacount= %1} "sipcount"
#VAR manacount {0} {_nodef} "sipcount"
#VAR healthcount {0} {_nodef} "sipcount"
#TRIGGER {The elixir heals and soothes you.} {#add healthcount -1} "sipcount"
#TRIGGER {Your mind feels stronger and more alert.} {#add manacount -1} "sipcount"
#STAT {Health: @healthcount |||| Mana: @manacount} "sipcount"
Dazed182
Any ideas on what wrong
#ALIAS hc {healthcount = %1} "sipcount"
#ALIAS mc {manacount= %1} "sipcount"
#VAR manacount {0} {_nodef} "sipcount"
#VAR healthcount {0} {_nodef} "sipcount"
#TRIGGER {The elixir heals and soothes you.} {#add healthcount -1} "sipcount"
#TRIGGER {Your mind feels stronger and more alert.} {#add manacount -1} "sipcount"
#STAT {Health: @healthcount |||| Mana: @manacount} "sipcount"
Dazed182