10 my %conf = %main::conf;
11 my $chans = $conf{chans};
12 my $teamchans = $conf{teamchans};
13 my @teamchans = split /[,\s]+/m, $teamchans;
14 my $staff = $conf{staff};
15 my $terms = $conf{terms};
17 main::cbind("pub", "-", "help", \&help);
18 main::cbind("msg", "-", "help", \&help);
19 main::cbind("pub", "-", "request", \&help);
25 my ($bot, $nick, $host, $hand, @args) = @_;
29 To request a free bouncer, type !bnc <username> <email>. For example, !bnc john john\@example.com.
30 To request a free shell account, type !shell <username> <email>. For example, !shell john john\@example.com.
31 To request a free email account, type !mail <username> <email>. For example, !mail john john\@example.com.
33 #To request a free VPN account, type !vpn <username> <email>. For example, !vpn john john\@example.com.
34 if (main::isstaff($bot, $nick)) {
36 To delete a bouncer, type !bnc delete <username>
37 To verify a captcha, type !bnc captcha <username>
38 To approve a bouncer, type !bnc approve <username>
39 To recreate cloneuser, type !bnc cloneuser
40 To get a list of usernames that match IPs, type !regex ips <ips>
41 To get a list of IPs that match usernames, type !regex users <usernames>
42 To regex search znc.log and output to the terminal, type !regex <regex>
43 To delete a shell account, type !shell delete <username>
44 To verify a captcha, type !shell captcha <username>
46 #To get a list of usernames that match IPs, type !shell regex ips <ips>
47 #To get a list of IPs that match usernames, type !shell regex users <usernames>
48 #To regex search znc.log and output to the terminal, type !shell regex <regex>
51 ($chan, $text) = ($args[0], $args[1]);
52 if ($chans =~ $chan) {
53 main::putserv($bot, "PRIVMSG $chan :$nick: Please see private message.");
58 main::putserv($bot, "PRIVMSG $nick :$msg");
59 foreach my $chan (@teamchans) {
60 main::putservlocalnet($bot, "PRIVMSG $chan :$staff: Help *$nick* on network ".$bot->{name}.". If you don't help the user, he will probably leave");
64 1; # MUST BE LAST STATEMENT IN FILE