It keeps saying I am trying to compare a string to number...
[string "Plugin"]:752: attempt to compare number with string
751 : local halfmana = stats.maxmana / 2
752*: if stats.mana > halfmana == false or
The values in the table are numbers not strings?
This should store them as numbers right?
_, _, stats.health, stats.maxhealth, stats.mana, stats.maxmana, stats.endur, stats.maxendur, stats.will, stats.maxwill, stats.lvl, stats.maxlvl = string.find (text, "H:(%d+)/(%d+) M:(%d+)/(%d+) E:(%d+)/(%d+) W:(%d+)/(%d+) NL:(%d+)/(%d+)")
Also are you able to have two stats tables in differen plugins?
[string "Plugin"]:752: attempt to compare number with string
751 : local halfmana = stats.maxmana / 2
752*: if stats.mana > halfmana == false or
The values in the table are numbers not strings?
This should store them as numbers right?
_, _, stats.health, stats.maxhealth, stats.mana, stats.maxmana, stats.endur, stats.maxendur, stats.will, stats.maxwill, stats.lvl, stats.maxlvl = string.find (text, "H:(%d+)/(%d+) M:(%d+)/(%d+) E:(%d+)/(%d+) W:(%d+)/(%d+) NL:(%d+)/(%d+)")
Also are you able to have two stats tables in differen plugins?