Before you get into all that, try to find out exactly what the IRC network is doing to accomplish this.daigo wrote:The IRC network I am on has private messages, notices, etc. disabled, so I cannot control the BogusTrivia script on there via PM to the bot. ....
Code: Select all
bind msgm $t2(mflag) y* TReply ; bind msgm $t2(mflag) n* TReply
Code: Select all
bind pubm $t2(mflag) y* TPubReply ; bind pubm $t2(mflag) n* TPubReply
Code: Select all
unbind msgm $t2(mflag) $trgr* TReply
Code: Select all
unbind pubm $t2(mflag) $trgr* TPubReply
Code: Select all
if {$t2(m-cmdpre) ne "."} { bind msgm $t2(mflag) $t2(m-cmdpre)add* TAdd
bind msg $t2(mflag) $t2(m-cmdpre)mix TMix
} else { bind msgm $t2(mflag) .add* TAdd ; bind msg $t2(mflag) .mix TMix }
Code: Select all
bind pubm $t2(mflag) $t2(m-cmdpre)add* TPubAdd
bind pub $t2(mflag) $t2(m-cmdpre)mix TPubMix
proc TPubAdd {nk uh hn ch tx} {
TAdd $ch $uh $hn $tx
return 0
}
proc TPubMix {nk uh hn ch tx} {
TMix $ch $uh $hn $tx
return 0
}
proc TPubReply {nk uh hn ch tx} {
TReply $ch $uh $hn $tx
return 0
}