jaLm      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklHexChat scripting interface(C) 2017 mniipMITmniip@mniip.comnonenoneNone pEvent attributes.bThis type defines whether the current hook "consumes" the event or lets other hooks know about it."Pass the event to everything else.4Pass the event to all other scripts but not HexChat. 4Pass the event to HexChat but not any other scripts. Completely consume the event. 5An opaque type referencing a context (tab or window). ?An opaque type referencing a particular hook. Can be passed to .omnopqrstuvwxyz{|}~  !"#$%&'()*+,-./012345678    !"#$%&'()*+,-1./0562347   HexChat scripting interface(C) 2017 mniipMITmniip@mniip.comnonenoneNone_yHeThis datatype contains metadata about the script. Every script should define an global binding named info of this type. This structure contains internal fields necessary for scripting to work, so when constructing an object please use the default value Q. with record modification notation, like this: info = Q { J = "a module", L = "somepony", ... } The type parameter signifies the return type of the initializer and has no special meaning otherwise, you can specialize it to anything you want.LIf you need to pass a lot of data to the deinitializer you could simply let  a ~ IO () and O = id, such as in the following: info = Q { N' = do x <- createX % $ do destroyX x , O =  } JName of the script.KVersion of the script.LAuthor of the script.MXA short description of the script that can fit in the "Plugins and Scripts" list window.NThis is the entry point of the script. It will be executed immediately after the script is compiled and loaded. The returned value will be opaquely passed to O.OThis function will be executed shortly before the script is unloaded. You can place any cleanup routines here. As argument it receives whatever N returned.PAn internal field that lets the different (to the linker) instances of the HexChat library identify eachother. Please inherit the value of this field from Q.QA default value for H. This has some sensible defaults and also provides the values of internal fields necessary for the operation of the interface.RaInvoke a HexChat command as if the user has typed it in the inputbox. Do not include the leading /.SPrint some text to the buffer.TTOutput a Text Event to the buffer. First argument is the Text Event identifier (see Settings -> Text Events,), second is the list of event's parameters.USame as T: but also lets you specify Event Attributes for the event.VV targets n sign mode where sign is + or - and modek is a channel mode character will set the specified channel mode on each of the specified targets, sending n7 modes per line, or the server's advertised maximum if n is zero.W;Compare two nicknames according to the rules of the server.XX colors format will strip colors if colors is ", and miscellaneous formatting if  formatting is , from the provided string.Y$Get a HexChat preference value (see /setx). You should pass 3 continuations one of which will be invoked depending on the type of the actual preference. Returns ( if no preference with that name exists.ZFReturn the value of a preference that is supposedly a String. Returns 9 if no such preference exists or it is of the wrong type.[DReturn the value of a preference that is supposedly an Int. Returns 9 if no such preference exists or it is of the wrong type.\DReturn the value of a preference that is supposedly a Bool. Returns 9 if no such preference exists or it is of the wrong type.cc cmd priority description f registers a command named cmd (with description  description ). The given f will be passed a list of command's arguments (proper words) and a list of "leftovers" for every position in the word list (with the exact original whitespace).If cmd is ""[ then instead the hook will be invoked whenever the user types anything not beginning with /.dd event priority f hooks f% to be invoked whenever a Text Event event) is to be displayed on screen. The given f- will be passed a list of event's parameters.ee event priority f hooks f% to be invoked whenever a Text Event event) is to be displayed on screen. The given fA will be passed a list of event's parameters, and the attributes.ff word priority f hooks f to be invoked whenever a word0 command arrives from the IRC server. The given f will be passed a list of command's arguments (proper words) and a list of "leftovers" for every position in the word list (with the exact original whitespace). Processing of : long arguments is *NOT* done.If cmd is  "RAW LINE"I then the hook will be invoked for all commands received from the server.gf word priority f hooks f to be invoked whenever a word0 command arrives from the IRC server. The given f will be passed a list of command's arguments (proper words), a list of "leftovers" for every position in the word list (with the exact original whitespace), and the event attributes. Processing of : long arguments is *NOT* done.If cmd is  "RAW LINE"I then the hook will be invoked for all commands received from the server.hWRemove the given hook. All hooks are automatically removed when the script is unloaded.ii mserver mtabnameO finds the context corresponding to the given tab name (or to the front tab if 3) in the given server (or in any of the servers if ).jObtains the current context.kSets the current context. The scope of this function is limited to the currently executing hook (or the initializer/deinitializer).l2Execute a given IO action in a given context a-la .5 HIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijkl5HIJKLMNOPQRSTUVWXYZ[\ ]^_`ab cdefgh ijklHIJKLMNOP      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIIJKLMNOPQRST !"#$%&'()*+,UVWXVWXVWYVWYVWZVWZVW[VW[VW\VW\VW]VW]VW^VW^VW_VW_VW`VW`VWaVWaVWbVWbVWcVWcVWdVWdVWeVWeVWfVWfVWgVWgVWhVWhVWiVWiVWjVWjVWkVWkVWlVWlVWmVWmVWnVWoVWpVWqVWqVWrVWrVWsVWsVWtVWtuvwVxyVxz{|}Vx~V&hexchat-0.0.1.0-3sHFW2q0QMwEpCPchPyBJZHexChat.InternalHexChatunhook StaticData Plugin_Deinit Plugin_Init EventAttrsserver_time_utcEatEatNone EatHexChat EatPluginEatAllListContextHookPlugin pri_LOWESTpri_LOWpri_NORMpri_HIGH pri_HIGHESTcommandprint emitPrintemitPrintAttrs sendModesnickCmpstripgetPrefslistGet listFieldslistNextlistStrlistIntlistTime hookCommand hookPrinthookPrintAttrs hookServerhookServerAttrs findContext getContext setContext pluginguiAddpluginguiRemovelPluginlHandlelHooks staticData getPlugin getHandle withHandleinitStaticDatajoinStaticData unhookHandle $fShowPlugin $fEqPlugin $fOrdPlugin $fShowHook$fEqHook $fOrdHook $fShowContext $fEqContext $fOrdContext$fEqList $fShowEat $fReadEat$fEqEat$fShowEventAttrs$fReadEventAttrs$fEqEventAttrsModInfomodName modVersion modAuthormodDescriptionmodInit modDeinit modStaticDatamodInfo getPrefString getPrefInt getPrefBool withContextbaseForeign.C.TypesCCharCSCharCUCharCShortCUShortCIntCUIntCLongCULongCLLongCULLongCBoolCFloatCDoubleCPtrdiffCSizeCWchar CSigAtomicCClockCTime CUSeconds CSUSecondsCFileCFposCJmpBufCIntPtrCUIntPtrCIntMaxCUIntMaxs_plugins_handles_hooksGHC.Basereturnidghc-prim GHC.TypesTrueNothingControl.Exception.Basebracket