Guys really as if it's that f*cking hard to fix a mess of a script like this.
on *:TEXT:*:#: {
if ($nick !isop $chan) { notice $nick You're not op. }
else {
if (!ban == $strip($1)) && ($strip($2)) { mode # +b $address($2,9) | if (!$strip($2)) { notice $nick Ban who? } }
if (!unban == $strip($1)) && ($strip($2)) { mode # -b $address($2,9) | if (!$strip($2)) { notice $nick Unban who? } }
;!ban bans the address of (9) of a given $2, which is a good way of banning someone. !unban unbans it.
if (+ == $strip($1)) && ($strip($2)) { mode # + $+ $2- | if (!$strip($2)) { notice $nick What chanmode? } }
if (- == $strip($1)) && ($strip($2)) { mode # - $+ $2- | if (!$strip($2)) { notice $nick What chanmode? } }
;This cuts the !voice, !devoice, etc. +<mode> sets any chanmode, -<mode> "desets" it.
if (!topic == $strip($1)) && ($strip($2)) { topic # $2- | if (!$strip($2)) { notice $nick The topic is $chan(#).topic } }
if (!kick == $strip($1)) { if ($2) { if (!$3) { kick # $2 Requested. | elsif ($3) { kick # $2 $3- } } elseif (!$2) { notice $nick No user specified. } | elseif ($2 !ison $chan) { notice $nick $2 isn't in here. } } }
if (!opc == $strip($1)) { notice $nick The OP Commands in $chan are as follows: !ban <nick> [bans the nick] ; !unban <nick> [unbans a banned nick] ; +<mode> [sets any chan mode] ; -<mode> [unsets any chan mode] ; !topic <topic> [sets channel topic] ; !kick <nick> [kicks a nick if they're on the channel] ; !register <chan> [Guides someone through registering a channel.] }
if (!register == $strip($1)) && ($strip($2)) { if (!$mid($2,1,1) == $chr(35) { notice $nick Invalid channel format. } | else { join $2 | mode # +o $nick | msg # To register type /cs register (Channel) (Password) (Description), good luck! | part $2 } if (!$2) { notice $nick No chan stated. } }
}
if (!site == $strip($1)) { notice $nick Come visit us at http://www.bluepower10.webs.com/ }
if (!info == $strip($1)) { notice $nick Bot made by Bluepower10. Bluepower10 Productions owns this bot at http://bluepower10.webs.com/ $+ . }
if (!commands == $strip($1)) { notice $nick Regular commands for this bot are: !commands, !site, !info, !time, !invite < username > and !pm < username >. }
if (!time == $strip($1)) { notice $nick It is $time(h:nn:ss TT) on $date $+ . }
if (!invite == $strip($1)) && ($strip($2)) { invite # $2 | if (!$strip($2)) { notice $nick Invite who? } }
if (!pm == $strip($1)) && ($strip($2)) { if ($2 !ison $chan) { notice $nick $2 isn't here. } | else { msg $2 Hello $2 $+ ! I was asked to PM you by $nick $+ . How are you doing? } }
}
on *JOIN:#: { notice $nick Welcome to # $+ ! For a list of commands, type !commands. For op commands, type !opc }