Difference between revisions of "Version 2 Scripts New"
Jump to navigation
Jump to search
Jianmingyong (talk | contribs) m (→@Battle) |
Jianmingyong (talk | contribs) m |
||
| Line 18: | Line 18: | ||
By Default, the Argument Types are: | By Default, the Argument Types are: | ||
*Str | *Str ( Str are define as letters or words ) | ||
*Int | *Int ( Int are define as numbers from 0 to 2147483647 ) | ||
*Sng | *Sng | ||
*ItemCollection | *ItemCollection | ||
*Bool | *Bool ( Bool are define as words such as True, False ) | ||
*Rec | *Rec | ||
*IntArr | *IntArr | ||
| Line 28: | Line 28: | ||
*SngArr | *SngArr | ||
*BoolArr | *BoolArr | ||
*PokemonData | *PokemonData ( PokemonData are define as [[Pokemon_Code|Pokemon Code]] ) | ||
*Arr | *Arr | ||
| Line 54: | Line 54: | ||
*Str1 = trainerFile | *Str1 = trainerFile | ||
|- | |- | ||
| | | @Battle.wild(PokemonData,<nowiki>[Str1]</nowiki>)<br /> | ||
@Battle.wild(PokemonData,<nowiki>[Str1]</nowiki>)<br /> | |||
OR <br /> | OR <br /> | ||
@Battle.wild(Int1,Int2,<nowiki>[Int3]</nowiki>,<nowiki>[Str1]</nowiki>,<nowiki>[Int4]</nowiki>) | @Battle.wild(Int1,Int2,<nowiki>[Int3]</nowiki>,<nowiki>[Str1]</nowiki>,<nowiki>[Int4]</nowiki>) | ||
Revision as of 12:12, 15 June 2014
Version 2 scripts were started in version 0.32. Any script in Version 2 must have "version=2" as the first line of the script.
Commands are written as @command.subcommand and are no longer case sensitive. All commands require a subcommand.
Constructs were also expected to be <construct.subconstruct> and can be used with switches too
A General Note to all GameMode Scripters ( Must Read )
- This list is currently updated as of v0.49.0
- I, jianmingyong have ensure minimal typo in the list here.
- This list is the same as what you can see when typing @help(command).
- Please do not blame darkfire as he is not the one who make the new design on this page :D
- Also if you are a GameMode Scripter or trying to be one, you are recommended to download Notepad++ with our special syntax highlighter for checking typo mistake.
Commands
Commands always have a subcommand. All combinations will be listed below.
The table is split into sections by Command.
By Default, the Argument Types are:
- Str ( Str are define as letters or words )
- Int ( Int are define as numbers from 0 to 2147483647 )
- Sng
- ItemCollection
- Bool ( Bool are define as words such as True, False )
- Rec
- IntArr
- StrArr
- SngArr
- BoolArr
- PokemonData ( PokemonData are define as Pokemon Code )
- Arr
For any optional Argument, it will be engrave by a square braket for example "[str]"
@Battle
|