
I'm trying to create a simple script of API that does does the following: 1. Sees a command in the text box, such as "!Robert MP -1" or something to that effect. 2. Deducts a number from bar2 of a token to indicate spending MP, such as -1 for a token named Robert as per the above example. From what I've seen, I think this should be very simple for the API guys, but I haven't figured it out. Could you explain or just type it out if possible? Disclaimer: I don't understand API and I'm really bad at it. I've tried CodeAcademy and whatnot, but I just don't have the mind for it. Please help!