User:Stmorawski: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
==IRC Battle Simulator==
==IRC Battle Simulator==


Hello and welcome to DragonKnight's tutorial on how to use his Battle Simulator script on IRC. This script is a fully functional Generation IV (soon to be V!) simulator and acts exactly as the game would. Let's start off with the basics.
Hello and welcome to my (DragonKnight) tutorial on how to use my Battle Simulator script on IRC. This script is a fully functional Generation IV (soon to be V!) simulator and acts exactly as the game would. It stores all inputted teams on my computer in a .ini file and retrieves them during battle. Throughout this tutorial, I will be showing an example of how to create an [[Infernape]] on a team called "OU" on this script, which will use all of the optional inputs. The Infernape, when finished, will look something like this:
 
<center>
{{Pokémon
|gen=4
|pokemon=Infernape
|ndex=392
|held=Life Orb
|level=100
|game=HeartGold
|gender=male
|type1=Fire
|type2=Fighting
|ability=Blaze
|move1=Close Combat
|move1type=Fighting
|move1cat=Physical
|move2=Fire Blast
|move2type=Fire
|move2cat=Special
|move3=Grass Knot
|move3type=Grass
|move3cat=Special
|move4=Hidden Power
|move4type=Ice
|move4cat=Special
}}
</center>


===Making your Team===
===Making your Team===
Line 12: Line 39:


The <code><u>Type of Input</u></code> parameter can be one of ten words:
The <code><u>Type of Input</u></code> parameter can be one of ten words:
<center><code>
Pokémon Pokemon Item
IVs EVs Nature
Ability Moves View
Delete
</code></center>
====Pokémon====
Basic syntax:
<code>/msg DragonKnight MyTeam <u>Team Name</u> Pokémon/Pokemon <u>Slot</u> <u>Pokémon Species</u></code>
This will set the Pokémon species of the specified team to the specidied species. The script connects to Smogon to make sure that what you inputted is a real Pokémon, so do not try to enter anything else. For our Infernape, we will use one of the following commands (It does not matter which):
<code>/msg DragonKnight MyTeam OU Pokémon 1 Infernape</code>
<code>/msg DragonKnight MyTeam OU Pokemon 1 Infernape</code>
After doing so, my script should automatically sent you a notice that will look something like the following:
<code><font color=dark red>-DragonKnight- Pokémon of slot 1 of OU set to <b>Infernape</b>.</font></code>
That is about it. Thing to note:
  1.) Setting a Pokémon removes all abilities, moves, and power points previously stored in that slot.
  2.) Setting a Pokémon also sets its IVs to all 31 and its EVs to all 0.
====Item====
Basic syntax:
<code>/msg DragonKnight MyTeam <u>Team Name</u> Item <u>Slot</u> <u>Item</u></code>
This will set the held item for the Pokémon stored on the specified slot. The script connects to Smogon to make sure that what you inputted is a real Pokémon item, so do not try to enter anything else. For our Infernape, we will use the following command:
<code>/msg DragonKnight MyTeam OU Item 1 Life Orb</code>
After doing so, my script should send you back a notice:
<code><font color=dark red>-DragonKnight- Item of slot 1 of OU set to <b>Life Orb</b>.</font></code>
That is about it.
====IVs====
Basic syntax:
<code>/msg DragonKnight MyTeam <u>Team Name</u> IVs <u>Slot</u> <u>HP IV</u> <u>Atk IV</u> <u>Def IV</u> <u>SpA IV</u> <u>SpD IV</u> <u>Spe IV</u></code>
This will set the IVs for the Pokémon stored in the specified slot. The script does check to make sure that all inputted values are between 0 and 31. The only time you will really need to use this command is when you make a Pokémon that uses Hidden Power, because the IVs for all Pokémon default to all 31 when created. Since our Infernape does run Hidden Power, we will use this command:
<code>/msg DragonKnight MyTeam OU IVs 1 31 30 30 31 31 31</code>
These IVs will provide our Infernape with [[Hidden_Power_(move)|Hidden Power Ice]], base power 70. The return message should look like this:
<code><font color=dark red>-DragonKnight- IVs of slot 1 of OU set to <b>31 30 30 31 31 31</b>.</font></code>
Note: If you set this before setting the Pokémon in the specified slot, your input will be overwritten with the default settings upon creation.
====EVs====
Basic syntax:
<code>/msg DragonKnight MyTeam <u>Team Name</u> EVs <u>Slot</u> <u>HP EV</u> <u>Atk EV</u> <u>Def EV</u> <u>SpA EV</u> <u>SpD EV</u> <u>Spe EV</u></code>
This will set the EVs for the Pokémon stored in the specified slot. The script does check to make sure that all inputted values are between 0 and 255 and that the sum of all inputted values is less than or equal to 510. For our Infernape, we will use the following command:
<code>/msg DragonKnight MyTeam OU EVs 1 0 64 0 252 0 192</code>
This will set the EVs and trigger the following return message:
<code><font color=dark red>-DragonKnight- EVs of slot 1 of OU set to <b>0 64 0 252 0 192</b>.</font></code>
====Nature====
Basic syntax:
<code>/msg DragonKnight MyTeam <u>Team Name</u> Nature <u>Slot</u> <u>Nature</u></code>
This will set the nature for the Pokémon stored in the specified slot. The script checks to make sure that the inputted string is a legal Pokémon nature and assigns it to the specified slot. For our Infernape, we will type:
<code>/msg DragonKnight MyTeam OU Nature 1 Naive</code>
The script will send you the following message:
<code><font color=dark red>-DragonKnight- Nature of slot 1 of OU set to <b>Naive</b>.</font></code>

Revision as of 03:28, 20 November 2010

IRC Battle Simulator

Hello and welcome to my (DragonKnight) tutorial on how to use my Battle Simulator script on IRC. This script is a fully functional Generation IV (soon to be V!) simulator and acts exactly as the game would. It stores all inputted teams on my computer in a .ini file and retrieves them during battle. Throughout this tutorial, I will be showing an example of how to create an Infernape on a team called "OU" on this script, which will use all of the optional inputs. The Infernape, when finished, will look something like this:

Spr 4h 392.png
Types:
Fire Fighting
Ability:
Blaze
Held item:
Bag Life Orb Sprite.png Life Orb
Infernape Lv.100
Close Combat
Fighting Physical
Fire Blast
Fire Special
Grass Knot
Grass Special
Hidden Power
Ice Special

Making your Team

For all team editing with this script, the basic syntax is:

/msg DragonKnight MyTeam Team Name Type of Input Slot Input

Where underlined text is a parameter.

The Type of Input parameter can be one of ten words:

Pokémon Pokemon Item

IVs EVs Nature

Ability Moves View

Delete

Pokémon

Basic syntax:

/msg DragonKnight MyTeam Team Name Pokémon/Pokemon Slot Pokémon Species

This will set the Pokémon species of the specified team to the specidied species. The script connects to Smogon to make sure that what you inputted is a real Pokémon, so do not try to enter anything else. For our Infernape, we will use one of the following commands (It does not matter which):

/msg DragonKnight MyTeam OU Pokémon 1 Infernape

/msg DragonKnight MyTeam OU Pokemon 1 Infernape

After doing so, my script should automatically sent you a notice that will look something like the following:

-DragonKnight- Pokémon of slot 1 of OU set to Infernape.

That is about it. Thing to note:

 1.) Setting a Pokémon removes all abilities, moves, and power points previously stored in that slot.
 2.) Setting a Pokémon also sets its IVs to all 31 and its EVs to all 0.

Item

Basic syntax:

/msg DragonKnight MyTeam Team Name Item Slot Item

This will set the held item for the Pokémon stored on the specified slot. The script connects to Smogon to make sure that what you inputted is a real Pokémon item, so do not try to enter anything else. For our Infernape, we will use the following command:

/msg DragonKnight MyTeam OU Item 1 Life Orb

After doing so, my script should send you back a notice:

-DragonKnight- Item of slot 1 of OU set to Life Orb.

That is about it.

IVs

Basic syntax:

/msg DragonKnight MyTeam Team Name IVs Slot HP IV Atk IV Def IV SpA IV SpD IV Spe IV

This will set the IVs for the Pokémon stored in the specified slot. The script does check to make sure that all inputted values are between 0 and 31. The only time you will really need to use this command is when you make a Pokémon that uses Hidden Power, because the IVs for all Pokémon default to all 31 when created. Since our Infernape does run Hidden Power, we will use this command:

/msg DragonKnight MyTeam OU IVs 1 31 30 30 31 31 31

These IVs will provide our Infernape with Hidden Power Ice, base power 70. The return message should look like this:

-DragonKnight- IVs of slot 1 of OU set to 31 30 30 31 31 31.

Note: If you set this before setting the Pokémon in the specified slot, your input will be overwritten with the default settings upon creation.

EVs

Basic syntax:

/msg DragonKnight MyTeam Team Name EVs Slot HP EV Atk EV Def EV SpA EV SpD EV Spe EV

This will set the EVs for the Pokémon stored in the specified slot. The script does check to make sure that all inputted values are between 0 and 255 and that the sum of all inputted values is less than or equal to 510. For our Infernape, we will use the following command:

/msg DragonKnight MyTeam OU EVs 1 0 64 0 252 0 192

This will set the EVs and trigger the following return message:

-DragonKnight- EVs of slot 1 of OU set to 0 64 0 252 0 192.

Nature

Basic syntax:

/msg DragonKnight MyTeam Team Name Nature Slot Nature

This will set the nature for the Pokémon stored in the specified slot. The script checks to make sure that the inputted string is a legal Pokémon nature and assigns it to the specified slot. For our Infernape, we will type:

/msg DragonKnight MyTeam OU Nature 1 Naive

The script will send you the following message:

-DragonKnight- Nature of slot 1 of OU set to Naive.