1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include <overlay_irssi.h> #include <overlay_impl.h> #include <overlay_core.h> void print_load_message(void) { printtext(NULL, NULL, MSGLEVEL_CLIENTERROR, "Hello, World. xxx \"%s\"", MODULE_NAME); } void print_unload_message(void) { printtext(NULL, NULL, MSGLEVEL_CLIENTERROR, "Goodbye, Cruel World. ~signed \"%s\"", MODULE_NAME); }