The javascript plugin does not come with HexChat, more information on it can be found Here
This page is simply for hosting its API docs and is a work in progress.
Prints text to the current context.
| Arguments: |
|
|---|
Runs a command in the current context.
Calls specified callback anytime the specified event happens. The Print Events can be found in Settings ‣ Text Events.
| Returns: | Hook handler |
|---|
Calls specified callback anytime the specified event happens.
| Arguments: |
|
|---|---|
| Returns: | Hook handler |
Calls specified callback anytime the specified command is ran.
| Returns: | Hook handler |
|---|
Calls specified callback anytime the specified special event happens.
| Returns: | Hook handler |
|---|
Calls specified callback in your specified interval (in milliseconds).
If you return :obj:`true` the callback will continue to be called, otherwise it is removed.
| Returns: | Hook handler |
|---|
Calls specified callback when the script is unloaded.
| Returns: | Hook handler |
|---|
Removes any hook registered above.
You can use pluginpref to easily store and retrieve settings.
Stores settings in addon_*SCRIPT_NAME*.conf in the config dir.
| Returns: |
|
|---|
This will return the value of the variable of that name. If there is none by this name it will return undefined.
| Returns: | String or Integer of stored setting or None if it does not exist. |
|---|
Note
Strings of numbers are always returned as Integers.
Deletes the specified variable.
| Returns: |
|
|---|
Returns a list of all currently set preferences.