Welcome to the Achaea Forums! Please be sure to read the Forum Rules
Alright. So I've been away for a while (going on a year), and I'm trying to get back into Mudlet coding so I can work at my GUI once again! Unfortunately, in bashing my brain meats around I still can't get past one issue that plagued me even back then. That issue being filtering string information in scripts. Usually because I pull it from GMCP that way.
Example (one of many places where this has been a hitch):
for k,v in pairs(gmcp.Char.Vitals.charstats) do
if k == 2 then
LTMRageNumber = v
This makes LTMRageNumber (or v if you want to be simple) equal "Rage: #". The number being whatever value Rage currently is. Problem is, in this example, I'd want to filter out the "Rage: " part. How the heck do I do that? Much love to anyone who can help with this.