key Log In or Register to edit

Irc Plugin

Describe the plugin

Syntax Rules

(none)

Plugin Settings

  • IRC server to connect to
    • Set SERVER = localhost
  • Channel name to broadcast news to
    • Set CHANNEL = #twiki
  • Nickname
    • Set NICK = Irc Plugin Bot?
  • IRC server port (usually 6667)
    • Set PORT = 6667

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %IRCPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the Text Formatting Rules topic:
    • Set SHORTDESCRIPTION = Notifies an IRC channel when topics are created or updated

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

  • This plugin is preinstalled, you do not need to install it.

Plugin Info

Plugin Author: TWiki:Main.WillNorris
Plugin Version: 3 Jan 2006
Change History:  
3 Jan 2006: Initial version
CPAN Dependencies: CPAN:Net::IRC
Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/IrcPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/IrcPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/IrcPluginAppraisal

Further Development

  • queue/log with seperate program to spew messages as it can (and doesn't keep connecting and disconnecting)
  • when a topic is moved to the Trash, Irc Plugin reports ".../Trash/TopicName" was created rather than something more useful like (.../Web/TopicName was moved to Trash) - (read the Meta data for TOPICMOVED, iirc) - well, that's on notification when the topic is created, rather than removed...

Related Topics: Developer Documentation Category, Admin Documentation Category, T Wiki Preferences, T Wiki Plugins

 
Ad Sponsor
Back to Redbourn
Copyright © We make no guarantee of the correctness of the content of this site. All material on this collaboration platform is the property of Martin Cleaver and the contributing authors.