Hello there! I put the rpg scripts on my server but i encountered a problem, the pokemons maintain the hp of their last battle so if you lose a battle the hp of your pokemons will be 0 and you will not be able to battle again cause your team will be invalid. Can someone help me making a script to heal the entire party when the party hp its equal to 0? Or maybe a script to add a /heal command that when used will heal the entire party at cost of money or something. Greetings.
When you get a script from somewhere and you do not really know how it works, things like this happen. We can not miraculously guess the whole script, and an RPG script can be made of infinite possible ways. Anyways, opening and closing the teambuilder without actually doing anything may (or may not, depending on the script) heal every Pokemon. If this does not work, try to contact the one who made the script, he/she might know what to do.