Using Rematch + Pet Battle Scripts

This guide explains how to use Pet Battle Scripts together with Rematch

If you want to learn how to write TD Scripts you can click this link with instructions for it: Writing Pet Battle Scripts.

1. Required AddOns

Pet Battle Scripts

Also you'll need a source from which you can get strings and scripts prompt and easy.
Fortunately this site is just the right one for that task.
Every strategy automatically offers a Rematch String and those that are marked with the respective Tag also provide a Script.
Hint: when a strategy doesn't include a script on its own there is a good chance somebody in the comments is sharing one.

2. Importing Rematch Strings

1. Open the Pet Journal ingame. On the right edge you'll see one or multiple tabs (which you can edit). Now right click on the tab in that you want to import a certain team.
2. Now left click on "Import Teams".
3. A window will open in which you can insert a Rematch String.

3. Obtaining a Rematch String from Xu-Fu

1. Go to the desired strategy on http://wow-petguide.com/.
2. Now left click on the button "Rematch String".
3. Act as described above and then import the already saved string in the open window.
4. Click "Save".

4. Importing Pet Battle Scripts

1. Right click on the saved team ingame.
2. Left click on "Write script".
3. A window opens to either write or insert a script.

5. Obtaining scripts from Xu-Fu

1. Go to the desired strategy on http://wow-petguide.com/.
2. Now left click on the button "Script".
3. Act as described above and then import the already saved script in the open window.
4. Click "Save".

That's it!

When you face the corresponding encounter Rematch will now automatically (depending on your settings) load the right team and will also enable you to press just one button (by default A) to play every turn.


wrote on 2022-12-01 14:51:40

I have Pet Battle scrips and rematch and still cant get my auto key to work


wrote on 2022-12-01 22:25:24

same. even reinstalled everything


wrote on 2022-12-04 09:28:40

Same here, still not working. Any fixes soon?


wrote on 2022-05-27 00:24:42

how do you change the A for auto key to a different key?


wrote on 2022-05-27 15:10:04

Someone already answered you on the Discord, but in case anyone else is wondering:

Hit Escape > Interface > Addons tab > tdPetBattleScript > General tab. The keybind option is near the bottom.


wrote on 2022-11-12 19:31:11

The System and Interface buttons have since been combined into a single button, Options. The rest of the instructions are unchanged.

Texman wrote on 2022-10-26 20:00:46

Looks like v10 pre patch has broken these addons. Any idea if they will be updated?


wrote on 2022-10-27 22:08:50

Yes they will, see this comment on main page https://www.wow-petguide.com/Comment/111524


wrote on 2022-11-12 12:06:04

It looks like a fork exists since the original two haven't been updated in 2 years



wrote on 2022-09-10 04:48:27

To those who are trying to transfer all of your tdscripts from one computer to another, here is the way that worked 100% for me. We will reference Computer A as the computer with the scripts and Computer B as the computer we're trying to transfer the scripts to. I would like to mention that simply copying the tdBattlePetScript, tdBattlePetScript_Rematch and Rematch folders from your WoW/_retail_/Interface/AddOns folder from Computer A to Computer B does not always work. Try it and if it works for you, then congratulations! If not, continue reading.

Assuming your UI is the stock UI from the Rematch addon, open WoW and when you are in game, press the SHIFT + P buttons to open your Pet Journal. On the right-hand side of your teams should be the icons for each of your teams (there will be the teams that show the three pets within the team and we’re looking just to the right of that – the team tabs on the far right of the pet journal). Right-click the tab and an options menu will come up – it should give options like “Edit Tab, Custom Sort, Sort By Wins, Leveling Preferences, etc.” Left-click the “Export Tab” option, which will bring up the string that you’ll use later on to import everything into Computer B.

Open a Word or notepad document, copy (CTRL + C) the string in game and paste (CTRL + V) to the document (CTRL + V). Save that document to a thumb drive or SD card - I labeled mine “Pet Strings” to make it easy on myself. You’re done with Computer A. On Computer B, insert your thumb drive or SD card, and open the document with your string. Copy (CTRL + C) the entire string. With WoW open and being in game, press the SHIFT + P buttons to open your Pet Journal. On the right-hand side of your teams (which should be empty), there will be a “+” tab. Click it. Choose your icon and name for the tab (at this point it doesn’t matter – we’ll get into naming it later,” then click “Save.” On the tab you just created, right-click the tab and select the “Import Teams” option, then paste (CTRL + V) your string, then click “Save.” Almost done! Lastly, we want to change the name of the tab, so right-click the same tab once again, and click “Edit Tab,” then name it whatever you like, then click “Save.”

You’re done! You can do this method with all teams you may have saved.

Now for the kicker - if you had written any scripts for any of your teams, unfortunately those do not transfer over and will need to either be manually written again or you can simply find the the appropriate script needed here on Xu-Fu's Pet Battle Strategies.

I hope this helps everyone! I love you all.
(if you're interested in helping me out, toss me a follow on instagram - vinnieparma. Thanks guys!) (edited)

Unsainted wrote on 2020-10-25 19:11:33

I have around 100+ teams/scripts on my laptop, is there a way to transfer them all at once to my desktop?


wrote on 2020-11-04 10:29:12

Copy the tdBattlePetScript, tdBattlePetScript_Rematch and Rematch folders from your WoW/_retail_/Interface/AddOns folder from the laptop to your desktop. Make sure WoW is not running when you do this.

File path may vary depending on OS and if you've logged into more than one WoW/Blizz account on that machine. (edited)


wrote on 2021-01-28 21:42:15

Has not worked for me, unfortunately.
I've transfered both Interface and WTF folders to a new computer. I've got Rematch teams ok, [-- but no corresponding tsBS scripts (Auto is greyed out). :) --]

Strike that: most of the scripts copied ok. Some did not, but I may not have them in the 1st place ;)

Too bad: I have 5 dungeons scripts to re-create ;( (edited)


wrote on 2022-08-12 08:38:35

Bit of a necro post, but don't forget to copy over your saved variables.


wrote on 2022-03-26 18:38:10

Scrips dont work


wrote on 2022-02-03 22:17:14

First I would like to say where has this been!? Everyone should know about this!

Thank you for your recommend pet battle addons and this page for the steps. I love how easy this has made pet battling trainers. <3


wrote on 2021-11-22 01:14:40

Hi... i cant copy anything with Ctrl + V
I have the script copied, but then when i hit, Ctrl + V nothing is pasted


wrote on 2021-10-12 13:03:49

Any word if someone is going to pick up tdBattlePetScript and tdBattlePetScript Rematch and update it to 9.1.0? It's like a year since it's been updated


wrote on 2021-09-11 13:01:12

I'm new to this, and having trouble importing the match string. When I paste it into the Import Team Window, I get the following message "String could not be loaded. Make sure your browser has JavaScript active, use a different browser or try again later."
I googled and didn't find much help. I have JavaScript active on my computer. Any help would be greatly appreciated.


wrote on 2021-05-02 07:51:23

I followed all the steps in this guide, but when ever I press my button to run the script whilst in battle it does nothing. Does anybody know how to fix this??

Fuhenhenka wrote on 2021-07-11 15:00:34

Is it possible you didn't import both strings? (Rematch String AND TD Script String, both on the same page at wow-petguide.com.) I accidentally only imported the Rematch String and the "Auto" button was greyed out, my big clue that I dun goof'd


wrote on 2021-05-22 14:22:22

In case anyone was struggling to figure this out, "a" (for auto) can be used to activate the next step of the script instead of clicking on it with a mouse. The "A" on the auto button looked like a ^ to me, not an A. Took me few days to figure that out.


wrote on 2020-11-25 16:21:03

As of 11/25/2020 no "write script" on Rematch addon anymore. It's a fresh install because I just got a new SSD. Any chance we can update rematch?


wrote on 2020-12-03 08:33:16

Same trouble here, any idea?


wrote on 2021-01-24 20:44:52

I checked and both Rematch and both scripts had been disabled. I re enabled them. Still no go. In the end I figured out I had to write click the TEAM (not the button on the right) to get the Write Script menu. I think the image wasn't that clear or I'm just not very bright :P

Astara wrote on 2021-02-11 21:19:39

I had to re-enable the tdBattlePetScript and tdBattlePetScriptRematch addons (esc, Addons, then check them on Addon List) in order to make it work - somehow they were disabled, even though I was able to import a team. Only then could I right-click the team to get the correct menu with Write Script on it.

Rokeras wrote on 2021-02-11 10:30:34

Can't wait for the day this thing to be released as 1 simple addon.


wrote on 2021-01-11 11:29:57

This is maybe a stupid clarification but you need to do BOTH the imports - I thought initially it was just two different options but one is to import the team and one is to import the actual moves that let you auto. I don't know why I couldnt figure this out but that's what confused me and why my Auto button was greyed out at first


wrote on 2020-12-23 21:27:55

I have followed the guide as well, I can pull up the window with the strategy (Before I start a fight). The "V" window, when it comes up, shows all four possible sources (Grayed out but usable) but when I open a window for any of them it is empty. I have never had the Auto or "A" button lit up for use. It is always grayed out and disabled.

Not sure what to do to fix. Looked all the places I can think of online.

New Comment: