- 9
- Posts
- 17
- Years
- Seen Mar 10, 2023
PokeScript Add-on For Notepad++
Hello, and thank you for checking out my thread!
I have made a simple Add-on for Notepad++ to detect keywords such as lock, faceplayer, release, message, boxset and more to be displayed in blue in Notepad++
Visuals:
A screenshot of the Notepadd++ add-on is located here:
i20.photobucket.com/albums/b213/LeonandMyMom/NotepadPokeScript.png
Benefits and Features:
Here are some things that will make you want to use this Add-on
1. You know you got everything spelled correctly because all Keywords will turn blue
2. Easy to navigate through #ORG - end with folder control
3. All the colors are pretty... lol
Keywords:
Click on the spoiler below to view a list of the available keywords. If theres a keyword that doesn't come up for you (and it probably will) just send me a post on this thread.
How To Install:
Copy the XML and paste it in your userDefineLang.xml file
Location for Windows XP: C:\Documents and Settings\User Name\Application Data\Notepad++\userDefineLang.xml
Final Comments:
The only problem is, I thought messages used the quotes around them. Because of this, common words like "if" and "else" will show up blue in your messages.
NOTE: This will not alter the code in any way, just ignore it.
If you have any solution for this minor problem please post an answer here.
If you have any questions, comments, or concerns or what have you. Please post it here, or email me at [email protected]
The XML
Click the Spoiler to Expand the XML and place this in the location described above
I assume this is the correct place to be posting this. If not please redirect me to the proper area.
Hello, and thank you for checking out my thread!
I have made a simple Add-on for Notepad++ to detect keywords such as lock, faceplayer, release, message, boxset and more to be displayed in blue in Notepad++
Visuals:
A screenshot of the Notepadd++ add-on is located here:
i20.photobucket.com/albums/b213/LeonandMyMom/NotepadPokeScript.png
Benefits and Features:
Here are some things that will make you want to use this Add-on
1. You know you got everything spelled correctly because all Keywords will turn blue
2. Easy to navigate through #ORG - end with folder control
3. All the colors are pretty... lol
Keywords:
Click on the spoiler below to view a list of the available keywords. If theres a keyword that doesn't come up for you (and it probably will) just send me a post on this thread.
Spoiler:
General Keywords:
Lock Faceplayer release message boxset checkflag LASTRESULT if goto compare giveitem checkitem removeitem givepokemon jingle Namepokemon setflag countpokemon selectpokemon gosub applymovement pausemove pause #Binary setvar cry wildbattle fadescreen trainerbattle setweather doweather checkgender movesprite special warp
For use with IF statements:
B_TRUE B_FALSE B_<< B_== B_>> B_<= B_>= B_!=
Additional Keywords:
#ORG return end $VariableName
Lock Faceplayer release message boxset checkflag LASTRESULT if goto compare giveitem checkitem removeitem givepokemon jingle Namepokemon setflag countpokemon selectpokemon gosub applymovement pausemove pause #Binary setvar cry wildbattle fadescreen trainerbattle setweather doweather checkgender movesprite special warp
For use with IF statements:
B_TRUE B_FALSE B_<< B_== B_>> B_<= B_>= B_!=
Additional Keywords:
#ORG return end $VariableName
How To Install:
Copy the XML and paste it in your userDefineLang.xml file
Location for Windows XP: C:\Documents and Settings\User Name\Application Data\Notepad++\userDefineLang.xml
Final Comments:
The only problem is, I thought messages used the quotes around them. Because of this, common words like "if" and "else" will show up blue in your messages.
NOTE: This will not alter the code in any way, just ignore it.
If you have any solution for this minor problem please post an answer here.
If you have any questions, comments, or concerns or what have you. Please post it here, or email me at [email protected]
The XML
Click the Spoiler to Expand the XML and place this in the location described above
Spoiler:
<NotepadPlus>
<UserLang name="PokeScript" ext="RBC">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="no" />
<Prefix words1="yes" words2="no" words3="no" words4="yes" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">"00"00</Keywords>
<Keywords name="Folder+">#ORG</Keywords>
<Keywords name="Folder-">end return</Keywords>
<Keywords name="Operators">;</Keywords>
<Keywords name="Comment">1 2 0'</Keywords>
<Keywords name="Words1">$</Keywords>
<Keywords name="Words2">Lock Faceplayer release message boxset checkflag LASTRESULT if goto compare giveitem checkitem removeitem givepokemon Namepokemon setflag countpokemon selectpokemon gosub applymovement pausemove pause #Binary setvar cry wildbattle fadescreen trainerbattle setweather doweather checkgender movesprite special warp #RAW clearflag</Keywords>
<Keywords name="Words3">B_TRUE B_FALSE B_<< B_== B_>> B_<= B_>= B_!=</Keywords>
<Keywords name="Words4">x</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="8000FF" bgColor="EEDDFF" fontName="Courier New" fontStyle="1" fontSize="10" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="8000FF" bgColor="EEDDFF" fontName="" fontStyle="1" fontSize="11" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="FF8000" bgColor="FFEFDF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="00A800" bgColor="DFFFDF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="808080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
</NotepadPlus>
<UserLang name="PokeScript" ext="RBC">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="no" />
<Prefix words1="yes" words2="no" words3="no" words4="yes" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">"00"00</Keywords>
<Keywords name="Folder+">#ORG</Keywords>
<Keywords name="Folder-">end return</Keywords>
<Keywords name="Operators">;</Keywords>
<Keywords name="Comment">1 2 0'</Keywords>
<Keywords name="Words1">$</Keywords>
<Keywords name="Words2">Lock Faceplayer release message boxset checkflag LASTRESULT if goto compare giveitem checkitem removeitem givepokemon Namepokemon setflag countpokemon selectpokemon gosub applymovement pausemove pause #Binary setvar cry wildbattle fadescreen trainerbattle setweather doweather checkgender movesprite special warp #RAW clearflag</Keywords>
<Keywords name="Words3">B_TRUE B_FALSE B_<< B_== B_>> B_<= B_>= B_!=</Keywords>
<Keywords name="Words4">x</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="8000FF" bgColor="EEDDFF" fontName="Courier New" fontStyle="1" fontSize="10" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="8000FF" bgColor="EEDDFF" fontName="" fontStyle="1" fontSize="11" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="FF8000" bgColor="FFEFDF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="00A800" bgColor="DFFFDF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="808080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
</NotepadPlus>
I assume this is the correct place to be posting this. If not please redirect me to the proper area.
Last edited: