[Help] Force a certain team to a certain player

Discussion in 'Server and Client Scripting' started by AlexTCGPro, Jun 25, 2013.

  1. AlexTCGPro

    AlexTCGPro Card Games On Motorcycles

    Joined:
    May 6, 2013
    Messages:
    4
    Likes Received:
    0
    PO Trainer Name:
    AlexTCGPro
    Hey! I'm trying to make a tournament on my server and the gimmick is that you can only use a team i specifically chose for you.

    But i have no idea how to make that script, basically what i want i that when you log in into my server if your nickname is in a txt (or something) automatically your team will be the same that is written in there too.

    Pokémon, attacks, ivs, evs, item, ability, everything.

    I hope you can help me with this, greetings.
     
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    do you know anything about scripts?
     
  3. AlexTCGPro

    AlexTCGPro Card Games On Motorcycles

    Joined:
    May 6, 2013
    Messages:
    4
    Likes Received:
    0
    PO Trainer Name:
    AlexTCGPro
    Sadly no, but i checked the rpg scripts i found in here and those scripts allowed me to use only the rpg party so i figured out "maybe there's a way to make something similar but without rpg"
     
  4. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Yes, by reusing the teamChanger.js file in the rpg scripts. But you need a minimum of scripting knowhow anyhow.