Updated for mIRC 7.77 (July 2024)
This project implements syntax highlighting and autocompletion for mIRC msl. It currently supports:
- All /Commands
- All $Identifiers
- All on EVENTs
- Goto Loop highlighting
- Popups
- #Groups
- Comments (; and /*)
- @Windows
- Numerics
- User Variables
- Params ($1, $2, etc)
- Operators (ison, iswm, $+, >=, <=, etc)
- Logic (if, else, while, etc)
This project aims to make Sublime Text the premier choice for developing mIRC msl. If you encounter any problems, please create an issue.
Highlighting currently supports all commands and identifiers in mIRC. In addition "on/ctcp/raw events" will also highlight. I try to cover all cases including: commands on new line, commands inline, commands after a |, commands after a {, etc. I welcome any suggestions for improvement.
Autocomplete will work for all /commands and $identifiers. They will display in the autocomplete popup. Additionally, I have added support for tabbing through the full syntax of /commands through /color (alphabetical). I am adding support for more and hope to support displaying the full syntax of all remaining commands and identifiers in the future.
This package is now available in Package Control. If you have Package Control installed:
- Ctrl+Shift+P
- Install Package
- mIRC Scripting Language (Highlight and Autocomplete)
- Copy mIRC-msl.sublime-syntax to Sublime\Data\Packages\User folder.
- Copy mIRC-msl.sublime-completions to Sublime\Data\Packages\User folder.
You may need to create the Packages\User folder.
A slightly modified theme has been provided in the Extras folder that supports all features of the highlighter.
To Activate: If you installed from package manager: Go to Tools->Select Color Scheme : Abdal Black Hackers
Otherwise: Copy the .tmTheme from the extras folder to your Sublime Text\Data\Packages\User folder. Then select the color scheme.
Themes should support the following scopes to support all styles of this highlighter:
- comment.line.double-slash
- constant.numeric
- constant.numeric.line-number.find-in-files
- entity.name.class
- entity.name.function
- entity.name.tag
- Keyword.control
- keyword.operator
- punctuation.definition.comment
- string
- variable.parameter
Please see the provided theme to see all implemented features. If your theme doesn't work, let me know by filing an issue.
Let me know if you find any bugs by submitting an Issue.
- Eneerge on EFnet
Peace and Protection Script - Lots of complex code from this project that I use to test the highlighter.