-
Notifications
You must be signed in to change notification settings - Fork 5
Module
Irssi loadable modules are quite different from scripts, in that they require compilation and are much less likely to be available "as-is" for your particular setup. They are typically supplied as source code, which must be compiled before loading.
They are also more powerful than scripts, since they can access any of Irssi's internal functions and datastructures, rather than be limited to the exposed scripting API.
They are generally used to provide scripting support in other languages, such as:
First, make sure that whatever you're doing can't be done with a script. Scripts are far more portable, easier to write, debug, and distribute.
A basic skeleton of an Irssi module can be found at https://github.com/shabble/irssi-scripts/tree/master/modules/test .
Modifying it to do your evil bidding is now up to you.
Much of the content on these pages is taken from original Irssi documentation and is Copyright © 2000-2010 The Irssi project. Formatting and additional documentation, examples, etc by Tom Feist and the other editors of this wiki. This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. Please see http://creativecommons.org/licenses/by-sa/2.5/ for details.