2 /*************************************************************************************
5 * Author: Alberto 'Birckin' de Areba (Birckin@hotmail.com)
6 * Copyright: (c) 2006 Alberto de Areba
7 * Release Version: 1.0.7.19
8 * Date Started: 2006/05/29
10 * mIRC Scripting language file for GeSHi.
17 *************************************************************************************
19 * This file is part of GeSHi.
21 * GeSHi is free software; you can redistribute it and/or modify
22 * it under the terms of the GNU General Public License as published by
23 * the Free Software Foundation; either version 2 of the License, or
24 * (at your option) any later version.
26 * GeSHi is distributed in the hope that it will be useful,
27 * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 * GNU General Public License for more details.
31 * You should have received a copy of the GNU General Public License
32 * along with GeSHi; if not, write to the Free Software
33 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
35 ************************************************************************************/
37 $language_data = array (
38 'LANG_NAME' => 'mIRC Scripting',
39 'COMMENT_SINGLE' => array(1 => ';'),
40 'COMMENT_MULTI' => array(),
41 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE
,
42 'QUOTEMARKS' => array(),
46 'alias', 'menu', 'dialog',
49 'if', 'elseif', 'else', 'while', 'return', 'goto',
53 '(', ')', '{', '}', '[', ']', '|',
55 'CASE_SENSITIVE' => array(
56 GESHI_COMMENTS
=> true
,
62 1 => 'color: #994444;',
63 2 => 'color: #000000; font-weight: bold;',
66 1 => 'color: #808080; font-style: italic;',
68 'ESCAPE_CHAR' => array(
71 0 => 'color: #FF0000;',
81 0 => 'color: #FF0000;',
84 0 => 'color: #000099;',
85 1 => 'color: #990000;',
86 2 => 'color: #888800;',
87 3 => 'color: #888800;',
88 4 => 'color: #000099;',
89 5 => 'color: #000099;',
97 3 => 'http://www.mirc.com/{FNAME}',
101 'OBJECT_SPLITTERS' => array(
104 0 => '\$[^$][^ ,\(\)]*',
105 1 => '(%|&).+?[^ ,\)]*',
106 2 => '(#|@).+?[^ ,\)]*',
108 4 => '(on|ctcp) (!|@|&)?(\d|\*):[a-zA-Z]+:',
110 GESHI_SEARCH => '((on|ctcp) (!|@|&)?(\d|\*):(Action|Active|Agent|AppActive|Ban|Chat|Close|Connect|Ctcp|CtcpReply|DccServer|DeHelp|DeOp|DeVoice|Dialog|Dns|Error|Exit|FileRcvd|FileSent|GetFail|Help|Hotlink|Input|Invite|Join|KeyDown|KeyUp|Kick|Load|Logon|MidiEnd|Mode|Mp3End|Nick|NoSound|Notice|Notify|Op|Open|Part|Ping|Pong|PlayEnd|Quit|Raw|RawMode|SendFail|Serv|ServerMode|ServerOp|Signal|Snotice|Start|Text|Topic|UnBan|Unload|Unotify|User|Mode|Voice|Wallops|WaveEnd):)',
111 GESHI_REPLACE => '\\1',
112 GESHI_MODIFIERS => 'i',
118 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
119 'SCRIPT_DELIMITERS' => array(
121 'HIGHLIGHT_STRICT_BLOCK' => array(