Problem with script (searching for a pokemon center script)

Discussion in 'Server and Client Scripting' started by AlexTCGPro, May 6, 2013.

  1. AlexTCGPro

    AlexTCGPro Card Games On Motorcycles

    Joined:
    May 6, 2013
    Messages:
    4
    Likes Received:
    0
    PO Trainer Name:
    AlexTCGPro
    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.
     
  2. Manectric-Rang

    Manectric-Rang Unown-Ç ftw

    Joined:
    Mar 21, 2012
    Messages:
    60
    Likes Received:
    0
    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.