mIRC (mSL) Language on Notepad++

By ^WeSt on Aug 06, 2017

Description:

This is an updated XML definition scripting language for your Notepad++ that also including and some extras AdiIRC client events/commands, make sure you are using the latest version in order to work.

Installation:

1. Close your Notepad++.exe program.
2. Copy that source code and save it to a file with "mIRC (mSL).xml" name.
3. Open your Notepad++.exe and go in menubar and hit "Language -> Define your language" then click on "Import" and select the file you saved.
4. Restart your Notepad++.exe program.
5. Open your Notepad++.exe and make a new file and paste there your mIRC code, then go in the menubar and click "Language -> mIRC (mSL)".
6. You're done.

http://a.pomf.cat/szlvyc.mp4
Image 1

<NotepadPlus>
    <UserLang name="mIRC (mSL)" ext="mrc" udlVersion="2.1">
        <Settings>
            <Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="2" decimalSeparator="0" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="yes" Keywords5="yes" Keywords6="yes" Keywords7="yes" Keywords8="yes" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments">00; 01 02 03/* 04*/</Keywords>
            <Keywords name="Numbers, prefix1"></Keywords>
            <Keywords name="Numbers, prefix2"></Keywords>
            <Keywords name="Numbers, extras1"></Keywords>
            <Keywords name="Numbers, extras2"></Keywords>
            <Keywords name="Numbers, suffix1"></Keywords>
            <Keywords name="Numbers, suffix2"></Keywords>
            <Keywords name="Numbers, range"></Keywords>
            <Keywords name="Operators1">( ) &quot; ; ? \ ` / [ ] ! ,</Keywords>
            <Keywords name="Operators2"> ~ = == === | || : + @ ^ &gt;= &lt;= &gt; &lt; &amp;&amp; &amp;</Keywords>
            <Keywords name="Folders in code1, open">{</Keywords>
            <Keywords name="Folders in code1, middle"></Keywords>
            <Keywords name="Folders in code1, close">}</Keywords>
            <Keywords name="Folders in code2, open">*</Keywords>
            <Keywords name="Folders in code2, middle"></Keywords>
            <Keywords name="Folders in code2, close"></Keywords>
            <Keywords name="Folders in comment, open"></Keywords>
            <Keywords name="Folders in comment, middle"></Keywords>
            <Keywords name="Folders in comment, close"></Keywords>
            <Keywords name="Keywords1">abook action ajinvite aline ame amsg anick aop auto auser autojoin avoice away background ban bcopy beep bindip bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini fnord font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload guser hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd ignore iline inc iuser join linesep links lusers load loadbuf localinfo log mdi me menubar mkdir mnick mode motd msg noop notify notice names omsg onotice partall pdcc perform play playctrl pop protect pvoice ping ping privmsg qme qmsg query queryrn raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signal sline sockaccept sockclose socklist socklisten sockmark sockopen sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol version while window winhelp write writeini xyzzy nick part parseline invite quit ctcp closemsg debug kick user logview proxy tip tips topic whois who whowas lusers status nicklist menubar aclear advertise allnick autoconnect aquit back banlist betaup bin2txt bw channels charset config cycleall dehalfop deop desop devoice dock dockpanels download echomonitor echox encoding fakeraw fget fullscreen gcmem globalkeys halfop highlight inick lag linemarker lock logs msgbox mute nextunread nmsg np oline options paths plugins priv quickconnect quicksave rawx rawlog realname reconnect rejoin resolve restart scripts scrolltext search serverlist setconfig setoption showadiirc showmenu slap sleep sop themes topicbox usernick txt2bin unban unignore unnotify update vars viewlog voice wdown wjump wnext wpause wplay wprev wsearch wseekf wseekr wselect wstop wup zip size title option icon button tab text edit link box radio item combo check menu edit dbu disable center left right drop vsbar read multi autovs autohs noborder default cancel ok list disable scroll link pixels notheme nowrap pass return hsbar rich flat push 3state bottom top horizontal range sort extsel multsel small large actual group hide disabled init dclick sclick uclick rclick mouse START QUIT KICK DISCONNECT CONNECT JOIN PART NICK BAN UNBAN EXIT TOPIC INVITE NOTICE RAWMODE CTCP APPACTIVE USERMODE LOGON CONNECTFAIL OPEN AGENT ACTIVE CHAT CLOSE DCCSERVER DEHELP OP DEOP HELP VOICE DEVOICE FILERCVD FILESENT GETFAIL HOTLINK INPUT KEYDOWN KEYUP LOAD MIDIEND MODE MP3END NOSOUND NOTIFY PARSELINE PING PLAYEND PONG SENDFAIL SERV SERVERMODE SERVEROP SIGNAL SNOTICE TABCOMP UDPREAD UNLOAD UNOTIFY VCMD WALLOPS WAVEEND ADMIN DEADMIN DOWNLOAD CLIENTTEXT MSCROLL OPTIONS RESUME SONG SUSPEND ZIP UNZIP .abook .action .ajinvite .aline .ame .amsg .anick .aop .auto .auser .autojoin .avoice .away .background .ban .bcopy .beep .bindip .bread .break .breplace .bset .btrunc .bunset .bwrite .channel .clear .clearall .cline .clipboard .close .cnick .color .comclose .comopen .comreg .continue .copy .creq .ctcpreply .ctcps .dcc .dccserver .dde .ddeserver .debug .dec .describe .dialog .did .didtok .disconnect .dlevel .dline .dll .dns .dqwindow .drawcopy .drawdot .drawfill .drawline .drawpic .drawrect .drawreplace .drawrot .drawsave .drawscroll .drawtext .ebeeps .echo .editbox .emailaddr .enable .events .exit .fclose .filter .findtext .finger .firewall .flash .flist .flood .flush .flushini .fnord .font .fopen .fseek .fsend .fserve .fullname .fwrite .ghide .gload .gmove .gopts .goto .gplay .gpoint .gqreq .groups .gshow .gsize .gstop .gtalk .gunload .guser .hadd .halt .haltdef .hdec .hdel .help .hfree .hinc .hload .hmake .hop .hsave .ial .ialclear .ialmark .identd .ignore .iline .inc .iuser .join .linesep .links .lusers .load .loadbuf .localinfo .log .mdi .me .menubar .mkdir .mnick .mode .motd .msg .noop .notify .notice .names .omsg .onotice .partall .pdcc .perform .play .playctrl .pop .protect .pvoice .ping .privmsg .qme .qmsg .query .queryrn .raw .reload .remini .remote .remove .rename .renwin .reseterror .resetidle .return .rlevel .rline .rmdir .run .ruser .save .savebuf .saveini .say .scid .scon .server .set .showmirc .signal .sline .sockaccept .sockclose .socklist .socklisten .sockmark .sockopen .sockread .sockrename .sockudp .sockwrite .sound .speak .splay .sreq .strip .switchbar .timer .timestamp .titlebar .tnick .tokenize .toolbar .tray .treebar .ulist .unload .unset .unsetall .updatenl .url .uwho .var .vcadd .vcmd .vcrem .vol .version .while .window .winhelp .write .writeini .xyzzy .nick .part .parseline .invite .quit .ctcp .closemsg .kick .user .logview .proxy .tip .tips .topic .whois .who .whowas .status .nicklist .aclear .advertise .allnick .autoconnect .aquit .back .banlist .betaup .bin2txt .bw .channels .charset .config .cycleall .dehalfop .deop .desop .devoice .dock .dockpanels .download .echomonitor .echox .encoding .fakeraw .fget .fullscreen .gcmem .globalkeys .halfop .highlight .inick .lag .linemarker .lock .logs .msgbox .mute .nextunread .nmsg .np .oline .options .paths .plugins .priv .quickconnect .quicksave .rawx .rawlog .realname .reconnect .rejoin .resolve .restart .scripts .scrolltext .search .serverlist .setconfig .setoption .showadiirc .showmenu .slap .sleep .sop .themes .topicbox .usernick .txt2bin .unban .unignore .unnotify .update .vars .viewlog .voice .wdown .wjump .wnext .wpause .wplay .wprev .wsearch .wseekf .wseekr .wselect .wstop .wup .zip</Keywords>
            <Keywords name="Keywords2">isin isincs iswm iswmcs isnum isletter isalnum isalpha islower isupper ison isop ishop isvoice isreg ischan isban isaop isavoice isignore isprotect isnotify Alias if else elseif on off</Keywords>
            <Keywords name="Keywords3">.</Keywords>
            <Keywords name="Keywords4">% # &amp;</Keywords>
            <Keywords name="Keywords5">$ $+</Keywords>
            <Keywords name="Keywords6">:</Keywords>
            <Keywords name="Keywords7">-</Keywords>
            <Keywords name="Keywords8">* ^</Keywords>
            <Keywords name="Delimiters">00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="COMMENTS" fgColor="008040" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="2" fontSize="9" nesting="0" />
            <WordsStyle name="LINE COMMENTS" fgColor="008040" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="2" fontSize="9" nesting="0" />
            <WordsStyle name="NUMBERS" fgColor="FF00FF" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="KEYWORDS1" fgColor="000080" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="KEYWORDS2" fgColor="8000FF" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="KEYWORDS3" fgColor="0080FF" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="KEYWORDS4" fgColor="804000" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="KEYWORDS5" fgColor="0080FF" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="KEYWORDS6" fgColor="408080" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="KEYWORDS7" fgColor="FF8040" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="KEYWORDS8" fgColor="800000" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="OPERATORS" fgColor="FF0000" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="FOLDER IN CODE1" fgColor="FF0000" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="FOLDER IN CODE2" fgColor="008040" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="0" fontSize="9" nesting="0" />
            <WordsStyle name="FOLDER IN COMMENT" fgColor="008040" bgColor="FFFFFF" fontName="Fixedsys" fontStyle="2" fontSize="9" nesting="0" />
            <WordsStyle name="DELIMITERS1" fgColor="004000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="117702655" />
            <WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
        </Styles>
    </UserLang>
</NotepadPlus>

Comments

Sign in to comment.
falarcompaulo   -  Aug 28, 2017

Nice, it's always good to have options!!

I am currently using mEdit - http://kthx.net/medit/
mEdit.dll gives me syntax highlight right on mIRC Editor, along with NoInstaCrash.dll (because some people say mEdit.dll is instable and crashes mIRC often) ...

^WeSt  -  Sep 03, 2017

I had tried both dlls, noinstacrash.dll when the mirc is crashing it causing some problems to prevent the crash, and medit.dll was having a lot of bugs according large files and fonting issues.

Have a try in msldev.com that is more stable but is also outdated.

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.