NEW VERSION
This is a newer version of the Pokémon command that allows for much more pokemon storage.
I will still be supporting the old pokemon command.
But if you do update to the new version make sure to use new tokens.
Credits
Credit for this being possible is due to @ehsankia and his Quote Api without it I would of had no way of making this command so thank him.
Also, credit to @thegreenofspades for the use of his Pokémon pastebin (Thank You).
What it Does
Keeps track of Pokémon you have caught Xp, Money, Pokéballs, and Level.
Getting tokens for commands
To get the tokens needed for this command please go here https://twitch.center/customapi/quote/generate and find the 8 and 16 digit tokens.
They are after “token=” and before “&data” the 8 digit one is your PUBLIC_TOKEN and is free to share, your 16 digit one is you PRIVATE_TOKEN and should not be shared.
Adding the commands
-
Automatic installation: https://pcatch.potatoeaterlove.workers.dev/
- Note: It will overwrite commands named !p and _p if you have any named that.
-
First Command: This is the command users will be calling on so I suggest names such as “!p” or “p” but can be called what ever.
$(eval a="$(urlfetch json https://twitch.center/customapi/quote/list?token=PUBLIC_TOKEN&no_id=1)".split(",");PcatchSub1="$(urlfetch json https://pastebin.com/raw/6AfagFQq)".split(",");user="$(user)".replace(/\s+/g,"_");One="$(1)";OneL=One.toLowerCase();Two="$(2)";Three="$(3)";Token="PRIVATE_TOKEN";Dex=`all`;$(urlfetch json https://pastebin.com/raw/erRJGBvb))
Put the alias of this command the same as the second command I suggest _p
Leave userlevel as everyone
- Second Command: I suggest calling this command _p
$(eval a="$(urlfetch https://twitch.center/customapi/$(1))";b="$(urlfetch https://twitch.center/customapi/$(2)&data=1)";user="$(user)".replace(/\s+/g,"_");Query="$(query)".split(" ");Data="$(urlfetch json https://twitch.center/customapi/quote/list?token=PUBLIC_TOKEN&no_id=1)".split(",");Limit=[20,15,15];$(urlfetch json https://pastebin.com/raw/03KN9k5h))
No alias needed for this command
Leave userlevel as everyone
Optional Commands
- Third Command: Call this one !pdelete
$(urlfetch https://twitch.center/customapi/delquote?token=PRIVATE_TOKEN&data=$(1))
No alias needed for this one.
Set userlevel to moderator.
- Fourth Command: Optional this will just let you look at the data can be called whatever.
Check here for the Pokémon data: https://twitch.center/customapi/quote/list?token=PUBLIC_TOKEN
No alias necessary
Just leave userlevel set to everyone
Possible Inputs
- Buy {Amount}/Max
- Catch
- Stats/Inventory
- Help/[NoInput]
- Pokemon {Page Number}/Shiny {Page Number}
- PokeDex/Dex {Page Number}/Special
The Pokédex currently only has 2 generations of Pokémon and was added thanks to @theshreddingmonkey
There may be a special reward for the next 4 people who get to lvl 100
Optional Limits/Gen Caps
Limit for Pokémon output length (How many Pokémon are shown when using !p Pokémon/Dex)
Limit=[(Pokémon output length),(Pokémon Shiny output length),(Dex output length)];
The “Normal” Limits are set at 20, 15, and 15 respectively looking like this:
Limit=[20,15,15];
The ranges on these numbers are 5-25, 5-20, and 5-20 respectively.
To add this to the command add it anywhere in the second command just make sure there are semicolons (`;`) surrounding it on both sides and it comes before the last “$(urlfetch”.
Including and Excluding of Generations (What pokemon you are able to catch)
Dex=(Gen numbers that you want);
The “Normal” one would look like Dex=12345678; or Dex=`all`;
To add this to the command add it anywhere in the first command just make sure there are semicolons (
;
) surrounding it on both sides and it comes before the last “$(urlfetch”.
I have plans to add this option for the second command when the dex has more than two Gens in it but has not as of yet been implemented.
Testing command
If you are looking for a place to test out the command I have it set up on a discord server Here