/*
 * snackb0t plugin template
 *
 * GPL3
 */
 
package modules;
 
public class pluginTemplate {
	private String msg; // The irc message
	private String user; // The user who sent the message
	private String channel; // What channel the message was from (sans #)
	private String response; // Plugin response
 
	public pluginTemplate {
		// constructor
	}
 
	// This method is called by snackb0t
	public String 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 stuff
		return response;
	}
}
snackb0t/plugins.txt · Last modified: 2009/12/20 10:20 by ken69267
Back to top
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0