00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005 class HFile_mudmaster extends HFile{
00006 function HFile_mudmaster(){
00007 $this->HFile();
00008
00009
00010
00011
00012
00013
00014 $this->nocase = "0";
00015 $this->notrim = "0";
00016 $this->perl = "0";
00017
00018
00019
00020 $this->colours = array("blue", "brown", "gray");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array();
00028 $this->unindent = array();
00029
00030
00031
00032 $this->stringchars = array();
00033 $this->delimiters = array("#", "$", "%", "&", "+", ",", "-", ".", " ", "/", "(", ")", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "<", "=", ">", "[", "\\", "]", "^", "_", "|", "~", "`", "@");
00034 $this->escchar = "";
00035
00036
00037
00038 $this->linecommenton = array("");
00039 $this->blockcommenton = array("");
00040 $this->blockcommentoff = array("");
00041
00042
00043
00044 $this->keywords = array(
00045 "action" => "1",
00046 "alias" => "1",
00047 "array" => "1",
00048 "assign" => "1",
00049 "autoaccept" => "1",
00050 "barback" => "1",
00051 "barfore" => "1",
00052 "baritem" => "1",
00053 "baritemback" => "1",
00054 "baritemfore" => "1",
00055 "barseparator" => "1",
00056 "bell" => "1",
00057 "CacheSize" => "1",
00058 "call" => "1",
00059 "calldll" => "1",
00060 "changes" => "1",
00061 "char" => "1",
00062 "chat" => "1",
00063 "chatall" => "1",
00064 "chatback" => "1",
00065 "chatcommands" => "1",
00066 "chatfore" => "1",
00067 "chatgroup" => "1",
00068 "chatgroupremove" => "1",
00069 "chatgroupset" => "1",
00070 "chatignore" => "1",
00071 "chatname" => "1",
00072 "chatport" => "1",
00073 "chatprivate" => "1",
00074 "chatserve" => "1",
00075 "chattransfers" => "1",
00076 "chatversions" => "1",
00077 "clearlist" => "1",
00078 "cr" => "1",
00079 "debugdepth" => "1",
00080 "default" => "1",
00081 "dir" => "1",
00082 "disableaction" => "1",
00083 "disablealias" => "1",
00084 "disablebaritem" => "1",
00085 "disableevent" => "1",
00086 "disablegag" => "1",
00087 "disablegroup" => "1",
00088 "disablehighlight" => "1",
00089 "disablemacro" => "1",
00090 "disablesub" => "1",
00091 "dll" => "1",
00092 "dnd" => "1",
00093 "doevents" => "1",
00094 "downloadpath" => "1",
00095 "echo" => "1",
00096 "editaction" => "1",
00097 "editalias" => "1",
00098 "editbaritem" => "1",
00099 "editevent" => "1",
00100 "editgag" => "1",
00101 "edithighlight" => "1",
00102 "editmacro" => "1",
00103 "editsub" => "1",
00104 "edit" => "1",
00105 "emote" => "1",
00106 "emoteall" => "1",
00107 "emotegroup" => "1",
00108 "empty" => "1",
00109 "enableaction" => "1",
00110 "enablealias" => "1",
00111 "enablebaritem" => "1",
00112 "enableevent" => "1",
00113 "enablegag" => "1",
00114 "enablegroup" => "1",
00115 "enablehighlight" => "1",
00116 "enablemacro" => "1",
00117 "enablesub" => "1",
00118 "event" => "1",
00119 "filecancel" => "1",
00120 "filedelete" => "1",
00121 "filestatus" => "1",
00122 "fireevent" => "1",
00123 "freelibrary" => "1",
00124 "gag" => "1",
00125 "grep" => "1",
00126 "groupactions" => "1",
00127 "groupaliases" => "1",
00128 "grouparrays" => "1",
00129 "groupbaritems" => "1",
00130 "groupchat" => "1",
00131 "groupemote" => "1",
00132 "groupevents" => "1",
00133 "grouplists" => "1",
00134 "groupmacros" => "1",
00135 "groupsubs" => "1",
00136 "groputablist" => "1",
00137 "groupvariables" => "1",
00138 "help" => "1",
00139 "highlight" => "1",
00140 "if" => "1",
00141 "ignore" => "1",
00142 "ignorealiases" => "1",
00143 "information" => "1",
00144 "itemadd" => "1",
00145 "itemdelete" => "1",
00146 "killall" => "1",
00147 "killgroup" => "1",
00148 "listadd" => "1",
00149 "listdelete" => "1",
00150 "listitems" => "1",
00151 "lists" => "1",
00152 "loadlibrary" => "1",
00153 "logpath" => "1",
00154 "logstatus" => "1",
00155 "loop" => "1",
00156 "macro" => "1",
00157 "math" => "1",
00158 "message" => "1",
00159 "msp" => "1",
00160 "nodefault" => "1",
00161 "openport" => "1",
00162 "pace" => "1",
00163 "pause" => "1",
00164 "peekconnections" => "1",
00165 "ping" => "1",
00166 "playmidi" => "1",
00167 "playwav" => "1",
00168 "presubstitute" => "1",
00169 "promptoverwrite" => "1",
00170 "read" => "1",
00171 "remark" => "1",
00172 "requestconnects" => "1",
00173 "resetevent" => "1",
00174 "savescrollback" => "1",
00175 "scriptpath" => "1",
00176 "sendaction" => "1",
00177 "sendalias" => "1",
00178 "sendarray" => "1",
00179 "sendbaritem" => "1",
00180 "sendevent" => "1",
00181 "sendfile" => "1",
00182 "sendgag" => "1",
00183 "sendgroup" => "1",
00184 "sendhighlight" => "1",
00185 "sendlist" => "1",
00186 "sendmacro" => "1",
00187 "sendsub" => "1",
00188 "sendvariable" => "1",
00189 "session" => "1",
00190 "sessionaddress" => "1",
00191 "sessionname" => "1",
00192 "sessionpath" => "1",
00193 "sessionport" => "1",
00194 "setbackcolor" => "1",
00195 "setCWD" => "1",
00196 "seteventtime" => "1",
00197 "setforecolor" => "1",
00198 "setIP" => "1",
00199 "setInternalIP" => "1",
00200 "setExternalIP" => "1",
00201 "showme" => "1",
00202 "showmismatcherrors" => "1",
00203 "snoop" => "1",
00204 "soundpath" => "1",
00205 "speedwalk" => "1",
00206 "startchatserver" => "1",
00207 "suball" => "1",
00208 "substitute" => "1",
00209 "subword" => "1",
00210 "tabadd" => "1",
00211 "tabdelete" => "1",
00212 "tablist" => "1",
00213 "textin" => "1",
00214 "unaction" => "1",
00215 "unalias" => "1",
00216 "unarray" => "1",
00217 "unbaritem" => "1",
00218 "unchat" => "1",
00219 "undo" => "1",
00220 "unevent" => "1",
00221 "ungag" => "1",
00222 "unhighlight" => "1",
00223 "unmacro" => "1",
00224 "unsubstitute" => "1",
00225 "unvariable" => "1",
00226 "updatebaritem" => "1",
00227 "updatestatusbar" => "1",
00228 "uploadpath" => "1",
00229 "variable" => "1",
00230 "version" => "1",
00231 "volumebits" => "1",
00232 "volumedefault" => "1",
00233 "volumemax" => "1",
00234 "while" => "1",
00235 "write" => "1",
00236 "writegroup" => "1",
00237 "zap" => "1",
00238 "Abs" => "4",
00239 "AnsiBold" => "4",
00240 "AnsiReset" => "4",
00241 "Asc" => "4",
00242 "BackBlack" => "4",
00243 "BackCyan" => "4",
00244 "BackGreen" => "4",
00245 "BackMagenta" => "4",
00246 "BackRed" => "4",
00247 "BackWhite" => "4",
00248 "BackYellow" => "4",
00249 "CharColor" => "4",
00250 "Chr" => "4",
00251 "CommandCount" => "4",
00252 "CommandToList" => "4",
00253 "ConCat" => "4",
00254 "Connected" => "4",
00255 "CWD" => "4",
00256 "Day" => "4",
00257 "EventTime" => "4",
00258 "Exists" => "4",
00259 "FileExists" => "4",
00260 "ForeBlack" => "4",
00261 "ForeCyan" => "4",
00262 "ForeGreen" => "4",
00263 "ForeMagenta" => "4",
00264 "ForeRed" => "4",
00265 "ForeWhite" => "4",
00266 "ForeYellow" => "4",
00267 "GetCount" => "4",
00268 "GetArray" => "4",
00269 "GetItem" => "4",
00270 "Hour" => "4",
00271 "InList" => "4",
00272 "IP" => "4",
00273 "IPP" => "4",
00274 "IsEmpty" => "4",
00275 "IsNumber" => "4",
00276 "Left" => "4",
00277 "Len" => "4",
00278 "Lower" => "4",
00279 "LTrim" => "4",
00280 "Math" => "4",
00281 "Mid" => "4",
00282 "Minute" => "4",
00283 "Month" => "4",
00284 "NumActions" => "4",
00285 "NumAliases" => "4",
00286 "NumArrays" => "4",
00287 "NumBars" => "4",
00288 "NumEvents" => "4",
00289 "NumGags" => "4",
00290 "NumHighlights" => "4",
00291 "NumLists" => "4",
00292 "NumMacros" => "4",
00293 "NumTabs" => "4",
00294 "NumSubstitutes" => "4",
00295 "NumVars" => "4",
00296 "PadLeft" => "4",
00297 "PadRight" => "4",
00298 "PreTranslate" => "4",
00299 "ProcedureCount" => "4",
00300 "Random" => "4",
00301 "ReadableTime" => "4",
00302 "Right" => "4",
00303 "RTrim" => "4",
00304 "Second" => "4",
00305 "StripAnsi" => "4",
00306 "StrStr" => "4",
00307 "TextColor" => "4",
00308 "Time" => "4",
00309 "TimeToDay" => "4",
00310 "TimeToDayOfWeek" => "4",
00311 "TimeToHour" => "4",
00312 "TimeToMinute" => "4",
00313 "TimeToMonth" => "4",
00314 "TimeToSecond" => "4",
00315 "TimeToYear" => "4",
00316 "Upper" => "4",
00317 "Val" => "4",
00318 "Var" => "4",
00319 "Version" => "4",
00320 "Word" => "4",
00321 "WordColor" => "4",
00322 "WordCount" => "4",
00323 "Year" => "4",
00324 "@" => "4",
00325 "-" => "3",
00326 "+" => "3",
00327 "=" => "3",
00328 "$" => "3");
00329
00330
00331
00332
00333
00334
00335
00336
00337 $this->linkscripts = array(
00338 "1" => "donothing",
00339 "4" => "donothing",
00340 "3" => "donothing");
00341 }
00342
00343
00344 function donothing($keywordin)
00345 {
00346 return $keywordin;
00347 }
00348
00349 }?>