mirc.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * mirc.php
00004  * -----
00005  * Author: Alberto 'Birckin' de Areba (Birckin@hotmail.com)
00006  * Copyright: (c) 2006 Alberto de Areba
00007  * Release Version: 1.0.7.20
00008  * Date Started: 2006/05/29
00009  *
00010  * mIRC Scripting language file for GeSHi.
00011  *
00012  * CHANGES
00013  * -------
00014  * 2006/05/29 (1.0.0)
00015  *   -  First Release
00016  *
00017  *************************************************************************************
00018  *
00019  *     This file is part of GeSHi.
00020  *
00021  *   GeSHi is free software; you can redistribute it and/or modify
00022  *   it under the terms of the GNU General Public License as published by
00023  *   the Free Software Foundation; either version 2 of the License, or
00024  *   (at your option) any later version.
00025  *
00026  *   GeSHi is distributed in the hope that it will be useful,
00027  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00028  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00029  *   GNU General Public License for more details.
00030  *
00031  *   You should have received a copy of the GNU General Public License
00032  *   along with GeSHi; if not, write to the Free Software
00033  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00034  *
00035  ************************************************************************************/
00036 
00037 $language_data = array (
00038      'LANG_NAME' => 'mIRC Scripting',
00039      'COMMENT_SINGLE' => array(1 => ';'),
00040      'COMMENT_MULTI' => array(),
00041      'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00042      'QUOTEMARKS' => array(),
00043      'ESCAPE_CHAR' => '',
00044      'KEYWORDS' => array(
00045           1 => array(
00046           'alias', 'menu', 'dialog',
00047                ),
00048           2 => array(
00049                'if', 'elseif', 'else', 'while', 'return', 'goto',
00050                ),
00051           3 => array(
00052                '/action','/ajinvite','/alias','/amsg','/ame','/anick','/aop',
00053                '/auser','/avoice','/auto','/autojoin','/away','/background','/ban',
00054                '/beep','/channel','/clear','/clearall','/clipboard','/close',
00055                '/closemsg','/color','/copy','/creq','/ctcp','/ctcpreply','/ctcps',
00056                '/dcc','/dde','/ddeserver','/debug','/describe','/disable',
00057                '/disconnect','/dlevel','/dll','/dns','/dqwindow','/ebeeps','/echo',
00058                '/editbox','/emailaddr','/enable','/events','/exit','/filter',
00059                '/findtext','/finger','/flash','/flood','/flush','/flushini',
00060                '/font','/fsend','/fserve','/fullname','/ghide','/gload','/gmove',
00061                '/gopts','/gplay','/gpoint','/gqreq','/groups','/gshow','/gsize',
00062                '/gstop','/gtalk','/gunload','/guser','/help','/hop','/ignore',
00063                '/invite','/join','/kick','/linesep','/links','/list','/load',
00064                '/loadbuf','/localinfo','/log','/me','/mdi','/mkdir','/mnick',
00065                '/mode','/msg','/names','/nick','/noop','/notice','/notify',
00066                '/omsg','/onotice','/part','/partall','/pdcc','/perform','/ping',
00067                '/play','/pop','/protect','/pvoice','/qmsg','/qme','/query',
00068                '/queryrn','/quit','/raw','/remini','/remote','/remove','/rename',
00069                'renwin','/resetidle','/rlevel','/rmdir','/run','/ruser','/save',
00070                '/savebuf','/save','/saveini','/say','/server','/showmirc','/sline',
00071                '/sound','/speak','/splay','/sreq','/strip','/time',
00072                //'/timer[N/name]', //Handled as a regular expression below ...
00073                '/timers','/timestamp','/titlebar','/tnick','/tokenize','/topic',
00074                '/ulist','/unload','/updatenl','/url','/uwho','window','/winhelp',
00075                '/write','/writeini','/who','/whois','/whowas'
00076                )
00077           ),
00078      'SYMBOLS' => array(
00079           '(', ')', '{', '}', '[', ']', '|',
00080           ),
00081      'CASE_SENSITIVE' => array(
00082           GESHI_COMMENTS => true,
00083           1 => false,
00084           2 => false,
00085           ),
00086      'STYLES' => array(
00087           'KEYWORDS' => array(
00088                1 => 'color: #994444;',
00089                2 => 'color: #000000; font-weight: bold;',
00090                3 => 'color: #990000; font-weight: bold;',
00091                ),
00092           'COMMENTS' => array(
00093                1 => 'color: #808080; font-style: italic;',
00094                ),
00095           'ESCAPE_CHAR' => array(
00096                ),
00097           'BRACKETS' => array(
00098                0 => 'color: #FF0000;',
00099                ),
00100           'STRINGS' => array(
00101                ),
00102         'NUMBERS' => array(
00103             0 => '',
00104                ),
00105           'METHODS' => array(
00106                ),
00107           'SYMBOLS' => array(
00108                0 => 'color: #FF0000;',
00109                ),
00110           'REGEXPS' => array(
00111                0 => 'color: #000099;',
00112                1 => 'color: #990000;',
00113                2 => 'color: #888800;',
00114                3 => 'color: #888800;',
00115                4 => 'color: #000099;',
00116                5 => 'color: #000099;',
00117                6 => 'color: #990000; font-weight: bold;',
00118                ),
00119           'SCRIPT' => array(
00120                )
00121           ),
00122      'URLS' => array(
00123           1 => '',
00124           2 => '',
00125           3 => 'http://www.mirc.com/{FNAME}',
00126           4 => ''
00127           ),
00128      'OOLANG' => false,
00129      'OBJECT_SPLITTERS' => array(
00130           ),
00131      'REGEXPS' => array(
00132           0 => '\$[^$][^ ,\(\)]*',
00133           1 => '(%|&).+?[^ ,\)]*',
00134           2 => '(#|@).+?[^ ,\)]*',
00135           3 => '-[a-z\d]+',
00136           4 => '(on|ctcp) (!|@|&)?(\d|\*):[a-zA-Z]+:',
00137           /*4 => array(
00138                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):)',
00139                GESHI_REPLACE => '\\1',
00140                GESHI_MODIFIERS => 'i',
00141                GESHI_BEFORE => '',
00142                GESHI_AFTER => ''
00143                ),*/
00144         5 => 'raw (\d|\*):',
00145           6 => '\/timer(?!s\b)[0-9a-zA-Z_]+',
00146           ),
00147      'STRICT_MODE_APPLIES' => GESHI_NEVER,
00148      'SCRIPT_DELIMITERS' => array(
00149           ),
00150      'HIGHLIGHT_STRICT_BLOCK' => array(
00151           )
00152 );
00153 
00154 ?>

Erzeugt am Thu May 14 00:55:48 2009 für OpenRat von  doxygen 1.5.8