I'm trying to create an extension for the mee6 bot for roleplaying functionality and to make sure everything pairs right on the roleplay server I need to be able the fetch the data and load it into variables I can then runs calculations like skill points, hp, mp, etc off of. But while I can get a plain text database page since its not handled by POST I'm not sure how to read it. (I'm tried $AJAX and $GETJASON and am just not getting any results)
For a reference site here is the page I'm trying to read https://mee6.xyz/levels/267482689529970698?json=1
basically what I need to do is from my own database create users who share the same "name" or idnumber as the meebot, then in my database will be a number of fields like current hp, max, SPECIAL stats (Strength, perception, etc), skills.
The idea being that as mee bot levels the users from using the chat they gain 1 skill point in my system (so 1 level = 1 skill point)
And basically what Ii need to do is compare the local user to Mebot user, matching names/id, and checking the level. If skills < level then there is difference skillpoints left, but when adding a skill in the system i need to check that the new skill will not exceed the level on meebot
Any thoughts. I just need to read meebots data not change it on their end but just not sure how to read non POST data.