User:Stmorawski: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Party|color={{gold color}}|bordercolor={{silver color light}}|headcolor={{gold color light}}
==IRC Battle Simulator==
|sprite=Gold HGSS.png
 
|class=[[Champion]]
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. All Pokémon are at level 100, and this cannot be changed. Also, genders have not been implemented into this script, so moves like Attract do not exist. The following is a list of Pokémon moves that are not included in this script:
|name=Stephen
 
|game={{v2|HeartGold}}
*Attract
|location=[[Johto]]
*Follow Me
|prize={{pdollar}}????
*Helping Hand
|pokemon=4
*Sketch
|pokemon1={{Pokémon|gen=4|game=HeartGold|ndex=464|pokemon=Rhyperior
*Teleport
|ability=Solid Rock|held=Passho Berry|level=100|gender=male||spritegender=male|type1=Ground|type2=Rock
 
|move1=Stone Edge|move1type=Rock|move1cat=Physical
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:
|move2=Crunch|move2type=Dark|move2cat=Physical
 
|move3=Dragon Rush|move3type=Dragon|move3cat=Physical
<center>
|move4=Earthquake|move4type=Ground|move4cat=Physical}}
{{Pokémon
|pokemon2={{Pokémon|gen=4|game=HeartGold|ndex=068|pokemon=Machamp
|gen=4
|ability=No Guard|held=Black Belt|level=100|gender=male|type1=Fighting
|pokemon=Infernape
|move1=DynamicPunch|move1type=Fighting|move1cat=Physical
|ndex=392
|move2=Payback|move2type=Dark|move2cat=Physical
|held=Life Orb
|move3=Close Combat|move3type=Fighting|move3cat=Physical
|level=100
|move4=ThunderPunch|move4type=Electric|move4cat=Physical}} |pokemon3={{Pokémon|gen=4|game=HeartGold|ndex=131|pokemon=Lapras
|game=HeartGold
|ability=Water Absorb|held=Magnet|level=100|gender=male|type1=Water|type2=Ice
|gender=male
|move1=Ice Beam|move1type=Ice|move1cat=Special
|type1=Fire
|move2=Brine|move2type=Water|move2cat=Special
|type2=Fighting
|move3=Thunderbolt|move3type=Electric|move3cat=Special
|ability=Blaze
|move4=Hydro Pump|move4type=Water|move4cat=Special}}
|move1=Close Combat
|pokemon4={{Pokémon|gen=4|game=HeartGold|ndex=465|pokemon=Tangrowth
|move1type=Fighting
|ability=Leaf Guard|held=Miracle Seed|level=100|gender=male||spritegender=male|type1=Grass
|move1cat=Physical
|move1=Sleep Powder|move1type=Grass|move1cat=Status
|move2=Fire Blast
|move2=Leaf Storm|move2type=Grass|move2cat=Special
|move2type=Fire
|move3=Energy Ball|move3type=Grass|move3cat=Special
|move2cat=Special
|move4=AncientPower|move4type=Rock|move4cat=Special}}
|move3=Grass Knot
|move3type=Grass
|move3cat=Special
|move4=Hidden Power
|move4type=Ice
|move4cat=Special
}}
}}
</center>
===Making your Team===
For all team editing with this script, the basic syntax is:
<code>/msg DragonKnight MyTeam <u>Team Name</u> <u>Type of Input</u> <u>Slot</u> <u>Input</u></code>
Where underlined text is a parameter.
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 [http://www.smogon.com 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>
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.
====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>
That is about it.
====Ability====
Basic syntax:
<code>/msg DragonKnight MyTeam <u>Team Name</u> Ability <u>Slot</u> <u>Ability</u></code>
This will set the ability for the Pokémon stored in the specified slot. The script connects to Smogon to make sure that the Pokémon in the specified slot can legally obtain the inputted ability. For our Infernape, we will type:
<code>/msg DragonKnight MyTeam OU Ability 1 Blaze</code>
The script should send you mack a notice saying:
<code><font color=dark red>-DragonKnight- Ability of slot 1 of OU set to <b>Blaze</b>.</font></code>
And that is it. Things to note:
  1.) You cannot set an ability for a slot that does not yet have a Pokémon stored in it.
====Moves====
Basic syntax:
<code>/msg DragonKnight MyTeam <u>Team Name</u> Moves <u>Slot</u> <u>Move 1</u>, <u>Move 2</u>, <u>Move 3</u>, <u>Move 4</u></code>
This will set a moveset for the specified slot. The script will connect to Smogon to make sure that the Pokémon stored in the specified slot can learn all four of the inputted moves. For our Infernape, we will use:
<code>/msg DragonKnight MyTeam OU Moves 1 Close Combat, Fire Blast, Grass Knot, Hidden Power</code>
We should get in return:
<code><font color=dark red>-DragonKnight- Moveset of slot 1 of OU set to <b>Close Combat, Fire Blast, Grass Knot, Hidden Power</b>.</font></code>
That is it. Things to note:
  1.) You cannot set a moveset for a slot that does not yet have a Pokémon stored in it.
  2.) You <b>must</b> use a comma immediately after each move followed by a space.
====View====
Basic syntax:
<code>/msg DragonKnight MyTeam <u>Team Name</u> View <u>Slot</u></code>
This command will show you the Pokémon and all of its accessories stored in the specified slot. To make sure that you filled in everything correctly, I recommend that you use this to check your work after completing each Pokémon. To view our finished Infernape, we will type:
<code>/msg DragonKnight MyTeam OU View 1</code>
In return, we should recieve the following seven notices:
<code><font color=dark red>
-DragonKnight- Slot 1: Infernape @ Life Orb
-DragonKnight- Blaze, Naive
-DragonKnight- 31 30 30 31 31 31 / 0 64 0 252 0 192
-DragonKnight- ~ Close Combat
-DragonKnight- ~ Fire Blast
-DragonKnight- ~ Grass Knot
-DragonKnight- ~ Hidden Power
</font></code>
Now you're done with Infernape! To complete your team, repeat this process for all six Pokémon, making sure to change the slot parameter for each one. There is one final command that you can use, also: Delete.
====Delete====
Basic syntax:
<code>/msg DragonKnight MyTeam <u>Team Name</u> Delete</code>
This command will delete your entire team. It is useful for old teams that you do not use anymore. If we wanted to delete our OU team with our Infernape, we would type:
<code>/msg DragonKnight MyTeam OU Delete</code>
This will erase the entire team, and send you the following notice:
<code><font color=dark red>-DragonKnight- Your team <b>OU</b> has been deleted.</font></code>
===Using your Team===
After you complete your team, you can use it in a battle! To initiate a battle, type:
<code>!Battle <u>Nickname</u></code>
This will challenge the specified nickname to a battle, which they can choose to accept or decline. If someone challenges you to a battle, you can accept or decline by typing one of the following:
<code>/msg DragonKnight Accept</code>
<code>/msg DragonKnight Decline</code>
Now, let the battling begin! Things to note:
  1.) The <u>Nickname</u> parameter is <b>case sensitive</b>.
From here, you can follow the built-in instructions to battle with your Pokémon. I hope you can all enjoy this script and tell your friends about it, too!

Latest revision as of 17:40, 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. All Pokémon are at level 100, and this cannot be changed. Also, genders have not been implemented into this script, so moves like Attract do not exist. The following is a list of Pokémon moves that are not included in this script:

  • Attract
  • Follow Me
  • Helping Hand
  • Sketch
  • Teleport

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.

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.

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.

That is about it.

Ability

Basic syntax:

/msg DragonKnight MyTeam Team Name Ability Slot Ability

This will set the ability for the Pokémon stored in the specified slot. The script connects to Smogon to make sure that the Pokémon in the specified slot can legally obtain the inputted ability. For our Infernape, we will type:

/msg DragonKnight MyTeam OU Ability 1 Blaze

The script should send you mack a notice saying:

-DragonKnight- Ability of slot 1 of OU set to Blaze.

And that is it. Things to note:

 1.) You cannot set an ability for a slot that does not yet have a Pokémon stored in it.

Moves

Basic syntax:

/msg DragonKnight MyTeam Team Name Moves Slot Move 1, Move 2, Move 3, Move 4

This will set a moveset for the specified slot. The script will connect to Smogon to make sure that the Pokémon stored in the specified slot can learn all four of the inputted moves. For our Infernape, we will use:

/msg DragonKnight MyTeam OU Moves 1 Close Combat, Fire Blast, Grass Knot, Hidden Power

We should get in return:

-DragonKnight- Moveset of slot 1 of OU set to Close Combat, Fire Blast, Grass Knot, Hidden Power.

That is it. Things to note:

 1.) You cannot set a moveset for a slot that does not yet have a Pokémon stored in it.
 2.) You must use a comma immediately after each move followed by a space.

View

Basic syntax:

/msg DragonKnight MyTeam Team Name View Slot

This command will show you the Pokémon and all of its accessories stored in the specified slot. To make sure that you filled in everything correctly, I recommend that you use this to check your work after completing each Pokémon. To view our finished Infernape, we will type:

/msg DragonKnight MyTeam OU View 1

In return, we should recieve the following seven notices:

-DragonKnight- Slot 1: Infernape @ Life Orb

-DragonKnight- Blaze, Naive

-DragonKnight- 31 30 30 31 31 31 / 0 64 0 252 0 192

-DragonKnight- ~ Close Combat

-DragonKnight- ~ Fire Blast

-DragonKnight- ~ Grass Knot

-DragonKnight- ~ Hidden Power

Now you're done with Infernape! To complete your team, repeat this process for all six Pokémon, making sure to change the slot parameter for each one. There is one final command that you can use, also: Delete.

Delete

Basic syntax:

/msg DragonKnight MyTeam Team Name Delete

This command will delete your entire team. It is useful for old teams that you do not use anymore. If we wanted to delete our OU team with our Infernape, we would type:

/msg DragonKnight MyTeam OU Delete

This will erase the entire team, and send you the following notice:

-DragonKnight- Your team OU has been deleted.

Using your Team

After you complete your team, you can use it in a battle! To initiate a battle, type:

!Battle Nickname

This will challenge the specified nickname to a battle, which they can choose to accept or decline. If someone challenges you to a battle, you can accept or decline by typing one of the following:

/msg DragonKnight Accept

/msg DragonKnight Decline

Now, let the battling begin! Things to note:

 1.) The Nickname parameter is case sensitive.

From here, you can follow the built-in instructions to battle with your Pokémon. I hope you can all enjoy this script and tell your friends about it, too!