#TITLE=Lua ; EditPlus Lua Syntax File ; Function regexp: ^[ \t]*function[ \t][a-z_].*\(.*\) #DELIMITER=,(){}[]-+*%/="'~&|<>?:;. #QUOTATION1=' #QUOTATION2=" #CONTINUE_QUOTE=n #LINECOMMENT=-- #LINECOMMENT2= #COMMENTON= #COMMENTOFF= #COMMENTON2= #COMMENTOFF2= #ESCAPE=\ #CASE=y #PREFIX1= #PREFIX2= #PREFIX3= #PREFIX4= #PREFIX5= #SUFFIX1= #SUFFIX2= #SUFFIX3= #SUFFIX4= #SUFFIX5= ; Reserved words #KEYWORD=Reserved Words and break do else elseif end for function if in local nil not or repeat return then until while #KEYWORD=Library _ALERT _ERRORMESSAGE _INPUT _OUTPUT _STDERR _STDIN _STDOUT _VERSION abs acos appendto ascii asin assert atan atan2 call ceil clock closefile collectgarbage copytagmethods cos date debug deg dofile dostring error execute exit exp floor flush foreach foreachi foreachvar format frexp gcinfo getargs getenv getglobal getinfo getlocal getn gettagmethod globals gsub ldexp log log10 max min mod newtag next nextvar openfile PI print rad random randomseed rawget rawgetglobal rawgettable rawset rawsetglobal rawsettable read readfrom remove rename seek setcallhook setglobal setlinehook setlocal setlocale settag settagmethod sin sort sqrt strbyte strchar strfind strlen strlower strrep strsub strupper tag tan tinsert tmpname tonumber tostring tremove type write writeto find lower upper rep sub char byte len concat insert setn pow open pi close lines input output metatable unpack time gfind #KEYWORD=Library2 io math os table string #KEYWORD=Operators , ( ) { } [ ] - + * % / = ~ & | < > : ^; . , #KEYWORD=Ptokax frmHub RegBot UnregBot GetUsersCount GetHubName SetHubName GetHubDescr SetHubDescr GetHubAddress GetHubTopic SetHubTopic GetRegServer SetRegServer SetAutoRegister GetMaxUsers SetMaxUsers GetMaxLogins SetMaxLogins GetMinShare SetMinShare GetMinSlots SetMinSlots GetMaxSlots SetMaxSlots GetSlotRatio SetSlotRatio GetMaxHubs SetMaxHubs GetCurrentShareAmount GetOnlineUsers GetOpChatName SetOpChatName GetHubBotName SetHubBotName Restart GetOpChat SetOpChat GetHubBot SetHubBot GetPtokaXLocation GetHubAlias SetHubAlias GetHubAliasName SetHubAliasName GetRedirectAddress SetRedirectAddress GetShareRedirAddr SetShareRedirAddr GetShareRedirect SetShareRedirect GetSlotsRedirAddr SetSlotsRedirAddr GetSlotsRedirect SetSlotsRedirect GetRatioRedirAddr SetRatioRedirAddr GetRatioRedirect SetRatioRedirect GetMaxHubsRedirAddr SetMaxHubsRedirAddr GetMaxHubsRedirect SetMaxHubsRedirect GetNoTagRedirAddr SetNoTagRedirAddr GetNickRuleRedirAddr SetNickRuleRedirAddr GetNickRuleRedirect SetNickRuleRedirect GetTempBanRedirect SetTempBanRedirect GetTempBanRedirAddr SetTempBanRedirAddr GetBanRedirect SetBanRedirect GetBanRedirAddr SetBanRedirAddr GetRedirectAll SetRedirectAll GetRedirectFull SetRedirectFull GetNoTagOption SetNoTagOption EnableSearchData EnableFullData SendToAll SendToAll SendPmToAll SendToNick SendPmToNick SendToOps SendPmToOps DisconnectByName GetItemByName GetBannedItemIp GetBannedItemName Unban TempUnban ClearTempBan AddRegUser DelRegUser AddProfile RemoveProfile GetProfiles GetProfileIdx GetProfileName GetUsersByProfile SetTimer StartTimer StopTimer SendData SendData SendPM Disconnect Kick Kick Ban NickBan TempBan TimeBan sName sClient sClientVersion sMode sIP sMyInfoString bUserCommand bOperator bRegistered bHasTag iShareSize iProfile iVersion iHubs iSlots iBlimit iLlimit Main OnExit DataArrival NewUserConnected UserDisconnected OpConnected OpDisconnected OnError SupportsArrival ChatArrival KeyArrival ValidateNickArrival PasswordArrival VersionArrival GetNickListArrival MyINFOArrival GetINFOArrival SearchArrival ToArrival ConnectToMeArrival MultiConnectToMeArrival RevConnectToMeArrival SRArrival KickArrival OpForceMoveArrival UserIPArrival UnknownArrival #KEYWORD=bcdc chat ownChat ownCHatOut pm hubPm connected disconnected userConnected userMyInfo userQuit DC addHub createHub getListeners getHub getHubs hasHub removeHub destroy listHubs setListener getId isADC getUptime getUser createUser setOp findUsers gotOpList isOp removeUser setPartial isPartial setHubName getAddress getHubName setOwnNick getOwnNick sendChat SendHubMessage injectChat InjectHubMessage sendPrivMsgTo injectPrivMsg injectPrivMsgFmt attention onSearch onHello onMyInfo onQuit onHubName onPrivateMessage onChatMessage onChatFromSelf setIp getIp getNick sendPrivMsgFmt setMsgHandled msgHandled UserDataIn UserDataOut OnCommandEnter OnTimer OnHubAdded OnHubRemoved OnHubAdded OnHubRemoved SendActiveSearchResult SendUDP SocketAccept PrintDebug