/*
* snackb0t plugin template
*
* GPL3
*/packagemodules;
publicclass pluginTemplate {privateString msg; // The irc messageprivateString user; // The user who sent the messageprivateString channel; // What channel the message was from (sans #)privateString response; // Plugin responsepublic pluginTemplate {// constructor}// This method is called by snackb0tpublicString execute(String msg, String user, String channel){/* If you wanted to define other methods and use
* these variables
* this.msg = msg;
* this.user = user;
* this.channel = channel;
*/// do stuffreturn response;
}}
snackb0t/plugins.txt · Last modified: 2009/12/20 10:20 by ken69267