|IRCCD-TEST(1)||General Commands Manual||IRCCD-TEST(1)|
irccd-testprogram is a simple utility to test plugins on the command line.
You can test a global plugin by just specifying plugin's id or using a full filesystem path.
If compiled with libedit library, the prompt offers basic completion for the plugin events.
When a event requires a server, a fake debugging server is created if it does not exists already. That fake server simply prints every command on the command line instead of sending them through IRC.
onCommandserver origin channel message
onInviteserver origin channel target
onJoinserver origin channel
onKickserver origin channel reason
onMeserver origin channel message
onMessageserver origin channel message
onModeserver origin channel mode limit user mask
onNamesserver channel nick1 nick2 nickN
onNickserver origin nickname
onNoticeserver origin channel nickname
onPartserver origin channel reason
onTopicserver origin channel topic
onWhoisserver nick user host realname chan1 chan2 chanN
$ irccd-test test.js > onLoad > onMessage localhost francis #general Bonjour
Example with a global plugin:
$ irccd-test hangman > onLoad > onCommand localhost francis #general