[-COMMENT-:GLOBAL] # LUA LANGUAGE KEYWORDS FILE FOR CRIMSON EDITOR # FIRST EDITED BY Walter Souto R. Junior (wsouto@bayweb.com.br) 05.11.2002 # UPDATE to Lua 5.0 by Matteo De Simone (matteo.desimone@libero.it) Jun, 16 2003 [KEYWORDS0:GLOBAL] # # Lua reserved words # and break do else elseif false for function if in local nil not or repeat return true until while end then [KEYWORDS1:GLOBAL] # # Lua internal functions # # global table _G # Lua version _VERSION # base functions assert collectgarbage dofile error gcinfo getfenv getmetatable ipairs load loadfile loadstring module newproxy next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall [KEYWORDS2:GLOBAL] # # Standard library functions # # coroutine coroutine.create coroutine.resume coroutine.running coroutine.status coroutine.wrap coroutine.yield # debug debug.debug debug.getfenv debug.gethook debug.getinfo debug.getlocal debug.getmetatable debug.getregistry debug.getupvalue debug.setfenv debug.sethook debug.setlocal debug.setmetatable debug.setupvalue debug.traceback # io io.close io.flush io.input io.lines io.open io.output io.popen io.read io.tmpfile io.type io.write # math math.abs math.acos math.asin math.atan math.atan2 math.ceil math.cos math.cosh math.deg math.exp math.floor math.fmod math.frexp math.ldexp math.log math.log10 math.max math.min math.modf math.pow math.rad math.random math.randomseed math.sin math.sinh math.sqrt math.tan math.tanh # os os.clock os.date os.difftime os.execute os.exit os.getenv os.remove os.rename os.setlocale os.time os.tmpname # package package.loadlib package.seeall # string string.byte string.char string.dump string.find string.format string.gfind string.gmatch string.gsub string.len string.lower string.match string.rep string.reverse string.sub string.upper # table table.concat table.foreach table.foreachi table.getn table.insert table.maxn table.remove table.setn table.sort [KEYWORDS3:GLOBAL] # # MUSHclient world library functions # # bc (big number) library bc.add bc.compare bc.digits bc.div bc.isneg bc.iszero bc.mod bc.mul bc.number bc.pow bc.sqrt bc.sub bc.tostring # bit manipulation bit.ashr bit.band bit.bor bit.mod bit.neg bit.shl bit.shr bit.tonumber bit.tostring bit.xor # progress bar progress.new # rex (regular expression) library (PCRE) rex.flags rex.new rex.version # general utility functions utils.activatenotepad utils.appendtonotepad utils.base64decode utils.base64encode utils.choose utils.compress utils.decompress utils.edit_distance utils.editbox utils.filepicker utils.fromhex utils.functionlist utils.hash utils.info utils.inputbox utils.listbox utils.md5 utils.metaphone utils.msgbox utils.multilistbox utils.readdir utils.sha256 utils.showdebugstatus utils.spellcheckdialog utils.split utils.tohex utils.umsgbox utils.utf8decode utils.utf8encode utils.utf8sub utils.utf8valid utils.xmlread # world functions prefixed by world. world.ANSI world.Accelerator world.AcceleratorList world.Activate world.ActivateClient world.ActivateNotepad world.AddAlias world.AddMapperComment world.AddSpellCheckWord world.AddTimer world.AddToMapper world.AddTrigger world.AddTriggerEx world.AdjustColour world.AnsiNote world.AppendToNotepad world.ArrayClear world.ArrayCount world.ArrayCreate world.ArrayDelete world.ArrayDeleteKey world.ArrayExists world.ArrayExport world.ArrayExportKeys world.ArrayGet world.ArrayGetFirstKey world.ArrayGetLastKey world.ArrayImport world.ArrayKeyExists world.ArrayList world.ArrayListAll world.ArrayListKeys world.ArrayListValues world.ArraySet world.ArraySize world.Base64Decode world.Base64Encode world.BroadcastPlugin world.CallPlugin world.ChangeDir world.ChatAcceptCalls world.ChatCall world.ChatCallzChat world.ChatDisconnect world.ChatDisconnectAll world.ChatEverybody world.ChatGetID world.ChatGroup world.ChatID world.ChatMessage world.ChatNameChange world.ChatNote world.ChatPasteEverybody world.ChatPasteText world.ChatPeekConnections world.ChatPersonal world.ChatPing world.ChatRequestConnections world.ChatSendFile world.ChatStopAcceptingCalls world.ChatStopFileTransfer world.CloseLog world.CloseNotepad world.ColourNameToRGB world.ColourNote world.ColourTell world.Connect world.CreateGUID world.Debug world.DeleteAlias world.DeleteAliasGroup world.DeleteAllMapItems world.DeleteCommandHistory world.DeleteGroup world.DeleteLastMapItem world.DeleteLines world.DeleteOutput world.DeleteTemporaryAliases world.DeleteTemporaryTimers world.DeleteTemporaryTriggers world.DeleteTimer world.DeleteTimerGroup world.DeleteTrigger world.DeleteTriggerGroup world.DeleteVariable world.DiscardQueue world.Disconnect world.DoAfter world.DoAfterNote world.DoAfterSpecial world.DoAfterSpeedWalk world.DoCommand world.EditDistance world.EnableAlias world.EnableAliasGroup world.EnableGroup world.EnableMapping world.EnablePlugin world.EnableTimer world.EnableTimerGroup world.EnableTrigger world.EnableTriggerGroup world.ErrorDesc world.EvaluateSpeedwalk world.Execute world.ExportXML world.FixupEscapeSequences world.FixupHTML world.FlushLog world.GenerateName world.GetAlias world.GetAliasInfo world.GetAliasList world.GetAliasOption world.GetAliasWildcard world.GetAlphaOption world.GetAlphaOptionList world.GetBoldColour world.GetChatInfo world.GetChatList world.GetChatOption world.GetClipboard world.GetCommand world.GetCommandList world.GetConnectDuration world.GetCurrentValue world.GetCustomColourBackground world.GetCustomColourName world.GetCustomColourText world.GetDefaultValue world.GetEchoInput world.GetEntity world.GetFrame world.GetGlobalOption world.GetGlobalOptionList world.GetHostAddress world.GetHostName world.GetInfo world.GetInternalCommandsList world.GetLineCount world.GetLineInfo world.GetLinesInBufferCount world.GetLoadedValue world.GetLogInput world.GetLogNotes world.GetLogOutput world.GetMainWindowPosition world.GetMapColour world.GetMapping world.GetMappingCount world.GetMappingItem world.GetMappingString world.GetNormalColour world.GetNoteColour world.GetNoteColourBack world.GetNoteColourFore world.GetNoteStyle world.GetNotepadLength world.GetNotepadList world.GetNotepadText world.GetNotepadWindowPosition world.GetNotes world.GetOption world.GetOptionList world.GetPluginAliasInfo world.GetPluginAliasList world.GetPluginAliasOption world.GetPluginID world.GetPluginInfo world.GetPluginList world.GetPluginName world.GetPluginTimerInfo world.GetPluginTimerList world.GetPluginTimerOption world.GetPluginTriggerInfo world.GetPluginTriggerList world.GetPluginTriggerOption world.GetPluginVariable world.GetPluginVariableList world.GetQueue world.GetReceivedBytes world.GetRecentLines world.GetRemoveMapReverses world.GetScriptTime world.GetSelectionEndColumn world.GetSelectionEndLine world.GetSelectionStartColumn world.GetSelectionStartLine world.GetSentBytes world.GetSpeedWalkDelay world.GetStyleInfo world.GetSysColor world.GetSystemMetrics world.GetTimer world.GetTimerInfo world.GetTimerList world.GetTimerOption world.GetTrace world.GetTrigger world.GetTriggerInfo world.GetTriggerList world.GetTriggerOption world.GetTriggerWildcard world.GetUdpPort world.GetUniqueID world.GetUniqueNumber world.GetVariable world.GetVariableList world.GetWorld world.GetWorldById world.GetWorldID world.GetWorldIdList world.GetWorldList world.GetWorldWindowPosition world.GetXMLEntity world.Hash world.Help world.Hyperlink world.ImportXML world.Info world.InfoBackground world.InfoClear world.InfoColour world.InfoFont world.IsAlias world.IsConnected world.IsLogOpen world.IsPluginInstalled world.IsTimer world.IsTrigger world.LoadPlugin world.LogSend world.MakeRegularExpression world.MapColour world.MapColourList world.Metaphone world.MoveMainWindow world.MoveNotepadWindow world.MoveWorldWindow world.MtRand world.MtSrand world.Note world.NoteColourName world.NoteColourRGB world.NoteHr world.NoteStyle world.NotepadColour world.NotepadFont world.NotepadSaveMethod world.Open world.OpenBrowser world.OpenLog world.PasteCommand world.Pause world.PickColour world.PluginSupports world.PushCommand world.Queue world.RGBColourToName world.ReadNamesFile world.Redraw world.ReloadPlugin world.RemoveBacktracks world.Replace world.ReplaceNotepad world.Reset world.ResetIP world.ResetStatusTime world.ResetTimer world.ResetTimers world.ReverseSpeedwalk world.Save world.SaveNotepad world.SaveState world.SelectCommand world.Send world.SendImmediate world.SendNoEcho world.SendPkt world.SendPush world.SendSpecial world.SendToNotepad world.SetAliasOption world.SetAlphaOption world.SetBoldColour world.SetChanged world.SetChatOption world.SetClipboard world.SetCommand world.SetCustomColourBackground world.SetCustomColourName world.SetCustomColourText world.SetEchoInput world.SetEntity world.SetInputFont world.SetLogInput world.SetLogNotes world.SetLogOutput world.SetMapping world.SetNormalColour world.SetNoteColour world.SetNoteColourBack world.SetNoteColourFore world.SetNotes world.SetOption world.SetOutputFont world.SetRemoveMapReverses world.SetSpeedWalkDelay world.SetStatus world.SetTimerOption world.SetTrace world.SetTriggerOption world.SetVariable world.SetWorldWindowStatus world.ShowInfoBar world.Simulate world.Sound world.SpellCheck world.SpellCheckCommand world.SpellCheckDlg world.StripANSI world.Tell world.TraceOut world.TranslateDebug world.TranslateGerman world.Transparency world.Trim world.UdpListen world.UdpPortList world.UdpSend world.Version world.WorldAddress world.WorldName world.WorldPort world.WriteLog # world functions without world. in front ANSI Accelerator AcceleratorList Activate ActivateClient ActivateNotepad AddAlias AddMapperComment AddSpellCheckWord AddTimer AddToMapper AddTrigger AddTriggerEx AdjustColour AnsiNote AppendToNotepad ArrayClear ArrayCount ArrayCreate ArrayDelete ArrayDeleteKey ArrayExists ArrayExport ArrayExportKeys ArrayGet ArrayGetFirstKey ArrayGetLastKey ArrayImport ArrayKeyExists ArrayList ArrayListAll ArrayListKeys ArrayListValues ArraySet ArraySize Base64Decode Base64Encode BroadcastPlugin CallPlugin ChangeDir ChatAcceptCalls ChatCall ChatCallzChat ChatDisconnect ChatDisconnectAll ChatEverybody ChatGetID ChatGroup ChatID ChatMessage ChatNameChange ChatNote ChatPasteEverybody ChatPasteText ChatPeekConnections ChatPersonal ChatPing ChatRequestConnections ChatSendFile ChatStopAcceptingCalls ChatStopFileTransfer CloseLog CloseNotepad ColourNameToRGB ColourNote ColourTell Connect CreateGUID Debug DeleteAlias DeleteAliasGroup DeleteAllMapItems DeleteCommandHistory DeleteGroup DeleteLastMapItem DeleteLines DeleteOutput DeleteTemporaryAliases DeleteTemporaryTimers DeleteTemporaryTriggers DeleteTimer DeleteTimerGroup DeleteTrigger DeleteTriggerGroup DeleteVariable DiscardQueue Disconnect DoAfter DoAfterNote DoAfterSpecial DoAfterSpeedWalk DoCommand EditDistance EnableAlias EnableAliasGroup EnableGroup EnableMapping EnablePlugin EnableTimer EnableTimerGroup EnableTrigger EnableTriggerGroup ErrorDesc EvaluateSpeedwalk Execute ExportXML FixupEscapeSequences FixupHTML FlushLog GenerateName GetAlias GetAliasInfo GetAliasList GetAliasOption GetAliasWildcard GetAlphaOption GetAlphaOptionList GetBoldColour GetChatInfo GetChatList GetChatOption GetClipboard GetCommand GetCommandList GetConnectDuration GetCurrentValue GetCustomColourBackground GetCustomColourName GetCustomColourText GetDefaultValue GetEchoInput GetEntity GetFrame GetGlobalOption GetGlobalOptionList GetHostAddress GetHostName GetInfo GetInternalCommandsList GetLineCount GetLineInfo GetLinesInBufferCount GetLoadedValue GetLogInput GetLogNotes GetLogOutput GetMainWindowPosition GetMapColour GetMapping GetMappingCount GetMappingItem GetMappingString GetNormalColour GetNoteColour GetNoteColourBack GetNoteColourFore GetNoteStyle GetNotepadLength GetNotepadList GetNotepadText GetNotepadWindowPosition GetNotes GetOption GetOptionList GetPluginAliasInfo GetPluginAliasList GetPluginAliasOption GetPluginID GetPluginInfo GetPluginList GetPluginName GetPluginTimerInfo GetPluginTimerList GetPluginTimerOption GetPluginTriggerInfo GetPluginTriggerList GetPluginTriggerOption GetPluginVariable GetPluginVariableList GetQueue GetReceivedBytes GetRecentLines GetRemoveMapReverses GetScriptTime GetSelectionEndColumn GetSelectionEndLine GetSelectionStartColumn GetSelectionStartLine GetSentBytes GetSpeedWalkDelay GetStyleInfo GetSysColor GetSystemMetrics GetTimer GetTimerInfo GetTimerList GetTimerOption GetTrace GetTrigger GetTriggerInfo GetTriggerList GetTriggerOption GetTriggerWildcard GetUdpPort GetUniqueID GetUniqueNumber GetVariable GetVariableList GetWorld GetWorldById GetWorldID GetWorldIdList GetWorldList GetWorldWindowPosition GetXMLEntity Hash Help Hyperlink ImportXML Info InfoBackground InfoClear InfoColour InfoFont IsAlias IsConnected IsLogOpen IsPluginInstalled IsTimer IsTrigger LoadPlugin LogSend MakeRegularExpression MapColour MapColourList Metaphone MoveMainWindow MoveNotepadWindow MoveWorldWindow MtRand MtSrand Note NoteColourName NoteColourRGB NoteHr NoteStyle NotepadColour NotepadFont NotepadSaveMethod Open OpenBrowser OpenLog PasteCommand Pause PickColour PluginSupports PushCommand Queue RGBColourToName ReadNamesFile Redraw ReloadPlugin RemoveBacktracks Replace ReplaceNotepad Reset ResetIP ResetStatusTime ResetTimer ResetTimers ReverseSpeedwalk Save SaveNotepad SaveState SelectCommand Send SendImmediate SendNoEcho SendPkt SendPush SendSpecial SendToNotepad SetAliasOption SetAlphaOption SetBoldColour SetChanged SetChatOption SetClipboard SetCommand SetCustomColourBackground SetCustomColourName SetCustomColourText SetEchoInput SetEntity SetInputFont SetLogInput SetLogNotes SetLogOutput SetMapping SetNormalColour SetNoteColour SetNoteColourBack SetNoteColourFore SetNotes SetOption SetOutputFont SetRemoveMapReverses SetSpeedWalkDelay SetStatus SetTimerOption SetTrace SetTriggerOption SetVariable SetWorldWindowStatus ShowInfoBar Simulate Sound SpellCheck SpellCheckCommand SpellCheckDlg StripANSI Tell TraceOut TranslateDebug TranslateGerman Transparency Trim UdpListen UdpPortList UdpSend Version WorldAddress WorldName WorldPort WriteLog