Defined rAthena NPC scripting language for Notepad++.
- NPC script commands.
- Constants from db/const.txt
- Open your Notepad++ and go to the Language > Define your language... > Import.
- Use default styles in the Settings > Style Configurator > Select theme: Default.
- Or you can download example style theme /themes/rAthenaWhite.xml and import it Settings < Import < Import style theme(s)....
- Restart Notepad++ after changing language or styles.
- Make a new theme by copying stylers.xml in ( %APPDATA%\notepad++ ) and rename it for your theme and edit it.
- Save it in ( %APPDATA%\notepad++\themes ) folder.
- Restart Notepad++ after edit.
- Copy an APIs/rathena.xml file to Notepad++ installation folder
Path\to\Notepad++\plugins\APIs\
. - Open menu Settings > Preferences... > Auto-Completion tab, check "Enable auto-completion on each input".
- Restart Notepad++.
Color: 0000FF
- All script commands except
- mes, it has own group!
- Flow control: if else switch case do while for
- Most usage commands: next close close2 close3 menu select callsub callfunc
Color: 0080C0
- Variable with scope: @ . .@ '
Color: FF8040
- Variable with scope: $ $@ # ##
Color: FF0000
- Keywords using prefix for common labels and functions: On F_ S_ L_
Color: 800040
- Flow control: if else switch case default do while for
- Most usage commands to make clear the block: next close close2 close3 end menu select callsub and callfunc
Color: FF0080
- All constants that grouped by prefix identifiers
- Item Bonuses constants
Color: FF0080
- All constants that are not grouped by prefix identifier
- Constants of NPC names (if only rAthena's script use
JT_
in script, this is not necessary)
Color: FF0080
mes
script command
Happy editing.