public void onEnable() {
final Plugin plugin = this.getServer().getPluginManager().getPlugin("CraftIRC");
if ((plugin == null) || !plugin.isEnabled() || !(plugin instanceof CraftIRC)) {
this.getServer().getPluginManager().disablePlugin((this));
} else {
final CraftIRC craftirc = (CraftIRC) plugin;
craftirc.registerEndPoint(this.exampletag, this);
final RelayedMessage rm = craftirc.newMsg(this, null, "generic");
rm.setField("message", "I'm aliiive!");
rm.post();
}
}