]>
jfr.im git - irc/rqf/shadowircd.git/blob - tools/shadow_help_weechat.pl
1 # This script is something just thought up by me (jdhore) and ported from irssi to WeeChat
3 weechat
::register
("shadow_help", "jdhore", "1.0", "BSD", "Make life easier when using various oper commands", "", "");
5 weechat
::hook_command
("ohelp", "Rewriting the IRCd's HELP command for fun and profit",
10 weechat
::hook_command
("oset", "Rewriting the IRCd's SET command for fun and profit",
17 my ($data, $buffer, $param) = @_;
20 weechat
::command
($buffer, "/quote help $param");
23 weechat
::command
($buffer, "/quote help");
26 return weechat
::WEECHAT_RC_OK
;
30 my ($data, $buffer, $param) = @_;
33 weechat
::command
($buffer, "/quote set $param");
36 weechat
::command
($buffer, "/quote set");
39 return weechat
::WEECHAT_RC_OK
;