ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

m​IRC Scripting Language (Highlighting and Autocomplete)

by Evan Greene ST3

mIRC mSL Sublime Text Syntax Highlighter and Autocomplete

Details

Installs

  • Total 531
  • Win 378
  • OS X 66
  • Linux 87
Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6
Windows 0 0 0 0 0 1 0 1 1 0 1 0 1 0 1 0 0 0 1 0 3 2 1 1 2 2 1 0 1 0 1 0 2 1 1 1 5 3 0 0 0 0 13 0 0 0
OS X 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0
Linux 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

mIRC-Scripting-Language-for-Sublime-Text

Updated for mIRC 7.52 (April 2018) Reviewing mIRC 7.54 (December 2018)

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

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.

Auto Completion

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.

Installation

Option 1 (Package Control)

This package is now available in Package Control. If you have Package Control installed: 1. Ctrl+Shift+P 2. Install Package 3. mIRC Scripting Language (Highlight and Autocomplete)

Option 2 (Manual)

  1. Copy mIRC-msl.sublime-syntax to Sublime\Data\Packages\User folder.
  2. Copy mIRC-msl.sublime-completions to Sublime\Data\Packages\User folder.

You may need to create the Packages\User folder.

Alt text

Theme Support

A slightly modified theme has been provided in the Extras folder that supports all features of the highlighter. Themes should support the following scopes to support all styles of this highlighter: 1. comment.line.double-slash 2. constant.numeric 3. constant.numeric.line-number.find-in-files 4. entity.name.class 5. entity.name.function 6. entity.name.tag 7. Keyword.control 8. keyword.operator 9. punctuation.definition.comment 10. string 11. variable.parameter

Please see the provided theme to see all implemented features. If you prefer to use another theme, file an issue and I'll see if I can modify the theme to work. Additionally, you can use the following to modify it yourself or create a new one: https://tmtheme-editor.herokuapp.com/#!/editor/theme/Monokai

Alt text

Bugs

Let me know if you find any bugs by submitting an Issue.

IRC Support

  • #Computers @ EFNet
  • #mIRC @ EFNet

Special Thanks

Peace and Protection Script - Lots of complex code from this project that I use to test the highlighter.