Menu

MSL support?

Cthulhux
2007-07-18
2012-11-13
  • Cthulhux

    Cthulhux - 2007-07-18

    What about syntax highlighting for the mIRC scripting language?

    I created a "user-defined" one, but it's not complete, as I don't fully know how to make it so...

     
    • Nobody/Anonymous

      sorry about that just tried to help

       
      • Nobody/Anonymous

        We can feed the whole world, so when there is some kind of a disaster anywhere, we can solve the immediate problem in a minute. However, for the long term solution of a problem, it is better to learn those to provide in their own food. Or perhaps write a book from which they can learn, instead of telling the same story to all those people personally. You get the idea of different and possibly (in)effective ways of helping?

         
    • Nobody/Anonymous

      userDefineLang.xml:
      <NotepadPlus>
          <UserLang name="mIRC Script" ext="mrc">
              <Settings>
                  <Global caseIgnored="yes" />
                  <TreatAsSymbol comment="no" commentLine="no" />
                  <Prefix words1="yes" words2="yes" words3="yes" words4="yes" />
              </Settings>
              <KeywordLists>
                  <Keywords name="Delimiters">000000</Keywords>
                  <Keywords name="Folder+"></Keywords>
                  <Keywords name="Folder-"></Keywords>
                  <Keywords name="Operators">( ) [ ] { }</Keywords>
                  <Keywords name="Comment">1 2 2 0;</Keywords>
                  <Keywords name="Words1">menu % alias</Keywords>
                  <Keywords name="Words2">echo msg say remove</Keywords>
                  <Keywords name="Words3"># *! @</Keywords>
                  <Keywords name="Words4">$</Keywords>
              </KeywordLists>
              <Styles>
                  <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="Verdana" fontStyle="0" fontSize="8" />
                  <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
                  <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
                  <WordsStyle name="KEYWORD1" styleID="5" fgColor="800000" bgColor="FFFFFF" fontName="Verdana" fontStyle="2" fontSize="8" />
                  <WordsStyle name="KEYWORD2" styleID="6" fgColor="FF8040" bgColor="FFFFFF" fontName="Verdana" fontStyle="0" fontSize="8" />
                  <WordsStyle name="KEYWORD3" styleID="7" fgColor="808040" bgColor="FFFFFF" fontName="Verdana" fontStyle="0" fontSize="8" />
                  <WordsStyle name="KEYWORD4" styleID="8" fgColor="000080" bgColor="FFFFFF" fontName="Verdana" fontStyle="0" fontSize="8" />
                  <WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
                  <WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Verdana" fontStyle="2" fontSize="8" />
                  <WordsStyle name="NUMBER" styleID="4" fgColor="0080C0" bgColor="FFFFFF" fontName="Verdana" fontStyle="0" fontSize="8" />
                  <WordsStyle name="OPERATOR" styleID="10" fgColor="FF0000" bgColor="FFFFFF" fontName="Verdana" fontStyle="0" fontSize="8" />
                  <WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="Verdana" 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>

       
      • Nobody/Anonymous

        Perhaps it is a good idea to post the same message only once, and as an alternative, refer to it from another forum's thread instead of adding the same text there again. This may (also) alleviate going through a lot of matches when searching for a particular subject or question/answer.