tokenat(Item,ItemDat_Stat,"'") -> PlayDat_HP -> varPlayDat_HP -> Number [/code:1lqkcohk]
Ashley We do not have some kind of forcing string "" in to calling a var of the same name? Something like var("PlayDat_HP")?[/p]
And itemDat_Stat is a variable right? And have you checked that variable is a number not text.
I see you using itemDat_Stat as an index which requires it to be a number.
Edit: I am going to have to play around a bit. Will look at this a little later
Can you put together a small test capx just dummy variables with itemdat_stat and the tokenat culculation. I will try and mess around with it. Or a little more detail so I can build a simple example.
Also regex might be a better fit for complicated searches etc