if ($1 == $getread(-s,triggers,hint) && $getread(-s,gsettings,hint) == on) {
floodproc HINT 3
if (%trivq != $null) { .msg $getread(-s,csettings,trivia.channel) %h2col Hint: $+ %hcol $+ $left($arg(%trivq,2,*),1) | halt } | msg $getread(-s,csettings,trivia.channel) %h3col $+ What ? You want a hint for future questions ? }
if ($1 == $getread(-s,triggers,hint2) && $getread(-s,gsettings,hint) == on) {
floodproc HINT2 3
if (%hint == false) {
if (%trivq != $null && $chr(160) isin $arg(%trivq,2,*) && $getread(-s,triggers,hint2result) == firstword) { var %whint = $arg($arg(%trivq,2,*),1,$chr(160)) | msg $getread(-s,csettings,trivia.channel) 0,10 Hint: %whint $+ $chr(32) $+ $right(%hint4,$calc(0- $len(%whint))) | set %hint true | halt }
if (%trivq != $null) { msg $getread(-s,csettings,trivia.channel) 0,10 Hint: %hint3 $+ $right(%hint4,$calc(0-$getread(-s,triggers,hint2resultcount))) | set %hint true | halt } | msg $getread(-s,csettings,trivia.channel) 14What ? You want a hint for future questions ? }
}
if ($1 == $getread(-s,triggers,skip)) && ($arg(%trivq,2,*) != $null) {
floodproc SKIP 5
if ($getread(-s,gsettings,skip) != on) { .notice $nick Sorry, this command seems to lag the bot. | halt } | else { .timer3 off | .timer4 off | .timer5 off | .timer6 off | var %skans = $arg(%trivq,2,*) | unset %trivq | msg $getread(-s,csettings,trivia.channel) 0,1 Player triggered !skip command $+ %clqb The answer was -> %clqa %skans %clqb <- 0,1 Skipping to next question | .timerskipped 1 %tme2 trivq | if %chaos = on { unset %allans | set %chaos off } | halt } }
if ($1 == $getread(-s,triggers,repeat) && $getread(-s,gsettings,repeat) == on) {