Thema's DescBot plugin.
The idea of this plugin is to add a certain amount of bot support or the PJirc applet.
When sending text to the source, via the input, popup menus, setTextfield(), or sendString() methods
This plugin will interpret any key that is supplied via the parameter
You can prefix all the keys using the parameter
This will help to better define the triggers, and separate multiple bots that
may use the same trigger values.
The default is '!'
In addition to the definable triggers the applet will respond to calls to
it's current nick in the form of:
!Nick
!Nick_help
Calling !Nick will, if the parameter 'descbot:nickresponder' is set to true,
make the bot reply with it's description as set in the 'descbot:nickresponse' parameter.
This value can be changed at runtime with the alias
/desc My New bot description.
Other runtime commands are:
/addkey key description
/delkey key
Calling !Nick_Help will make the bot send a list of command keys that it has been
configured to respond to.
The plugin will also exchange any instance of these variables $me, $nick, $chan.
$me for the bot's current nick (all)
$chan for the current channel (only in a channel source window, or in bot replies)
$schan for the channel name without the # in front. Very useful for /url commands.
$nick for the current nick (only in PMs and popups, or in bot replies)
An example config is: