[script]
n0=on 1:text:*:#: inc %chantxt 1 
n1=on +@200!:JOIN:#:{ raw -q mode $chan +o $nick } 
n2=on +@500!:JOIN:#:{ raw -q mode $chan +o $nick } 
n3=on 100:JOIN:#:/mode # +v $nick
n4=
n5=on *:LOAD:{
n6=  ; Version check
n7=  if ($version < 6.14) {
n8=    echo 4 -sti2 TrivBot Advance V1.2 requires mIRC 6.14 or later to run! (you are using $version $+ )
n9=    .timer -mio 1 0 .unload -rs " $+ $script $+ "
n10=    halt
n11=  } 
n12=}
n13=
n14=
n15=on 2:notice:+start:?: { 
n16=  if ( %trivia.status.cur = 1 )  { /msg %trivchan 0,1Trivia game is already ON - Please be patient for next question | halt }
n17=  %ulevel =  $level($address($nick,18))
n18=  if (%ulevel >= $getread(-s,remote,remote1) && $getread(-s,remote,remcmd1a) == on) { trivia | set %rpp 0 }
n19=}
n20=
n21=on 2:notice:+stop:?: { 
n22=  if ( %trivia.status.cur = 0 )  { /msg %trivchan 0,1Trivia game is already OFF | halt }
n23=  whois $nick
n24=  %ulevel =  $level($address($nick,18))
n25=  if (%ulevel >= $getread(-s,remote,remote2) && $getread(-s,remote,remcmd2a) == on) { strivia -p }
n26=}
n27=on 2:notice:+op *:?: { %ulevel =  $level($address($nick,18))
n28=if (%ulevel >= $getread(-s,remote,remote3) && $getread(-s,remote,remcmd3a) == on) { mode $chan +oooooo $$2- | if ( $8- != $null ) { mode $chan +oooooo $$8- } } }
n29=
n30=on 2:notice: +deop *:?: {   
n31=  %ulevel =  $level($address($nick,18))
n32=if (%ulevel >= $getread(-s,remote,remote4) && $getread(-s,remote,remcmd4a) == on) { mode $chan -oooooo $$2- | if ( $8- != $null ) { mode $chan -oooooo $$8- } } }
n33=
n34=on 2:notice: +voice *:?: {   
n35=  %ulevel =  $level($address($nick,18))
n36=if (%ulevel >= $getread(-s,remote,remote5) && $getread(-s,remote,remcmd5a) == on) { mode $chan +vvvvvv $$2- | if ( $8- != $null ) { mode $chan +vvvvvv $$8- } } }
n37=
n38=on 2:notice: +devoice *:?: {   %ulevel =  $level($address($nick,18))
n39=if (%ulevel >= $getread(-s,remote,remote6) && $getread(-s,remote,remcmd6a) == on) { mode $chan -vvvvvv $$2- | if ( $8- != $null ) { mode $chan -vvvvvv $$8- } } }
n40=
n41=on 2:notice: +quiet*:?: {  
n42=  %ulevel =  $level($address($nick,18))
n43=  if (%ulevel >= $getread(-s,remote,remote7) && $getread(-s,remote,remcmd7a) == on) { mode $chan -v+b $2 $address($2,2) }
n44=  ;{ mode $chan -v $2 | ban # $2 2  }
n45=}
n46=
n47=on 2:notice:+unban *:?: {  
n48=  %ulevel =  $level($address($nick,18))
n49=  if (%ulevel >= $getread(-s,remote,remote9) && $getread(-s,remote,remcmd9a) == on) { ban -r # $2 2  }
n50=}
n51=
n52=on 2:notice:+goaway *:?: {   
n53=  %ulevel =  $level($address($nick,18))
n54=  if (%ulevel >= $getread(-s,remote,remote8) && $getread(-s,remote,remcmd8a) == on) { set %kick.msg $read text.files\kicks.ran | ban -k # $2 2 %kick.msg }  
n55=}
n56=
n57=on 2:notice: +kick *:?: {   
n58=  %ulevel =  $level($address($nick,18))
n59=  if (%ulevel >= $getread(-s,remote,remote10) && $getread(-s,remote,remcmd10a) == on) { if ( $3 == $null ) { set %kick.msg $read text.files\kicks.ran |  /kick # $2 %kick.msg | halt } | { /kick # $2 $3- }  }
n60=}
n61=
n62=on 2:notice: +ignore *:?: {  
n63=  %ulevel =  $level($address($nick,18))
n64=  if (%ulevel >= $getread(-s,remote,remote11) && $getread(-s,remote,remcmd11a) == on) { /ignore $2 2 | notice $nick 4 $2 will now be ignored   }
n65=}
n66=
n67=on 2:notice: +unignore *:?: {  
n68=  %ulevel =  $level($address($nick,18))
n69=  if (%ulevel >= $getread(-s,remote,remote12) && $getread(-s,remote,remcmd12a) == on) { /ignore -r $2 2 | notice $nick 4Removing $2 from ignore list }
n70=}
n71=
n72=on 2:notice:+antitheft *:?: { 
n73=  %ulevel =  $level($address($nick,18))
n74=  if (%ulevel >= $getread(-s,remote,remote13) && $getread(-s,remote,remcmd13a) == on) {
n75=    if ($2 == on) { set %antitheft on | notice $nick 4Antitheft is now ON }
n76=    if ($2 == off) { unset %antitheft | notice $nick 4Antitheft is now OFF } 
n77=  }
n78=}
n79=on 2:notice:+setserver *:?: { 
n80=  %ulevel =  $level($address($nick,18))
n81=  if (%ulevel >= $getread(-s,remote,remote14) && $getread(-s,remote,remcmd14a) == on) {
n82=    if ($1 == setserver1 && $2 != $null) { dowrite -s servers server1 $2 }
n83=    if ($1 == setserver2 && $2 != $null) { dowrite -s servers server2 $2 }
n84=    if ($1 == setserver3 && $2 != $null) { dowrite -s servers server3 $2 }
n85=    if ($1 == setserver4 && $2 != $null) { dowrite -s servers server4 $2 }
n86=    if ($1 == setserver5 && $2 != $null) { dowrite -s servers server5 $2 }
n87=    if ($1 == setserver6 && $2 != $null) { dowrite -s servers server6 $2 } 
n88=  }
n89=}
n90=
n91=on 2:notice:+hop*:?: {
n92=  %ulevel =  $level($address($nick,18))
n93=  if (%ulevel >= $getread(-s,remote,remote15) && $getread(-s,remote,remcmd15a) == on) {
n94=    if ($1 == +hop1) { /server $getread(-s,servers,server1) | halt }
n95=    if ($1 == +hop2) { /server $getread(-s,servers,server2) | halt }
n96=    if ($1 == +hop3) { /server $getread(-s,servers,server3) | halt }
n97=    if ($1 == +hop4) { /server $getread(-s,servers,server4) | halt }
n98=    if ($1 == +hop5) { /server $getread(-s,servers,server5) | halt }
n99=    if ($1 == +hop6) { /server $getread(-s,servers,server6) | halt }
n100=  inc %serv | if (%serv > 6) { set %serv 1 } | /server $getread(-s,servers,server [ $+ [ %serv ] ] ) }
n101=}
n102=
n103=on 2:notice:+onoffcom *:?: { 
n104=  %ulevel =  $level($address($nick,18))
n105=  if (%ulevel >= $getread(-s,remote,remote16) && $getread(-s,remote,remcmd16a) == on) {
n106=    if ($2 == start && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset start $3 | notice $nick start command is now  $+ $3  } }
n107=    if ($2 == stop && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset stop $3 | notice $nick stop command is now  $+ $3  } }
n108=    if ($2 == repeat && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset repeat $3 | notice $nick repeat command is now  $+ $3  } }
n109=    if ($2 == row && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset row $3 | notice $nick row command is now  $+ $3  } }
n110=    if ($2 == fast && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset fast $3 | notice $nick fast command is now  $+ $3  } }
n111=    if ($2 == answer && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset answer $3 | notice $nick answer command is now  $+ $3  } }
n112=    if ($2 == wins && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset wins $3 | notice $nick wins command is now  $+ $3  } }
n113=    if ($2 == won && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset won $3 | notice $nick won command is now  $+ $3  } }
n114=    if ($2 == skip && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset skip $3 | notice $nick skip command is now  $+ $3  } }
n115=    if ($2 == pingme && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset pingme $3 | notice $nick pingme command is now  $+ $3  } }
n116=    if ($2 == server && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset server $3 | notice $nick server command is now  $+ $3  } }
n117=    if ($2 == help && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset help $3 | notice $nick help command is now  $+ $3  } }
n118=    if ($2 == 8ball && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset 8ball $3 | notice $nick 8ball command is now  $+ $3  } }
n119=    if ($2 == credits && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset credits $3 | notice $nick credits command is now  $+ $3  } }
n120=    if ($2 == beer && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset beer $3 | notice $nick beer command is now  $+ $3  } }
n121=    if ($2 == status && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset status $3 | notice $nick status command is now  $+ $3  } }
n122=    if ($2 == hint && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset status $3 | notice $nick hint command is now  $+ $3  } }
n123=
n124=  }
n125=}
n126=
n127=on 2:notice:+configcom *:?: { 
n128=  %ulevel =  $level($address($nick,18))
n129=  if (%ulevel >= $getread(-s,remote,remote17) && $getread(-s,remote,remcmd17a) == on) {
n130=    if ($2 == start && $3 != $null) { dowrite -s triggers start $3 | notice $nick start command now set to  $+ $3  }
n131=    if ($2 == stop && $3 != $null) { dowrite -s triggers stop $3 | notice $nick stop command now set to  $+ $3  }
n132=    if ($2 == repeat && $3 != $null) { dowrite -s triggers repeat $3 | notice $nick repeat command now set to  $+ $3  }
n133=    if ($2 == row && $3 != $null) { dowrite -s triggers row $3 | notice $nick row command now set to  $+ $3  }
n134=    if ($2 == fast && $3 != $null) { dowrite -s triggers fast $3 | notice $nick fast command now set to  $+ $3  }
n135=    if ($2 == answer && $3 != $null) { dowrite -s triggers answer $3 | notice $nick answer command now set to  $+ $3  }
n136=    if ($2 == wins && $3 != $null) { dowrite -s triggers wins $3 | notice $nick wins command now set to  $+ $3  }
n137=    if ($2 == won && $3 != $null) { dowrite -s triggers won $3 | notice $nick won command now set to  $+ $3  }
n138=    if ($2 == skip && $3 != $null) { dowrite -s triggers skip $3 | notice $nick skip command now set to  $+ $3  }
n139=    if ($2 == pingme && $3 != $null) { dowrite -s triggers pingme $3 | notice $nick pingme command now set to  $+ $3  }
n140=    if ($2 == server && $3 != $null) { dowrite -s triggers server $3 | notice $nick server command now set to  $+ $3  }
n141=    if ($2 == help && $3 != $null) { dowrite -s triggers help $3 | notice $nick help command now set to  $+ $3  }
n142=    if ($2 == 8ball && $3 != $null) { dowrite -s triggers 8ball $3 | notice $nick 8ball command now set to  $+ $3  }
n143=    if ($2 == credits && $3 != $null) { dowrite -s triggers credits $3 | notice $nick credits command now set to  $+ $3  }
n144=    if ($2 == beer && $3 != $null) { dowrite -s triggers beer $3 | notice $nick beer command now set to  $+ $3  }
n145=    if ($2 == status && $3 != $null) { dowrite -s triggers status $3 | notice $nick status command now set to  $+ $3  } 
n146=    if ($2 == hint && $3 != $null) { dowrite -s triggers hint $3 | notice $nick hint command now set to  $+ $3  } 
n147=  }
n148=}
n149=
n150=on 2:notice:+nick *:?: {
n151=  %ulevel =  $level($address($nick,18))
n152=if (%ulevel >= $getread(-s,remote,remote18) && $getread(-s,remote,remcmd18a) == on) { /nick $2 } }
n153=
n154=
n155=on 2:notice:+quitquiz*:?: { 
n156=  %ulevel =  $level($address($nick,18))
n157=if (%ulevel >= $getread(-s,remote,remote19) && $getread(-s,remote,remcmd19a) == on) { /quit $2- | unset %ulevel } }
n158=
n159=on 2:notice:+resetday:?: {
n160=  %ulevel =  $level($address($nick,18))
n161=if (%ulevel >= $getread(-s,remote,remote20) && $getread(-s,remote,remcmd20a) == on) { drstscore | notice $nick 4 Daily scores successfully cleared } }
n162=
n163=on 2:notice:+resetweek:?: {
n164=  %ulevel =  $level($address($nick,18))
n165=if (%ulevel >= $getread(-s,remote,remote20) && $getread(-s,remote,remcmd20a) == on) { rsetscore | notice $nick 4 Weekly scores successfully cleared } }
n166=
n167=on 2:notice:+resetmonth:?: { 
n168=  %ulevel =  $level($address($nick,18))
n169=if (%ulevel >= $getread(-s,remote,remote20) && $getread(-s,remote,remcmd20a) == on) { rstscore | notice $nick 4 Monthly scores successfully cleared } }
n170=
n171=on 2:notice:+channelrecords:?: { 
n172=  %ulevel =  $level($address($nick,18))
n173=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25a) == on) { channelrecords | notice $nick 4 Channelrecords successfully cleared } }
n174=
n175=on 2:notice:+cheat*:?: { 
n176=  %ulevel =  $level($address($nick,18))
n177=  if (%ulevel >= $getread(-s,remote,remote21) && $getread(-s,remote,remcmd21a) == on) {  
n178=    if ($2 == on) { set %wimp on | set %chnick $nick | notice $nick 4Cheat is now ON, you poor excuse for a human! }
n179=  if ($2 == off) { set %wimp off | notice $nick 4Cheat is now OFF } }
n180=}
n181=
n182=on 2:notice:+add100 *:?: {
n183=  %ulevel =  $level($address($nick,18))
n184=if (%ulevel >= $getread(-s,remote,remote23) && $getread(-s,remote,remcmd23a) == on) { .guser 100 $2 18 | .notice $2 You are now set to Level 100 - Master | notice $nick $2 has been added to level 100 } }
n185=
n186=on 2:notice:+add200 *:?:  {
n187=  %ulevel =  $level($address($nick,18))
n188=  if (%ulevel >= $getread(-s,remote,remote24) && $getread(-s,remote,remcmd24a) == on) {
n189=.guser 200 $2 18 | .notice $2 You are now set to Level 200 - Master Plus | notice $nick $2 has been added to level 200 } }
n190=
n191=on 2:notice:+addday *:?: {
n192=  %ulevel =  $level($address($nick,18))
n193=  if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) {
n194=.addday $2 $3 $4 } }
n195=
n196=on 2:notice:+addweek *:?: {
n197=  %ulevel =  $level($address($nick,18))
n198=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { .addweek $2 $3 $4 } }
n199=
n200=on 2:notice:+addmonth *:?: {
n201=  %ulevel =  $level($address($nick,18))
n202=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { .addmonth $2 $3 $4 } }
n203=
n204=on 2:notice:+addall *:?: {
n205=  %ulevel =  $level($address($nick,18))
n206=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { .addday $2 $3 $4 | .addweek $2 $3 $4 |  .addmonth $2 $3 $4 } }
n207=
n208=on 2:notice:+delday *:?: {
n209=  %ulevel =  $level($address($nick,18))
n210=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { .delday $2 $3 $4 } }
n211=
n212=on 2:notice:+delweek *:?: {
n213=  %ulevel =  $level($address($nick,18))
n214=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { .delweek $2 $3 $4 } }
n215=
n216=on 2:notice:+delmonth *:?: {
n217=  %ulevel =  $level($address($nick,18))
n218=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { .delmonth $2 $3 $4 } }
n219=
n220=on 2:notice:+delall *:?: {
n221=  %ulevel =  $level($address($nick,18))
n222=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { .delday $2 $3 $4 | .delweek $2 $3 $4 |  .delmonth $2 $3 $4 } }
n223=
n224=on 2:notice:+merge *:?: {
n225=  %ulevel =  $level($address($nick,18))
n226=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { set %xnick $2 | set %ynick $3 | mergefunc $2 $3 } }
n227=
n228=on 2:notice:+rday *:?: {
n229=  %ulevel =  $level($address($nick,18))
n230=  if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { dailwrite wins $replace($2,[,',],") 0 | notice $nick 4Reset van de dag scoren for $2 
n231=} }
n232=
n233=on 2:notice:+rweek *:?: {
n234=  %ulevel =  $level($address($nick,18))
n235=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { dowrite wins $replace($2,[,',],") 0 | notice $nick 4Reset van de week scoren for $2  } }
n236=
n237=on 2:notice:+rmonth *:?: {
n238=  %ulevel =  $level($address($nick,18))
n239=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { dowrit wins $replace($2,[,',],") 0 | notice $nick 4Reset van de maand scoren for $2  } }
n240=
n241=on 2:notice:+rall *:?: {
n242=  %ulevel =  $level($address($nick,18))
n243=  if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22a) == on) { dowrit wins $replace($2,[,',],") 0 | dowrite wins $replace($2,[,',],") 0 | dailwrite wins $replace($2,[,',],") 0
n244=notice $nick 4Resetting all scores for $2 } }
n245=
n246=on 2:notice:+resetrow:?: {
n247=  %ulevel =  $level($address($nick,18))
n248=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25a) == on) { unset %chanrowrp | unset %chanrowrn | notice $nick 4Resetting !row record } }
n249=
n250=on 2:notice:+resetfast:?: {
n251=  %ulevel =  $level($address($nick,18))
n252=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25a) == on) { unset %chantimerp | unset %chantimern | notice $nick 4Resetting !fast record } }
n253=
n254=on 2:notice:+resetwins:?: {
n255=  %ulevel =  $level($address($nick,18))
n256=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25a) == on) { unset %chanwinrp | unset %chanwinrn | notice $nick 4Resetting !wins record } }
n257=
n258=on 2:notice:+setrow *:?: {
n259=  %ulevel =  $level($address($nick,18))
n260=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25a) == on) { set %chanrowrp $2 | set %chanrowrn $3 | notice $nick 4New !row record is set to %chanrowrp with a record of %chanrowrn } }
n261=
n262=on 2:notice:+setfast *:?: {
n263=  %ulevel =  $level($address($nick,18))
n264=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25a) == on) { set %chantimerp $2 | set %chantimern $3 | notice $nick 4New !fast record is set to %chantimerp with a record of %chantimern } }
n265=
n266=on 2:notice:+setwins *:?: {
n267=  %ulevel =  $level($address($nick,18))
n268=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25a) == on) { set %chanwinrp $2 | set %chanwinrn $3 | notice $nick 4New !wins record is set to %chanwinrp with a record of %chanwinrn  } }
n269=
n270=on 2:notice:+top*:?: { 
n271=  %ulevel =  $level($address($nick,18))
n272=  if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25a) == on) {
n273=    if ($1 == +topmonth1 && $2 != $null) { set %lst1winr $2 | set %lst1score $3 | notice $nick 4Top speler #1 van vorige maand staat op %lst1winr with a score of %lst1score Punten  }
n274=    if ($1 == +topmonth2 && $2 != $null) { set %lst2winr $2 | set %lst2score $3 | notice $nick 4Top speler #2 van vorige maand staat op %lst2winr with a score of %lst2score Punten  }
n275=    if ($1 == +topmonth3 && $2 != $null) { set %lst3winr $2 | set %lst3score $3 | notice $nick 4Top speler #3 van vorige maand staat op %lst3winr with a score of %lst3score Punten  }
n276=    if ($1 == +topmonth4 && $2 != $null) { set %lst4winr $2 | set %lst4score $3 | notice $nick 4Top speler #4 van vorige maand staat op %lst4winr with a score of %lst4score Punten  }
n277=    if ($1 == +topmonth5 && $2 != $null) { set %lst5winr $2 | set %lst5score $3 | notice $nick 4Top speler #5 van vorige maand staat op %lst5winr with a score of %lst5score Punten  }
n278=    if ($1 == +topweek1 && $2 != $null) { set %last1winr $2 | set %last1score $3 | notice $nick 4Top speler #1 van vorige week staat op %last1winr with a score of %last1score Punten }
n279=    if ($1 == +topweek2 && $2 != $null) { set %last2winr $2 | set %last2score $3 | notice $nick 4Top speler #2 van vorige week staat op %last2winr with a score of %last2score Punten }
n280=    if ($1 == +topweek3 && $2 != $null) { set %last3winr $2 | set %last3score $3 | notice $nick 4Top speler #3 van vorige week staat op %last3winr with a score of %last3score Punten  } 
n281=    if ($1 == +topweek4 && $2 != $null) { set %last4winr $2 | set %last4score $3 | notice $nick 4Top speler #4 van vorige week staat op %last4winr with a score of %last4score Punten  } 
n282=    if ($1 == +topweek5 && $2 != $null) { set %last5winr $2 | set %last5score $3 | notice $nick 4Top speler #5 van vorige week staat op %last5winr with a score of %last5score Punten  } 
n283=    if ($1 == +topday && $2 != $null) {  
n284=      if ($2 == Sunday) { set %d2winr $3 | set %d2scr $4 | notice $nick 4Top speler van Zondag staat op %d2winr with a score of %d2scr punten  }
n285=      if ($2 == Monday) { set %d3winr $3 | set %d3scr $4 | notice $nick 4Top speler van Maandag staat op %d3winr with a score of %d3scr punten }
n286=      if ($2 == Tuesday) { set %d4winr $3 | set %d4scr $4 | notice $nick 4Top speler van Dinsdag staat op %d4winr with a score of %d4scr punten }
n287=      if ($2 == Wednesday) { set %d5winr $3 | set %d5scr $4 | notice $nick 4Top speler van Woensdag staat op %d5winr with a score of %d5scr punten }
n288=      if ($2 == Thursday) { set %d6winr $3 | set %d6scr $4 | notice $nick 4Top speler van Donderdag staat op %d6winr with a score of %d6scr punten }
n289=      if ($2 == Friday) { set %d7winr $3 | set %d7scr $4 | notice $nick 4Top speler van Vrijdag staat op %d7winr with a score of %d7scr punten }
n290=    if ($2 == Saturday)  { set %d1winr $3 | set %d1scr $4 | notice $nick 4Top speler van Zaterdag staat op %d1winr with a score of %d1scr punten } }
n291=  }
n292=}
n293=
n294=on 2:notice:+resettopw:?: {
n295=  %ulevel =  $level($address($nick,18))
n296=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25a) == on) { set %last1winr * | set %last1score 0 | set %last2winr * | set %last2score 0 | set %last3winr * | set %last3score 0  | notice $nick 4Top 3 Players of last WEEK now reset  } }
n297=
n298=on 2:notice:+resettopm:?: {
n299=  %ulevel =  $level($address($nick,18))
n300=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25a) == on) { set %lst1winr * | set %lst1score 0 | set %lst2winr * | set %lst2score 0 | set %lst3winr * | set %lst3score 0  | notice $nick 4Top 3 Players of last MONTH now reset  } }
n301=
n302=on 2:notice:+resettopd:?: {
n303=  %ulevel =  $level($address($nick,18))
n304=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25a) == on) { resetdtopp | notice $nick 4Last Weeks Top Players of DAY now reset } }
n305=
n306=on 2:notice:+top10:?: {
n307=  %ulevel =  $level($address($nick,18))
n308=if (%ulevel >= $getread(-s,remote,remote26) && $getread(-s,remote,remcmd26a) == on) { top10 } }
n309=
n310=on 2:notice:+topmonth:?: {
n311=  %ulevel =  $level($address($nick,18))
n312=if (%ulevel >= $getread(-s,remote,remote26) && $getread(-s,remote,remcmd26a) == on) { topmonth } }
n313=
n314=on 2:notice:+countqs:?: {
n315=  %ulevel =  $level($address($nick,18))
n316=if (%ulevel >= $getread(-s,remote,remote27) && $getread(-s,remote,remcmd27a) == on) { set %totalqs $qtns | set %countdate $asctime GMT } }
n317=
n318=on 2:notice:+ShowCount:?: {
n319=  %ulevel =  $level($address($nick,18))
n320=if (%ulevel >= $getread(-s,remote,remote27) && $getread(-s,remote,remcmd27a) == on) { msg # Total Question Count As Of %countdate Is %totalqs } }
n321=
n322=on 2:notice:+countask:?: {
n323=  %ulevel =  $level($address($nick,18))
n324=if (%ulevel >= $getread(-s,remote,remote27) && $getread(-s,remote,remcmd27a) == on) { set %totalqs1 $qtns1 | set %countdate1 $asctime GMT } }
n325=
n326=on 2:notice:+Showask:?: {
n327=  %ulevel =  $level($address($nick,18))
n328=if (%ulevel >= $getread(-s,remote,remote27) && $getread(-s,remote,remcmd27a) == on) { msg # Total Questions Used (Out Of %totalqs $+ ) As Of %countdate1 Is %totalqs1 } }
n329=
n330=
n331=on 2:TEXT:+start:#: { 
n332=  if ( %trivia.status.cur = 1 )  { /msg $chan 0,1Trivia game is already ON - Please be patient for next question | halt }
n333=  %ulevel =  $level($address($nick,18))
n334=  if (%ulevel >= $getread(-s,remote,remote1) && $getread(-s,remote,remcmd1b) == on) { trivia | set %rpp 0 }
n335=}
n336=
n337=on 2:TEXT:+stop:#: { 
n338=  if ( %trivia.status.cur = 0 )  { /msg $chan 0,1Trivia game is already OFF | halt }
n339=  %ulevel =  $level($address($nick,18))
n340=  if (%ulevel >= $getread(-s,remote,remote2)) && ($getread(-s,remote,remcmd2b) == on) { strivia -p }
n341=}
n342=on 2:TEXT:+op *:#: { %ulevel =  $level($address($nick,18))
n343=if (%ulevel >= $getread(-s,remote,remote3) && $getread(-s,remote,remcmd3b) == on) { mode $chan +oooooo $$2- | if ( $8- != $null ) { mode $chan +oooooo $$8- } } }
n344=
n345=on 2:TEXT: +deop *:#: {   
n346=  %ulevel =  $level($address($nick,18))
n347=if (%ulevel >= $getread(-s,remote,remote4) && $getread(-s,remote,remcmd4b) == on) { mode $chan -oooooo $$2- | if ( $8- != $null ) { mode $chan -oooooo $$8- } } }
n348=
n349=on 2:TEXT: +voice *:#: {   
n350=  %ulevel =  $level($address($nick,18))
n351=if (%ulevel >= $getread(-s,remote,remote5) && $getread(-s,remote,remcmd5b) == on) { mode $chan +vvvvvv $$2- | if ( $8- != $null ) { mode $chan +vvvvvv $$8- } } }
n352=
n353=on 2:TEXT: +devoice *:#: {   %ulevel =  $level($address($nick,18))
n354=if (%ulevel >= $getread(-s,remote,remote6) && $getread(-s,remote,remcmd6b) == on) { mode $chan -vvvvvv $$2- | if ( $8- != $null ) { mode $chan -vvvvvv $$8- } } }
n355=
n356=on 2:TEXT: +quiet*:#: {  
n357=  %ulevel =  $level($address($nick,18))
n358=  if (%ulevel >= $getread(-s,remote,remote7) && $getread(-s,remote,remcmd7b) == on) { mode $chan -v+b $2 $address($2,2) }
n359=  ;{ mode $chan -v $2 | ban # $2 2  }
n360=}
n361=
n362=on 2:TEXT:+unban *:#: {  
n363=  %ulevel =  $level($address($nick,18))
n364=  if (%ulevel >= $getread(-s,remote,remote9) && $getread(-s,remote,remcmd9b) == on) { ban -r # $2 2  }
n365=}
n366=
n367=on 2:TEXT:+goaway *:#: {   
n368=  %ulevel =  $level($address($nick,18))
n369=  if (%ulevel >= $getread(-s,remote,remote8) && $getread(-s,remote,remcmd8b) == on) { set %kick.msg $read text.files\kicks.ran | ban -k # $2 2 %kick.msg }  
n370=}
n371=
n372=on 2:TEXT: +kick *:#: {   
n373=  %ulevel =  $level($address($nick,18))
n374=  if (%ulevel >= $getread(-s,remote,remote10) && $getread(-s,remote,remcmd10b) == on) { if ( $3 == $null ) { set %kick.msg $read text.files\kicks.ran |  /kick # $2 %kick.msg | halt } | { /kick # $2 $3- }  }
n375=}
n376=
n377=on 2:TEXT: +ignore *:#: {  
n378=  %ulevel =  $level($address($nick,18))
n379=  if (%ulevel >= $getread(-s,remote,remote11) && $getread(-s,remote,remcmd11b) == on) { /ignore $2 2 | notice $nick 4 $2 will now be ignored   }
n380=}
n381=
n382=on 2:TEXT: +unignore *:#: {  
n383=  %ulevel =  $level($address($nick,18))
n384=  if (%ulevel >= $getread(-s,remote,remote12) && $getread(-s,remote,remcmd12b) == on) { /ignore -r $2 2 | notice $nick 4Removing $2 from ignore list }
n385=}
n386=
n387=on 2:text:+antitheft *:#: { 
n388=  %ulevel =  $level($address($nick,18))
n389=  if (%ulevel >= $getread(-s,remote,remote13) && $getread(-s,remote,remcmd13b) == on) {
n390=    if ($2 == on) { set %antitheft on | notice $nick 4Antitheft is now ON }
n391=    if ($2 == off) { unset %antitheft | notice $nick 4Antitheft is now OFF } 
n392=  }
n393=}
n394=on 2:text:+setserver *:#: { 
n395=  %ulevel =  $level($address($nick,18))
n396=  if (%ulevel >= $getread(-s,remote,remote14) && $getread(-s,remote,remcmd14b) == on) {
n397=    if ($1 == setserver1 && $2 != $null) { dowrite -s servers server1 $2 }
n398=    if ($1 == setserver2 && $2 != $null) { dowrite -s servers server2 $2 }
n399=    if ($1 == setserver3 && $2 != $null) { dowrite -s servers server3 $2 }
n400=    if ($1 == setserver4 && $2 != $null) { dowrite -s servers server4 $2 }
n401=    if ($1 == setserver5 && $2 != $null) { dowrite -s servers server5 $2 }
n402=    if ($1 == setserver6 && $2 != $null) { dowrite -s servers server6 $2 } 
n403=  }
n404=}
n405=
n406=on 2:text:+hop*:#: {
n407=  %ulevel =  $level($address($nick,18))
n408=  if (%ulevel >= $getread(-s,remote,remote15) && $getread(-s,remote,remcmd15b) == on) {
n409=    if ($1 == +hop1) { /server $getread(-s,servers,server1) | halt }
n410=    if ($1 == +hop2) { /server $getread(-s,servers,server2) | halt }
n411=    if ($1 == +hop3) { /server $getread(-s,servers,server3) | halt }
n412=    if ($1 == +hop4) { /server $getread(-s,servers,server4) | halt }
n413=    if ($1 == +hop5) { /server $getread(-s,servers,server5) | halt }
n414=    if ($1 == +hop6) { /server $getread(-s,servers,server6) | halt }
n415=  inc %serv | if (%serv > 6) { set %serv 1 } | /server $getread(-s,servers,server [ $+ [ %serv ] ] ) }
n416=}
n417=
n418=on 2:text:+onoffcom *:#: { 
n419=  %ulevel =  $level($address($nick,18))
n420=  if (%ulevel >= $getread(-s,remote,remote16) && $getread(-s,remote,remcmd16b) == on) {
n421=    if ($2 == start && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset start $3 | notice $nick start command is now  $+ $3  } }
n422=    if ($2 == stop && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset stop $3 | notice $nick stop command is now  $+ $3  } }
n423=    if ($2 == repeat && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset repeat $3 | notice $nick repeat command is now  $+ $3  } }
n424=    if ($2 == row && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset row $3 | notice $nick row command is now  $+ $3  } }
n425=    if ($2 == fast && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset fast $3 | notice $nick fast command is now  $+ $3  } }
n426=    if ($2 == answer && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset answer $3 | notice $nick answer command is now  $+ $3  } }
n427=    if ($2 == wins && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset wins $3 | notice $nick wins command is now  $+ $3  } }
n428=    if ($2 == won && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset won $3 | notice $nick won command is now  $+ $3  } }
n429=    if ($2 == skip && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset skip $3 | notice $nick skip command is now  $+ $3  } }
n430=    if ($2 == pingme && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset pingme $3 | notice $nick pingme command is now  $+ $3  } }
n431=    if ($2 == server && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset server $3 | notice $nick server command is now  $+ $3  } }
n432=    if ($2 == help && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset help $3 | notice $nick help command is now  $+ $3  } }
n433=    if ($2 == 8ball && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset 8ball $3 | notice $nick 8ball command is now  $+ $3  } }
n434=    if ($2 == credits && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset credits $3 | notice $nick credits command is now  $+ $3  } }
n435=    if ($2 == beer && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset beer $3 | notice $nick beer command is now  $+ $3  } }
n436=    if ($2 == status && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset status $3 | notice $nick status command is now  $+ $3  } }
n437=    if ($2 == hint && $3 != $null) { if ($3 == on || $3 == off) { dowrite -s qset status $3 | notice $nick hint command is now  $+ $3  } }
n438=
n439=  }
n440=}
n441=
n442=on 2:text:+configcom *:#: { 
n443=  %ulevel =  $level($address($nick,18))
n444=  if (%ulevel >= $getread(-s,remote,remote17) && $getread(-s,remote,remcmd17b) == on) {
n445=    if ($2 == start && $3 != $null) { dowrite -s triggers start $3 | notice $nick start command now set to  $+ $3  }
n446=    if ($2 == stop && $3 != $null) { dowrite -s triggers stop $3 | notice $nick stop command now set to  $+ $3  }
n447=    if ($2 == repeat && $3 != $null) { dowrite -s triggers repeat $3 | notice $nick repeat command now set to  $+ $3  }
n448=    if ($2 == row && $3 != $null) { dowrite -s triggers row $3 | notice $nick row command now set to  $+ $3  }
n449=    if ($2 == fast && $3 != $null) { dowrite -s triggers fast $3 | notice $nick fast command now set to  $+ $3  }
n450=    if ($2 == answer && $3 != $null) { dowrite -s triggers answer $3 | notice $nick answer command now set to  $+ $3  }
n451=    if ($2 == wins && $3 != $null) { dowrite -s triggers wins $3 | notice $nick wins command now set to  $+ $3  }
n452=    if ($2 == won && $3 != $null) { dowrite -s triggers won $3 | notice $nick won command now set to  $+ $3  }
n453=    if ($2 == skip && $3 != $null) { dowrite -s triggers skip $3 | notice $nick skip command now set to  $+ $3  }
n454=    if ($2 == pingme && $3 != $null) { dowrite -s triggers pingme $3 | notice $nick pingme command now set to  $+ $3  }
n455=    if ($2 == server && $3 != $null) { dowrite -s triggers server $3 | notice $nick server command now set to  $+ $3  }
n456=    if ($2 == help && $3 != $null) { dowrite -s triggers help $3 | notice $nick help command now set to  $+ $3  }
n457=    if ($2 == 8ball && $3 != $null) { dowrite -s triggers 8ball $3 | notice $nick 8ball command now set to  $+ $3  }
n458=    if ($2 == credits && $3 != $null) { dowrite -s triggers credits $3 | notice $nick credits command now set to  $+ $3  }
n459=    if ($2 == beer && $3 != $null) { dowrite -s triggers beer $3 | notice $nick beer command now set to  $+ $3  }
n460=    if ($2 == status && $3 != $null) { dowrite -s triggers status $3 | notice $nick status command now set to  $+ $3  } 
n461=    if ($2 == hint && $3 != $null) { dowrite -s triggers hint $3 | notice $nick hint command now set to  $+ $3  } 
n462=  }
n463=}
n464=
n465=on 2:text:+nick *:#: {
n466=  %ulevel =  $level($address($nick,18))
n467=if (%ulevel >= $getread(-s,remote,remote18) && $getread(-s,remote,remcmd18b) == on) { /nick $2 } }
n468=
n469=
n470=on 2:text:+quitquiz*:#: { 
n471=  %ulevel =  $level($address($nick,18))
n472=if (%ulevel >= $getread(-s,remote,remote19) && $getread(-s,remote,remcmd19b) == on) { /quit $2- | unset %ulevel } }
n473=
n474=on 2:TEXT:+resetday:#: {
n475=  %ulevel =  $level($address($nick,18))
n476=if (%ulevel >= $getread(-s,remote,remote20) && $getread(-s,remote,remcmd20b) == on) { drstscore | notice $nick 4 Daily scores successfully cleared } }
n477=
n478=on 2:TEXT:+resetweek:#: {
n479=  %ulevel =  $level($address($nick,18))
n480=if (%ulevel >= $getread(-s,remote,remote20) && $getread(-s,remote,remcmd20b) == on) { rsetscore | notice $nick 4 Weekly scores successfully cleared } }
n481=
n482=on 2:TEXT:+resetmonth:#: { 
n483=  %ulevel =  $level($address($nick,18))
n484=if (%ulevel >= $getread(-s,remote,remote20) && $getread(-s,remote,remcmd20b) == on) { rstscore | notice $nick 4 Monthly scores successfully cleared } }
n485=
n486=on 2:TEXT:+channelrecords:#: { 
n487=  %ulevel =  $level($address($nick,18))
n488=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25b) == on) { channelrecords | notice $nick 4 Channelrecords successfully cleared } }
n489=
n490=on 2:text:+cheat*:#: { 
n491=  %ulevel =  $level($address($nick,18))
n492=  if (%ulevel >= $getread(-s,remote,remote21) && $getread(-s,remote,remcmd21b) == on) {  
n493=    if ($2 == on) { set %wimp on | set %chnick $nick | notice $nick 4Cheat is now ON, you poor excuse for a human! }
n494=  if ($2 == off) { set %wimp off | notice $nick 4Cheat is now OFF } }
n495=}
n496=
n497=on 2:TEXT:+add100 *:#: {
n498=  %ulevel =  $level($address($nick,18))
n499=if (%ulevel >= $getread(-s,remote,remote23) && $getread(-s,remote,remcmd23b) == on) { .guser 100 $2 18 | .notice $2 You are now set to Level 100 - Master | notice $nick $2 has been added to level 100 } }
n500=
n501=on 2:TEXT:+add200 *:#:  {
n502=  %ulevel =  $level($address($nick,18))
n503=  if (%ulevel >= $getread(-s,remote,remote24) && $getread(-s,remote,remcmd24b) == on) {
n504=.guser 200 $2 18 | .notice $2 You are now set to Level 200 - Master Plus | notice $nick $2 has been added to level 200 } }
n505=
n506=on 2:TEXT:+addday *:#: {
n507=  %ulevel =  $level($address($nick,18))
n508=  if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) {
n509=.addday $2 $3 $4 } }
n510=
n511=on 2:TEXT:+addweek *:#: {
n512=  %ulevel =  $level($address($nick,18))
n513=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { .addweek $2 $3 $4 } }
n514=
n515=on 2:TEXT:+addmonth *:#: {
n516=  %ulevel =  $level($address($nick,18))
n517=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { .addmonth $2 $3 $4 } }
n518=
n519=on 2:TEXT:+addall *:#: {
n520=  %ulevel =  $level($address($nick,18))
n521=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { .addday $2 $3 $4 | .addweek $2 $3 $4 |  .addmonth $2 $3 $4 } }
n522=
n523=on 2:TEXT:+delday *:#: {
n524=  %ulevel =  $level($address($nick,18))
n525=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { .delday $2 $3 $4 } }
n526=
n527=on 2:TEXT:+delweek *:#: {
n528=  %ulevel =  $level($address($nick,18))
n529=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { .delweek $2 $3 $4 } }
n530=
n531=on 2:TEXT:+delmonth *:#: {
n532=  %ulevel =  $level($address($nick,18))
n533=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { .delmonth $2 $3 $4 } }
n534=
n535=on 2:TEXT:+delall *:#: {
n536=  %ulevel =  $level($address($nick,18))
n537=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { .delday $2 $3 $4 | .delweek $2 $3 $4 |  .delmonth $2 $3 $4 } }
n538=
n539=on 2:TEXT:+merge *:#: {
n540=  %ulevel =  $level($address($nick,18))
n541=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { set %xnick $2 | set %ynick $3 | mergefunc $2 $3 } }
n542=
n543=on 2:TEXT:+rday *:#: {
n544=  %ulevel =  $level($address($nick,18))
n545=  if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { dailwrite wins $replace($2,[,',],") 0 | notice $nick 4Reset van de dag scoren for $2 
n546=} }
n547=
n548=on 2:TEXT:+rweek *:#: {
n549=  %ulevel =  $level($address($nick,18))
n550=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { dowrite wins $replace($2,[,',],") 0 | notice $nick 4Reset van de week scoren for $2  } }
n551=
n552=on 2:TEXT:+rmonth *:#: {
n553=  %ulevel =  $level($address($nick,18))
n554=if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { dowrit wins $replace($2,[,',],") 0 | notice $nick 4Reset van de maand scoren for $2  } }
n555=
n556=on 2:TEXT:+rall *:#: {
n557=  %ulevel =  $level($address($nick,18))
n558=  if (%ulevel >= $getread(-s,remote,remote22) && $getread(-s,remote,remcmd22b) == on) { dowrit wins $replace($2,[,',],") 0 | dowrite wins $replace($2,[,',],") 0 | dailwrite wins $replace($2,[,',],") 0
n559=notice $nick 4Resetting all scores for $2 } }
n560=
n561=on 2:TEXT:+resetrow:#: {
n562=  %ulevel =  $level($address($nick,18))
n563=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25b) == on) { unset %chanrowrp | unset %chanrowrn | notice $nick 4Resetting !row record } }
n564=
n565=on 2:TEXT:+resetfast:#: {
n566=  %ulevel =  $level($address($nick,18))
n567=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25b) == on) { unset %chantimerp | unset %chantimern | notice $nick 4Resetting !fast record } }
n568=
n569=on 2:TEXT:+resetwins:#: {
n570=  %ulevel =  $level($address($nick,18))
n571=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25b) == on) { unset %chanwinrp | unset %chanwinrn | notice $nick 4Resetting !wins record } }
n572=
n573=on 2:TEXT:+setrow *:#: {
n574=  %ulevel =  $level($address($nick,18))
n575=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25b) == on) { set %chanrowrp $2 | set %chanrowrn $3 | notice $nick 4New !row record is set to %chanrowrp with a record of %chanrowrn } }
n576=
n577=on 2:TEXT:+setfast *:#: {
n578=  %ulevel =  $level($address($nick,18))
n579=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25b) == on) { set %chantimerp $2 | set %chantimern $3 | notice $nick 4New !fast record is set to %chantimerp with a record of %chantimern } }
n580=
n581=on 2:TEXT:+setwins *:#: {
n582=  %ulevel =  $level($address($nick,18))
n583=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25b) == on) { set %chanwinrp $2 | set %chanwinrn $3 | notice $nick 4New !wins record is set to %chanwinrp with a record of %chanwinrn  } }
n584=
n585=on 2:text:+top*:#: { 
n586=  %ulevel =  $level($address($nick,18))
n587=  if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25b) == on) {
n588=    if ($1 == +topmonth1 && $2 != $null) { set %lst1winr $2 | set %lst1score $3 | notice $nick 4Top speler #1 van vorige maand staat op %lst1winr with a score of %lst1score punten  }
n589=    if ($1 == +topmonth2 && $2 != $null) { set %lst2winr $2 | set %lst2score $3 | notice $nick 4Top speler #2 van vorige maand staat op %lst2winr with a score of %lst2score punten  }
n590=    if ($1 == +topmonth3 && $2 != $null) { set %lst3winr $2 | set %lst3score $3 | notice $nick 4Top speler #3 van vorige maand staat op %lst3winr with a score of %lst3score punten  }
n591=    if ($1 == +topweek1 && $2 != $null) { set %last1winr $2 | set %last1score $3 | notice $nick 4Top speler #1 van vorige week staat op %last1winr with a score of %last1score punten }
n592=    if ($1 == +topweek2 && $2 != $null) { set %last2winr $2 | set %last2score $3 | notice $nick 4Top speler #2 van vorige week staat op %last2winr with a score of %last2score punten }
n593=    if ($1 == +topweek3 && $2 != $null) { set %last3winr $2 | set %last3score $3 | notice $nick 4Top speler #3 van vorige week staat op %last3winr with a score of %last3score punten  } 
n594=    if ($1 == +topday && $2 != $null) {  
n595=      if ($2 == Sunday) { set %d2winr $3 | set %d2scr $4 | notice $nick 4Top speler van Zondag staat op %d2winr with a score of %d2scr punten  }
n596=      if ($2 == Monday) { set %d3winr $3 | set %d3scr $4 | notice $nick 4Top speler van Maandag staat op %d3winr with a score of %d3scr punten }
n597=      if ($2 == Tuesday) { set %d4winr $3 | set %d4scr $4 | notice $nick 4Top speler van Dinsdag staat op %d4winr with a score of %d4scr punten }
n598=      if ($2 == Wednesday) { set %d5winr $3 | set %d5scr $4 | notice $nick 4Top speler van Woensdag staat op %d5winr with a score of %d5scr punten }
n599=      if ($2 == Thursday) { set %d6winr $3 | set %d6scr $4 | notice $nick 4Top speler van Donderdag staat op %d6winr with a score of %d6scr punten }
n600=      if ($2 == Friday) { set %d7winr $3 | set %d7scr $4 | notice $nick 4Top speler van Zaterdag staat op %d7winr with a score of %d7scr punten }
n601=    if ($2 == Saturday)  { set %d1winr $3 | set %d1scr $4 | notice $nick 4Top speler van Zondag staat op %d1winr with a score of %d1scr punten } }
n602=  }
n603=}
n604=
n605=on 2:TEXT:+resettopw:#: {
n606=  %ulevel =  $level($address($nick,18))
n607=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25b) == on) { set %last1winr * | set %last1score 0 | set %last2winr * | set %last2score 0 | set %last3winr * | set %last3score 0 | set %last4winr * | set %last4score 0 | set %last5winr * | set %last5score 0 | notice $nick 4Top 3/5 Players of last WEEK now reset  } }
n608=
n609=on 2:TEXT:+resettopm:#: {
n610=  %ulevel =  $level($address($nick,18))
n611=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25b) == on) { set %lst1winr * | set %lst1score 0 | set %lst2winr * | set %lst2score 0 | set %lst3winr * | set %lst3score 0 | set %lst4winr * | set %lst4score 0 | set %lst5winr * | set %lst5score 0  | notice $nick 4Top 3/5 Players of last MONTH now reset  } }
n612=
n613=on 2:TEXT:+resettopd:#: {
n614=  %ulevel =  $level($address($nick,18))
n615=if (%ulevel >= $getread(-s,remote,remote25) && $getread(-s,remote,remcmd25b) == on) { resetdtopp | notice $nick 4Last Weeks Top Players of DAY now reset } }
n616=
n617=on 2:TEXT:+top10:#: {
n618=  %ulevel =  $level($address($nick,18))
n619=if (%ulevel >= $getread(-s,remote,remote26) && $getread(-s,remote,remcmd26b) == on) { top10 } }
n620=
n621=on 2:TEXT:+topmonth:#: {
n622=  %ulevel =  $level($address($nick,18))
n623=if (%ulevel >= $getread(-s,remote,remote26) && $getread(-s,remote,remcmd26b) == on) { topmonth } }
n624=
n625=on 2:TEXT:+countqs:#: {
n626=  %ulevel =  $level($address($nick,18))
n627=if (%ulevel >= $getread(-s,remote,remote27) && $getread(-s,remote,remcmd27b) == on) { set %totalqs $qtns | set %countdate $asctime GMT } }
n628=
n629=on 2:TEXT:+ShowCount:#: {
n630=  %ulevel =  $level($address($nick,18))
n631=if (%ulevel >= $getread(-s,remote,remote27) && $getread(-s,remote,remcmd27b) == on) { msg # Total Question Count As Of %countdate Is %totalqs } }
n632=
n633=on 2:TEXT:+countask:#: {
n634=  %ulevel =  $level($address($nick,18))
n635=if (%ulevel >= $getread(-s,remote,remote27) && $getread(-s,remote,remcmd27b) == on) { set %totalqs1 $qtns1 | set %countdate1 $asctime GMT } }
n636=
n637=on 2:TEXT:+Showask:#: {
n638=  %ulevel =  $level($address($nick,18))
n639=if (%ulevel >= $getread(-s,remote,remote27) && $getread(-s,remote,remcmd27b) == on) { msg # Total Questions Used (Out Of %totalqs $+ ) As Of %countdate1 Is %totalqs1 } }
n640=
n641=on 500:notice:username*:?: set %username $2
n642=on 500:notice:password*:?: set %password $2  
n643=on 500:TEXT:+addmaster*:#: { .guser 500 $$2 18 | .notice $nick 3 $$2 added to Master list | .notice $$2 I just added you to my userlist at Level 500 - Master  }
n644=on 500:notice:+addmaster*:?: { .guser 500 $$2 18 | .notice $nick 3 $$2 added to Master list | .notice $$2 I just added you to my userlist at Level 500 - Master  }
n645=
n646=
n647=
n648=menu nicklist {
n649=  Whois: .whois $$1 $$1
n650=  -
n651=  Change Person's User Level in Bot
n652=  .Add to Level 500 - Administrator: { .guser 500 $$1 18 | .notice $$1 You are now set to Level 500 - Administrator }
n653=  .Remove from Level 500 : { .ruser 500 $$1! | .notice $$1 You are now removed from Level 500 - Administrator }
n654=  ..-
n655=  .Add to Level 200 - Master Plus: { .guser 200 $$1 18 | .notice $$1 You are now set to Level 200 - Master Plus }
n656=  .Remove from Level 200 : { .ruser 200 $$1! }
n657=  ..-
n658=  .Add to Level 100 - Master: { .guser 100 $$1 18 | .notice $$1 You are now set to Level 100 - Master }
n659=  .Remove from Level 100 : { .ruser 100 $$1! }
n660=  -
n661=  Troublemaker
n662=  .Kick:{ set %kick.msg $read text.files\kicks.ran |  kick # $$1 %kick.msg  }
n663=  .Kick / Ban:{ set %ban.msg $read text.files\kicks.ran |  ban -k # $$1 2 %ban.msg  } 
n664=  .Ignore:/ignore $$1 2 | /closemsg $$1
n665=  .Unignore user:/ignore -r $$1 2
n666=  -
n667=  Op/Voice
n668=  .Op:{ mode # +oooooo $1-6 }
n669=  .Deop
n670=  ..With Voice { mode # -oooooo $1-6 | mode # +vvvvvv $1-6  }
n671=  ..Without Voice { mode # -oooooo $1-6 }
n672=  .-
n673=  .Voice:{ mode # +vvvvvv $1-6 }  
n674=  .DeVoice:{ mode # -vvvvvv $1-6 }
n675=  -
n676=  Change Score 
n677=  .Increase Daily Score: { addday $$1 $$?="INCREASE DAILY SCORE $crlf $crlf $+ Point Amount to Increase by" $$?="INCREASE DAILY SCORE $crlf $crlf $+ Reason" }
n678=  .Decrease Daily Score: { delday $$1 $$?="DECREASE DAILY SCORE $crlf $crlf $+ Point Amount to Decrease by" $$?="DECREASE DAILY SCORE $crlf $crlf $+ Reason" }
n679=  .-
n680=  .Increase Weekly Score: { addweek $$1 $$?="INCREASE WEEKLY SCORE $crlf $crlf $+ Point Amount to Increase by" $$?="INCREASE WEEKLY SCORE $crlf $crlf $+ Reason" }
n681=  .Decrease Weekly Score: { delweek $$1 $$?="DECREASE WEEKLY SCORE $crlf $crlf $+ Point Amount to Decrease by" $$?="DECREASE WEEKLY SCORE $crlf $crlf $+ Reason" }
n682=  .-
n683=  .Increase Monthly Score: { addmonth $$1 $$?="INCREASE MONTHLY SCORE $crlf $crlf $+ Point Amount to Increase by" $$?="INCREASE MONTHLY SCORE $crlf $crlf $+ Reason" }
n684=  .Decrease Monthly Score: { delmonth $$1 $$?="DECREASE MONTHLY SCORE $crlf $crlf $+ Point Amount to Decrease by" $$?="DECREASE MONTHLY SCORE $crlf $crlf $+ Reason" }
n685=  .-
n686=  .Increase Daily, Weekly AND Monthly Score: { set %xamount $$?="INCREASE DAILY, WEEKLY and MONTHLY SCORE $crlf $crlf $+ Point Amount to Increase by" | set %xreason $$?="INCREASE DAILY, WEEKLY and MONTHLY SCORE $crlf $crlf $+ Reason" | /addday $$1 %xamount %xreason | /addweek $$1 %xamount %xreason | /addmonth $$1 %xamount %xreason | unset %xamount | unset %xreason }
n687=  .Decrease Daily, Weekly AND Monthly Score:  { set %xamount $$?="DECREASE DAILY, WEEKLY and MONTHLY SCORE $crlf $crlf $+ Point Amount to Decrease by" | set %xreason $$?="DECREASE DAILY, WEEKLY and MONTHLY SCORE $crlf $crlf $+ Reason" | /delday $$1 %xamount %xreason | /delweek $$1 %xamount %xreason | /delmonth $$1 %xamount %xreason | unset %xamount | unset %xreason }
n688=  .-
n689=  .Reset Daily Score: if $?!="RESET DAILY SCORE FUNCTION: $crlf $crlf $+ Reset $$1 $+ 's DAILY score?? $crlf $+ [Click YES if you wish to proceed]" == $true { dailwrite wins $$1 0 }
n690=  .Reset Weekly Score: if $?!="RESET WEEKY SCORE FUNCTION: $crlf $crlf $+ Reset $$1 $+ 's WEEKLY score?? $crlf $+ [Click YES if you wish to proceed]" == $true { dowrite wins $$1 0 }
n691=  .Reset Monthly Score: if $?!="RESET MONTHLY SCORE FUNCTION: $crlf $crlf $+ Reset $$1 $+ 's MONTHLY score?? $crlf $+ [Click YES if you wish to proceed]" == $true { dowrit wins $$1 0 }
n692=  .Reset Daily, Weekly and Monthly Score: if $?!="RESET ALL OF PERSONS SCORES FUNCTION: $crlf $crlf $+ Reset ALL scores for $$1 $+ ?? $crlf $+ [Click YES if you wish to proceed]" == $true { dailwrite wins $$1 0 | dowrit wins $$1 0 | dowrite wins $$1 0 }
n693=  Merge Scores: { set %xnick $$?="MERGE FUNCTION:  What was $$1 $+ 's OLD nick?? $crlf [Score will reset to 0 for OLD NICK after transfer]" | set %ynick $$1 | mergefunc | unset %xnick | unset %ynick }
n694=}
n695=
n696=dialog fixnull {
n697=  title "$null Scanner/Fix ( F5-key )"
n698=  size -1 -1 210 145
n699=  button "&Exit",1,130 118 70 20,ok
n700=  text "Null Scanner 1.0a",2,2 5 100 15
n701=  list 3,2 20 100 100,sort
n702=  button "&Scan",4,10 118 70 20
n703=  text "Select the file to fix, then press Scan -- (Do not do this while trivia is in play)",5,105 20 100 60
n704=}
n705=
n706=dialog lstfiles {
n707=  title "Question files ( F3-key )" 
n708=  size 100 100 285 223
n709=  button "&Exit",1,195 193 70 20,OK
n710=  list 2,0 0 100 223,sort
n711=  text "Multiple question files were found, please choose one to use.",3,105 3 160 30
n712=  check "Don't ask again",4,105 40 100 20
n713=  check "MIX these to get questions",5,105 62 160 20
n714=}
n715=
n716=dialog rndmsg {
n717=  title "Random Messages ( F6-key )"
n718=  size 100 100 555 280
n719=  text "First",1,100 242 60 20
n720=  text "messages to be used",15,170 242 110 20
n721=  edit "",2,125 240 40 20
n722=  edit "",4,210 183 30 20
n723=  edit "",50,240 183 60 20
n724=  edit "",16,389 170 70 20
n725=  text "Every",51,180 185 30 20
n726=  edit "",8,55 20 480 20,autohs
n727=  edit "",9,55 50 480 20,autohs
n728=  edit "",10,55 80 480 20,autohs
n729=  edit "",11,55 110 480 20,autohs
n730=  edit "",12,55 140 480 20,autohs
n731=  button "&Done",100,480 225 50 40,OK
n732=  button "&Decrease",3,100 195 70 20
n733=  button "&Increase",5,100 168 70 20
n734=  radio "&After N wins",6,15 195 80 20,group
n735=  radio "&At Set Time",7,15 168 80 20
n736=  button "&< Back",110,355 195 60 20
n737=  button "&Next >",111,435 195 60 20
n738=  button "&<<",112,320 195 30 20
n739=  button "&>>",113,500 195 30 20
n740=  button "&Decrease",114,20 250 70 20
n741=  button "&Increase",115,20 225 70 20
n742=  edit "",88,15 20 35 20
n743=  edit "",89,15 50 35 20
n744=  edit "",90,15 80 35 20
n745=  edit "",91,15 110 35 20
n746=  edit "",92,15 140 35 20
n747=  radio "ON",13,360 240 40 15,group
n748=  radio "OFF",14,420 240 40 15
n749=}
n750=
n751=dialog miscop {
n752=  title "Various Hidden Switches ( F2-key )"
n753=  size 100 100 550 320
n754=  text "Beer after",1,230 25 60 20
n755=  text "Credits awarded: ",2,230 85 100 20
n756=  text "Voice if over:",3,230 175 100 20
n757=  text "Current Limit:",4,230 55 100 20
n758=  text "File containing spam:",5,230 235 100 20
n759=  text "every",6,230 205 100 20
n760=
n761=  text "rows ",101,315 25 150 20
n762=  text "points/question answered",102,350 85 150 20
n763=  text "beers -- [not operational]",103,350 55 150 20
n764=  text "Points",104,365 175 80 20
n765=  text "seconds, while trivia is OFF",105,305 205 180 20
n766=
n767=  text "Beer Feature",7,20 25 90 20  
n768=  text "Beer Tank",8,20 55 60 20
n769=  text "Credits / 8ball",9,20 85 90 20
n770=  text "Send !credits info in private",10,230 115 180 20
n771=  text "Show Answer",11,20 145 100 20
n772=  text "Voice on Points",12,20 175 80 20
n773=  text "Spam Channel",13,20 205 100 20
n774=  text "Stop trivia if noone but bot in channel",14,20 265 100 40
n775=
n776=  edit "",15,280 22 30 20
n777=  edit "",16,300 52 40 20
n778=  edit "",17,316 82 30 20
n779=  edit "",18,300 173 60 20
n780=  edit "",19,260 203 40 20
n781=  edit "",20,350 233 80 20
n782=
n783=  radio "ON",21,115 25 40 15,group
n784=  radio "OFF",22,170 25 40 15
n785=  radio "ON",23,115 55 40 15,group
n786=  radio "OFF",24,170 55 40 15
n787=  radio "ON",25,115 85 40 15,group
n788=  radio "OFF",26,170 85 40 15
n789=  radio "ON",27,115 115 40 15,group
n790=  radio "OFF",28,170 115 40 15
n791=  radio "ON",29,115 145 40 15,group
n792=  radio "OFF",30,170 145 40 15
n793=  radio "ON",31,115 175 40 15,group
n794=  radio "OFF",32,170 175 40 15
n795=  radio "ON",33,115 205 40 15,group
n796=  radio "OFF",34,170 205 40 15
n797=  radio "ON",35,115 265 40 15,group
n798=  radio "OFF",36,170 265 40 15
n799=
n800=  button "&Done",100,460 250 60 50,OK
n801=
n802=}
n803=
n804=dialog jackpot {
n805=  title "Jackpot Settings ( F8-key )"
n806=  size 100 100 450 280
n807=  button "&Done",100,350 205 50 40,OK
n808=  check "Enable Jackpot feature",10,30 35 230 20
n809=  check "Show Jackpot amount after missed question",11,30 60 230 20
n810=  check "Enable Top 3 Hog Handicap",12,270 35 200 20
n811=  check "Self message jackpot winner",13,270 60 200 20
n812=
n813=
n814=  text "When Jackpot reaches a certain point value (thresh-hold), one question thereafter",1,20 100 400 20
n815=  text "will randomly be assigned the JACKPOT amount",2,20 120 300 20
n816=  text "Choose the MIN and MAX points to which this thresh-hold is randomly set",3,20 140 400 20
n817=  text "MIN",4,20 174 20 20
n818=  text "MAX",5,20 204 20 20
n819=  text "", 6, 150 174 210 20
n820=  button "Re-spin Thresh-hold",7, 170 210 110 30
n821=
n822=  edit "",30,50 170 80 20
n823=  edit "",31,50 200 80 20
n824=}
n825=on *:DIALOG:jackpot:sclick:10: if $did(jackpot,10).state == 1 { dowrite -s miscop jackpot on } | if $did(jackpot,10).state == 0 { dowrite -s miscop jackpot off } 
n826=on *:DIALOG:jackpot:sclick:11: if $did(jackpot,11).state == 1 { dowrite -s miscop jdisp on } | if $did(jackpot,11).state == 0 { dowrite -s miscop jdisp off } 
n827=on *:DIALOG:jackpot:sclick:12: if $did(jackpot,12).state == 1 { dowrite -s miscop nohogs on } | if $did(jackpot,12).state == 0 { dowrite -s miscop nohogs off } 
n828=on *:DIALOG:jackpot:sclick:13: if $did(jackpot,13).state == 1 { dowrite -s miscop jack.msg on } | if $did(jackpot,13).state == 0 { dowrite -s miscop jack.msg off } 
n829=on *:DIALOG:jackpot:sclick:7: %nextjack = $rand(%minjack,%maxjack) | jack.thresh %nextjack
n830=on *:DIALOG:jackpot:edit:30:  set %minjack  $did(jackpot,30) 
n831=on *:DIALOG:jackpot:edit:31:  set %maxjack  $did(jackpot,31) 
n832=alias -l jack.thresh { did -ra jackpot 6 Current Thresh-hold: $1- Points }
n833=
n834=on *:DIALOG:miscop:sclick:*: {if ($did > 20 && $did < 37) {
n835=  if (2 // $calc($did + 1)) { dowrite -s miscop $gettok($getread(-s,tokenz,qsttms),$calc($calc($did - 19) /2) ,38) on }
n836=  if (2 // $did) { dowrite -s miscop $gettok($getread(-s,tokenz,qsttms),$calc($calc($did - 20) /2) ,38) off }
n837=} }
n838=on *:dialog:miscop:edit:15:  if ( $did(miscop,$did) != $null ) { dowrite -s miscop wins.beer $did(miscop,$did) }
n839=on *:dialog:miscop:edit:16:  if ( $did(miscop,$did) != $null )  { dowrite -s miscop beer.tank $did(miscop,$did) }
n840=on *:dialog:miscop:edit:17: if ( $did(miscop,$did) != $null ) { dowrite -s miscop credits.ea $did(miscop,$did) }
n841=on *:dialog:miscop:edit:18: if ( $did(miscop,$did) != $null ) { dowrite -s miscop wins.voice $did(miscop,$did) }
n842=on *:dialog:miscop:edit:19: if ( $did(miscop,$did) != $null ) { dowrite -s miscop time.remind $did(miscop,$did) }
n843=on *:dialog:miscop:edit:20: if ( $did(miscop,$did) != $null ) { dowrite -s miscop ad.file $did(miscop,$did) }
n844=
n845=
n846=dialog remote {
n847=  title "Configuring Remote Access ( F7-key )"
n848=  size 100 100 430 380
n849=  text "Minimum Level to access command",150,120 5 180 20
n850=  text "By /notice or in channel",151,290 5 180 20
n851=  edit "",1,40 25 90 20
n852=  edit "",2,40 55 90 20
n853=  edit "",3,40 85 90 20
n854=  edit "",4,40 115 90 20
n855=  edit "",5,40 145 90 20
n856=  edit "",6,40 175 90 20
n857=  edit "",7,40 205 90 20
n858=  edit "",8,40 235 90 20
n859=  edit "",9,40 265 90 20
n860=  edit "",10,40 295 90 20
n861=
n862=  edit "",11,15 25 20 20
n863=  edit "",12,15 55 20 20
n864=  edit "",13,15 85 20 20
n865=  edit "",14,15 115 20 20
n866=  edit "",15,15 145 20 20
n867=  edit "",16,15 175 20 20
n868=  edit "",17,15 205 20 20
n869=  edit "",18,15 235 20 20
n870=  edit "",19,15 265 20 20
n871=  edit "",20,15 295 20 20
n872=
n873=  radio "100",101,145 27 40 15,group
n874=  radio "200",102,185 27 40 15
n875=  radio "500",103,225 27 40 15
n876=  radio "100",104,145 57 40 15,group
n877=  radio "200",105,185 57 40 15
n878=  radio "500",106,225 57 40 15
n879=  radio "100",107,145 87 40 15,group
n880=  radio "200",108,185 87 40 15
n881=  radio "500",109,225 87 40 15
n882=  radio "100",110,145 117 40 15,group
n883=  radio "200",111,185 117 40 15
n884=  radio "500",112,225 117 40 15
n885=  radio "100",113,145 147 40 15,group
n886=  radio "200",114,185 147 40 15
n887=  radio "500",115,225 147 40 15
n888=  radio "100",116,145 177 40 15,group
n889=  radio "200",117,185 177 40 15
n890=  radio "500",118,225 177 40 15
n891=  radio "100",119,145 207 40 15,group
n892=  radio "200",120,185 207 40 15
n893=  radio "500",121,225 207 40 15
n894=  radio "100",122,145 237 40 15,group
n895=  radio "200",123,185 237 40 15
n896=  radio "500",124,225 237 40 15
n897=  radio "100",125,145 267 40 15,group
n898=  radio "200",126,185 267 40 15
n899=  radio "500",127,225 267 40 15
n900=  radio "100",128,145 297 40 15,group
n901=  radio "200",129,185 297 40 15
n902=  radio "500",130,225 297 40 15
n903=
n904=  button "&Done",400,350 325 50 40,OK
n905=  button "<< Prev",410,75 340 70 20
n906=  button "Next >>",411,150 340 70 20
n907=  edit "",401,230 340 55 20
n908=
n909=  check "Notice",201,285 27 60 15,group
n910=  check "Channel",202,350 27 60 15
n911=  check "Notice",203,285 57 60 15,group
n912=  check "Channel",204,350 57 60 15
n913=  check "Notice",205,285 87 60 15,group
n914=  check "Channel",206,350 87 60 15
n915=  check "Notice",207,285 117 60 15,group
n916=  check "Channel",208,350 117 60 15
n917=  check "Notice",209,285 147 60 15,group
n918=  check "Channel",210,350 147 60 15
n919=  check "Notice",211,285 177 60 15,group
n920=  check "Channel",212,350 177 60 15
n921=  check "Notice",213,285 207 60 15,group
n922=  check "Channel",214,350 207 60 15
n923=  check "Notice",215,285 237 60 15,group
n924=  check "Channel",216,350 237 60 15
n925=  check "Notice",217,285 267 60 15,group
n926=  check "Channel",218,350 267 60 15
n927=  check "Notice",219,285 297 60 15,group
n928=  check "Channel",220,350 297 60 15
n929=}
n930=
n931=dialog commands {
n932=  title "Commands Configuration Module ( F4-key )"
n933=  button "&Done",100,500 225 60 50,OK
n934=  size 100 100 580 300
n935=  edit "",1,85 20 70 20
n936=  edit "",2,85 50 70 20
n937=  edit "",3,85 80 70 20
n938=  edit "",4,85 110 70 20
n939=  edit "",5,85 140 70 20
n940=  edit "",6,85 170 70 20
n941=  edit "",7,85 200 70 20
n942=  edit "",8,85 230 70 20
n943=  edit "",9,85 260 70 20
n944=  edit "",10,240 20 70 20
n945=  edit "",11,240 50 70 20
n946=  edit "",12,240 80 70 20
n947=  edit "",13,240 110 70 20
n948=  edit "",14,240 140 70 20
n949=  edit "",15,240 170 70 20
n950=  edit "",16,240 200 70 20
n951=  edit "",17,240 230 70 20
n952=  edit "",18,240 260 70 20
n953=  edit "",19,420 20 70 20
n954=  edit "",20,420 50 70 20
n955=  edit "",21,420 80 70 20
n956=  edit "",22,420 110 70 20
n957=
n958=  radio "letters",23,420 140 80 20
n959=  radio "first word",24,420 170 80 20
n960=
n961=  text "!start",51,30 22 50 20
n962=  text "!stop",52,30 52 50 20
n963=  text "!hint",53,30 82 50 20
n964=  text "!hint2",54,30 112 50 20
n965=  text "!pingme",55,30 142 50 20
n966=  text "!repeat",56,30 172 50 20
n967=  text "!server",57,30 202 50 20
n968=  text "!row",58,30 232 50 20
n969=  text "!fast",59,30 262 50 20
n970=  text "!wins",60,190 22 50 20
n971=  text "!won",61,190 52 50 20
n972=  text "!help",62,190 82 50 20
n973=  text "!seen",63,190 112 50 20
n974=  text "!skip",64,190 142 50 20
n975=  text "!answer",65,190 172 50 20
n976=  text "!top10",66,190 202 50 20
n977=  text "!topmonth",67,190 232 50 20
n978=  text "!8ball",70,190 262 50 20
n979=  text "!status",71,340 22 50 20
n980=  text "!beer",72,340 52 50 20
n981=  text "!credits",73,340 82 50 20
n982=  text "hint2resultcount",74,340 112 80 20
n983=  text "hint2result",75,340 142 50 20
n984=}
n985=
n986=on *:DIALOG:commands:edit:*: if ( $did(commands,$did) != $null ) { dowrite -s triggers $gettok($getread(-s,tokenz,cmdlist),$did,38) $did(commands,$did) } | if ( $did(commands,$did) == $null ) { dowrite -s triggers $gettok($getread(-s,tokenz,cmdlist),$did,38) "" }
n987=on *:DIALOG:commands:sclick:23:dowrite -s triggers hint2result letters
n988=on *:DIALOG:commands:sclick:24:dowrite -s triggers hint2result firstword
n989=
n990=on *:DIALOG:lstfiles:init:0:loadinfo $dname
n991=on *:DIALOG:commands:init:0:loadinfo $dname
n992=on *:DIALOG:rndmsg:init:0:loadinfo $dname
n993=on *:DIALOG:mtcols:init:0:loadinfo $dname m
n994=on *:DIALOG:dcols:init:0:loadinfo $dname d
n995=on *:DIALOG:wcols:init:0:loadinfo $dname w
n996=on *:DIALOG:mcols:init:0:loadinfo $dname c
n997=on *:DIALOG:rmcols:init:0:loadinfo $dname rc
n998=on *:DIALOG:jpcols:init:0:loadinfo $dname jp
n999=on *:DIALOG:tdcols:init:0:loadinfo $dname td
n1000=on *:DIALOG:remote:init:0:loadinfo $dname
n1001=on *:DIALOG:miscop:init:0:loadinfo $dname 
n1002=
n1003=;rem on *:DIALOG:rndmsg:sclick:1:.splay d-exit.wav
n1004=on *:DIALOG:rndmsg:edit:*: { if ( $did < 13 ) && ( $did > 7 ) { % [ $+ [ rnd.msg. [ $+ [ $calc($did - 7 + %rndset ) ] ] ] ] = $did(rndmsg,$did) }
n1005=  if ( $did == 4 ) {
n1006=    if (%dorms == onwin) { if ( $did(rndmsg,4) < 31 ) && ( $did(rndmsg,4) > 4 ) { set %onwin  $did(rndmsg,4) } }
n1007=    if (%dorms == onmin) { if ( $did(rndmsg,4) < 21 ) && ( $did(rndmsg,4) > 2 ) { set %onmin  $did(rndmsg,4) } }
n1008=} }  
n1009=on *:DIALOG:rndmsg:sclick:100: if ( %rndmsg == on ) && ( %dorms = onmin ) && ( %trivia.status.cur = 1 ) { .timer555 0 $calc(%onmin *60)  { /dorms } }
n1010=on *:DIALOG:rndmsg:sclick:*:{
n1011=  if ($did == 3) {
n1012=    if (%dorms == onwin) { if (%onwin != 5) { dec %onwin | did -o rndmsg 4 1 %onwin } }
n1013=    if (%dorms == onmin) { if (%onmin != 3) { timer555 off | dec %onmin | did -o rndmsg 4 1 %onmin } }
n1014=  }
n1015=  if ($did == 5) {
n1016=    if (%dorms == onwin) { if (%onwin != 30) { inc %onwin | did -o rndmsg 4 1 %onwin } }
n1017=    if (%dorms == onmin) { if (%onmin != 20) { timer555 off | inc %onmin | did -o rndmsg 4 1 %onmin } }
n1018=  }
n1019=  if ($did == 6) { %dorms = onwin | did -o rndmsg 4 1 %onwin | did -o rndmsg 50 1 wins | .timer555 off }
n1020=  if ($did == 7) { %dorms = onmin | did -o rndmsg 4 1 %onmin | did -o rndmsg 50 1 minutes | if ( %rndmsg == on ) && ( %trivia.status.cur = 1 ) { .timer555 0 $calc(%onmin *60)  { /dorms } } }
n1021=  if ($did == 13) { %rndmsg = on }
n1022=  if ($did == 14) { %rndmsg = off | .timer555 off }
n1023=  if ($did == 115) { if (%rndmax != 1000) { inc %rndmax 5 | did -o rndmsg 2 1 %rndmax } }
n1024=  if ($did == 114) { if (%rndmax != 5) { dec %rndmax 5 | did -o rndmsg 2 1 %rndmax } }
n1025=  if ($did == 110 || $did == 112) {
n1026=    set %rndmsgv 1
n1027=    if ( %rndset > 0 && $did == 110 ) { dec %rndset 5 } 
n1028=    if ( %rndset > 5 && $did == 112 ) { dec %rndset 10 } 
n1029=    did -o rndmsg 16 1 $calc(%rndset + 1) to $calc(%rndset + 5)
n1030=    :next
n1031=    did -o rndmsg $calc(%rndmsgv + 7) 1 %rnd.msg. [ $+ [ $calc(%rndmsgv + %rndset) ] ]  |  did -o rndmsg $calc(%rndmsgv + 87) 1 $calc(%rndmsgv + %rndset)
n1032=    inc %rndmsgv 1
n1033=    if ( %rndmsgv == 6 ) { goto end }
n1034=    goto next
n1035=  :end }
n1036=
n1037=  if ($did == 111 || $did == 113) {
n1038=    if ( %rndset < 995 && $did == 111 ) { inc %rndset 5 } 
n1039=    if ( %rndset < 990 && $did == 113 ) { inc %rndset 10 } 
n1040=    did -o rndmsg 16 1 $calc(%rndset + 1) to $calc(%rndset + 5)
n1041=    set %rndmsgv 1
n1042=    :next
n1043=    did -o rndmsg $calc(%rndmsgv + 7) 1 %rnd.msg. [ $+ [ $calc(%rndmsgv + %rndset) ] ]  |  did -o rndmsg $calc(%rndmsgv + 87) 1 $calc(%rndmsgv + %rndset)
n1044=    inc %rndmsgv 1
n1045=    if ( %rndmsgv == 6 ) { goto end }
n1046=    goto next
n1047=  :end }
n1048=}
n1049=
n1050=on *:DIALOG:remote:sclick:*:{
n1051=  if ($did > 100 && $did < 131) {
n1052=    if (3 // $did) { if ( $did(remote,$did).state == 1 ) { dowrite -s remote remote [ $+ [ $calc($calc($calc($did - 99) / 3) + %remset) ] ] 200 } }
n1053=    if (3 // $calc($did - 1)) { if ( $did(remote,$did).state == 1 ) { dowrite -s remote remote [ $+ [ $calc($calc($calc($did - 100) / 3) + %remset) ] ] 500 } }
n1054=  if (3 // $calc($did + 1)) { if ( $did(remote,$did).state == 1 ) { dowrite -s remote remote [ $+ [ $calc($calc($calc($did - 98) / 3) + %remset) ] ] 100 } } }
n1055=  if ($did > 200 && $did < 221) {
n1056=    if (2 // $did ) { if ( $did(remote,$did).state == 1 ) { dowrite -s remote remcmd [ $+ [ $calc($calc($calc($did - 200) / 2) + %remset) ] $+ ] b  ON } 
n1057=    else { dowrite -s remote remcmd [ $+ [ $calc($calc($calc($did - 200) / 2) + %remset) ] $+ ] b  OFF }       }
n1058=
n1059=    if (2 // $calc($did + 1) ) { if ( $did(remote,$did).state == 1 ) { dowrite -s remote remcmd [ $+ [ $calc($calc($calc($did - 199) / 2) + %remset) ] $+ ] a ON } 
n1060=    else { dowrite -s remote remcmd [ $+ [ $calc($calc($calc($did - 199) / 2) + %remset) ] $+ ] a OFF }  } 
n1061=  }
n1062=  if ($did == 410) { 
n1063=    if ( %remset == $null ) { set %remset 0 }
n1064=    if ( %remset > 0 ) { dec %remset 10 } 
n1065=    if ( %remset == 0 ) { did -o remote 401 1 01 to 10 } | if ( %remset == 10 ) { did -o remote 401 1 11 to 20 }
n1066=    if ( %remset == 20 ) { did -o remote 401 1 21 to 30 } | if ( %remset == 30 ) { did -o remote 401 1 31 to 40 }
n1067=    set %remotev 1
n1068=    set %remoter 101
n1069=    set %remoter2 201
n1070=    :next
n1071=    did -u remote $calc(%remoter2 + 1) | did -u remote %remoter2
n1072=    did -o remote %remotev 1 $gettok($getread(-s,tokenz,remotecom),$calc(%remotev + %remset),38)
n1073=    did -o remote $calc(%remotev + 10 ) 1 $calc(%remotev + %remset)
n1074=    if ( $getread(-s,remote,remote [ $+ [ $calc(%remotev + %remset) ] ] ) == $null ) { dowrite -s remote remote [ $+ [ $calc(%remotev + %remset) ] ] 500 }
n1075=    if ( $getread(-s,remote,remote [ $+ [ $calc(%remotev + %remset) ] ] ) == 100 ) { did -c remote %remoter | did -u remote $calc(%remoter + 1 ) | did -u remote $calc(%remoter + 2 ) }  
n1076=    if ( $getread(-s,remote,remote [ $+ [ $calc(%remotev + %remset) ] ] ) == 200 ) { did -c remote $calc(%remoter + 1 ) | did -u remote %remoter | did -u remote $calc(%remoter + 2 ) }
n1077=    if ( $getread(-s,remote,remote [ $+ [ $calc(%remotev + %remset) ] ] ) == 500 ) { did -c remote $calc(%remoter + 2 ) | did -u remote %remoter | did -u remote $calc(%remoter + 1 ) } 
n1078=    if ( $getread(-s,remote,remcmd [ $+ [ $calc(%remotev + %remset) ] $+ ] a ) == ON ) { did -c remote %remoter2 }
n1079=    if ( $getread(-s,remote,remcmd [ $+ [ $calc(%remotev + %remset) ] $+ ] b ) == ON )  { did -c remote $calc(%remoter2 + 1) } 
n1080=    inc %remotev 1
n1081=    inc %remoter 3
n1082=    inc %remoter2 2
n1083=    if ( $calc(%remotev + %remset) == 48 ) { goto end }
n1084=    if ( %remotev == 11 ) { goto end }
n1085=    goto next
n1086=    :end
n1087=    unset %remotev | unset %remoter | unset %remoter2
n1088=  }
n1089=
n1090=  if ($did == 411) { 
n1091=    if ( %remset < 20 ) { inc %remset 10 }
n1092=    if ( %remset == 0 ) { did -o remote 401 1 1 to 10 }
n1093=    if ( %remset == 10 ) { did -o remote 401 1 11 to 20 }
n1094=    if ( %remset == 20 ) { did -o remote 401 1 21 to 30 }
n1095=    if ( %remset == 30 ) { did -o remote 401 1 31 to 40 }
n1096=    set %remotev 1
n1097=    set %remoter 101
n1098=    set %remoter2 201
n1099=    :next2
n1100=    did -u remote %remoter2 | did -u remote $calc(%remoter2 + 1)
n1101=    did -o remote %remotev 1 $gettok($getread(-s,tokenz,remotecom),$calc(%remotev + %remset),38)
n1102=    did -o remote $calc(%remotev + 10) 1 $calc(%remotev + %remset) 
n1103=    if ( $getread(-s,remote,remote [ $+ [ $calc(%remotev + %remset) ] ] ) == $null ) { dowrite -s remote remote [ $+ [ $calc(%remotev + %remset) ] ] 500 }
n1104=    if ( $getread(-s,remote,remote [ $+ [ $calc(%remotev + %remset) ] ] ) == 100 ) { did -c remote %remoter | did -u remote $calc(%remoter + 1 ) | did -u remote $calc(%remoter + 2 ) } 
n1105=    if ( $getread(-s,remote,remote [ $+ [ $calc(%remotev + %remset) ] ] ) == 200 ) { did -c remote $calc(%remoter + 1 ) | did -u remote %remoter | did -u remote $calc(%remoter + 2 ) }
n1106=    if ( $getread(-s,remote,remote [ $+ [ $calc(%remotev + %remset) ] ] ) == 500 ) { did -c remote $calc(%remoter + 2 ) | did -u remote %remoter | did -u remote $calc(%remoter + 1 ) } 
n1107=    if ( $getread(-s,remote,remcmd [ $+ [ $calc(%remotev + %remset) ] $+ ] a ) == ON ) { did -c remote %remoter2 }
n1108=    if ( $getread(-s,remote,remcmd [ $+ [ $calc(%remotev + %remset) ] $+ ] b ) == ON ) { did -c remote $calc(%remoter2 + 1) } 
n1109=    inc %remotev 1
n1110=    inc %remoter 3
n1111=    inc %remoter2 2
n1112=    if ( %remotev == 11 ) { goto end2 }
n1113=    goto next2
n1114=    :end2
n1115=    unset %remotev | unset %remoter | unset %remoter2
n1116=  }
n1117=}
n1118=
n1119=;rem on *:DIALOG:fixnull:sclick:1:.splay d-exit.wav
n1120=on *:DIALOG:fixnull:sclick:3:%nullfile = lst\ $+ $did(fixnull,3,$did(fixnull,3).sel).text | did -e fixnull 4
n1121=on *:DIALOG:fixnull:sclick:4:scanfile %nullfile
n1122=
n1123=;rem on *:DIALOG:random:sclick:1:.splay d-exit.wav
n1124=on *:DIALOG:random:sclick:3:%usesm = 1 | %userm = 0
n1125=on *:DIALOG:random:sclick:4:%userm = 1 | %usesm = 0
n1126=on *:DIALOG:random:edit:*:% [ $+ [ $arg(%isforrand,$calc($did - 4),&) ] ] = $did(random,$did)
n1127=
n1128=on *:DIALOG:lstfiles:sclick:1:if ($getread(-s,lstfiles,file) == $null || $getread(-s,lstfiles,file) == 0) { echo -a 4You didn't specify a question file, using default | dowrite -s lstfiles file questions.lst |  readinfo $getread(-s,lstfiles,file) } | elseif ($getread(-s,lstfiles,file) == mix) { echo -a 4MIXing question files } | else { if ($getread(-s,lstfiles,file) != mix) { readinfo $getread(-s,lstfiles,file) | scanfile -f $getread(-s,lstfiles,file) } }
n1129=on *:DIALOG:lstfiles:sclick:2:dowrite -s lstfiles file $did(lstfiles,2,$did(lstfiles,2).sel).text | if ($did(lstfiles,5).state == 1) { did -u lstfiles 5 }
n1130=on *:DIALOG:lstfiles:sclick:4:if ($did(lstfiles,4).state == 1) { dowrite -s lstfiles ask 1 } | else { dowrite -s lstfiles ask 0 }
n1131=on *:DIALOG:lstfiles:sclick:5:if ($did(lstfiles,5).state == 1) { dowrite -s lstfiles file mix } | else { dowrite -s lstfiles file 0 }
n1132=
n1133=on *:DIALOG:qset:edit:12: set %trivserv $did(qset,12)  | if ( %trivserv != $null ) { dowrite -s miscop trivia.server %trivserv | halt } | if ( %trivserv == $null ) { dowrite -s miscop trivia.server "" }
n1134=on *:DIALOG:qset:edit:8: set %trivchan $did(qset,8) | dowrite -s miscop trivia.channel %trivchan
n1135=on *:DIALOG:qset:sclick:19: if $did(qset,19).state == 1 { set %autost on } | if $did(qset,19).state == 0 { unset %autost } 
n1136=on *:DIALOG:qset:sclick:20: if $did(qset,20).state == 1 { set %topsc on } | if $did(qset,20).state == 0 { unset %topsc } 
n1137=on *:DIALOG:qset:sclick:21: if $did(qset,21).state == 1 { set %antitheft on } | if $did(qset,21).state == 0 { unset %antitheft } 
n1138=on *:DIALOG:qset:sclick:22: if $did(qset,22).state == 1 { set %hnt1 on } | if $did(qset,22).state == 0 { unset %hnt1 } 
n1139=on *:DIALOG:qset:sclick:23: if $did(qset,23).state == 1 { set %scrcost on } | if $did(qset,23).state == 0 { unset %scrcost } 
n1140=on *:DIALOG:qset:edit:34: set %tme1 $did(qset,34) |  set %tme1b $calc( %tme1 / 3 )  |  set %tme1a $calc( %tme1b * 2 ) | if ( %tme1 != $null ) { dowrite -s miscop time.allow %tme1 } | if ( %tme1 == $null ) || ( %tme1 < 7 ) { dowrite -s miscop time.allow 45 | set %tme1 45 | set %tme1a 30 | set %tme1b 15 } |  dowrite -s miscop time.left %tme1a | dowrite -s miscop time.left2 %tme1b 
n1141=on *:DIALOG:qset:edit:36:  set %tme2  $did(qset,36) | if ( %tme2 != $null ) { dowrite -s miscop time.between %tme2 } |  if ( %tme2 == $null ) { dowrite -s miscop time.between 10 | set %tme2 10 }
n1142=on *:DIALOG:qset:edit:38:  set %rpv  $did(qset,38) | if ( %rpv == $null ) { set %rpv 2 }
n1143=on *:DIALOG:qset:edit:40:  set %rpvm  $did(qset,40) |  if ( %rpvm == $null ) { set %rpvm 10 }
n1144=on *:DIALOG:qset:sclick:41: if $did(qset,41).state == 1 { set %bonus on } | if $did(qset,41).state == 0 { set %bonus off } 
n1145=on *:DIALOG:qset:sclick:250: if $did(qset,250).state == 1 { set %megbonus on } | if $did(qset,250).state == 0 { set %megbonus off } 
n1146=on *:DIALOG:qset:edit:42:  set %bon1  $did(qset,42) 
n1147=on *:DIALOG:qset:edit:43:  set %bon2  $did(qset,43) 
n1148=on *:DIALOG:qset:edit:44:  set %bon3  $did(qset,44) 
n1149=on *:DIALOG:qset:edit:45:  set %bon4  $did(qset,45) 
n1150=on *:DIALOG:qset:edit:51:  set %rhype1  $did(qset,51) 
n1151=on *:DIALOG:qset:edit:52:  set %rhype2  $did(qset,52) 
n1152=on *:DIALOG:qset:edit:53:  set %rhype3  $did(qset,53) 
n1153=on *:DIALOG:qset:edit:54:  set %rhype4  $did(qset,54) 
n1154=on *:DIALOG:qset:edit:55:  set %rhype5  $did(qset,55) 
n1155=on *:DIALOG:qset:edit:56:  set %rhype6  $did(qset,56) 
n1156=on *:DIALOG:qset:edit:57:  set %rhype7  $did(qset,57) 
n1157=on *:DIALOG:qset:edit:58:  set %rhype8  $did(qset,58) 
n1158=on *:DIALOG:qset:edit:59:  set %rhype9  $did(qset,59) 
n1159=on *:DIALOG:qset:edit:72:  set %username  $did(qset,72) 
n1160=on *:DIALOG:qset:edit:74:  set %password  $did(qset,74) 
n1161=on *:DIALOG:qset:sclick:70: if $did(qset,70).state == 1 { set %seeen on } | if $did(qset,70).state == 0 { unset %seeen } 
n1162=on *:DIALOG:qset:sclick:77: if $did(qset,77).state == 1 { /remini seen/part.ini part  | /remini seen/seen.ini site | echo 4Seen Files Cleared }
n1163=on *:DIALOG:qset:sclick:78: if $did(qset,78).state == 1 { set %autorest on } | if $did(qset,78).state == 0 { unset %autorest } 
n1164=on *:DIALOG:qset:sclick:81: if $did(qset,81).state == 1 { set %notj on } | if $did(qset,81).state == 0 { unset %notj }
n1165=on *:DIALOG:qset:sclick:83: if $did(qset,83).state == 1 { set %notp on } | if $did(qset,83).state == 0 { unset %notp }
n1166=on *:DIALOG:qset:edit:80:  set %notmsg1  $did(qset,80) | if ( $did(qset,80) == $null ) { unset %notmsg1 }
n1167=on *:DIALOG:qset:edit:82:  set %notmsg2  $did(qset,82) | if ( $did(qset,82) == $null ) { unset %notmsg2 }
n1168=on *:DIALOG:qset:sclick:84:  if $did(qset,84).state == 1 { set %usercp on } | if $did(qset,84).state == 0 { unset %usercp }
n1169=on *:DIALOG:qset:sclick:90:  if $did(qset,90).state == 1 { dowrite -s qset start ON } | if $did(qset,90).state == 0 { dowrite -s qset start OFF }
n1170=on *:DIALOG:qset:sclick:17:  if $did(qset,17).state == 1 { set %top20 on } | if $did(qset,17).state == 0 { unset %top20 }
n1171=on *:DIALOG:qset:sclick:18:  if $did(qset,18).state == 1 { set %voice auto } | if $did(qset,18).state == 0 { unset %voice }
n1172=on *:DIALOG:qset:sclick:16: if $did(qset,16).state == 1 { set %voice true } | if $did(qset,16).state == 0 { unset %voice } 
n1173=on *:DIALOG:qset:sclick:24: if $did(qset,24).state == 1 { set %handicap on } | if $did(qset,24).state == 0 { unset %handicap } 
n1174=on *:DIALOG:qset:edit:91:  set %megb1  $did(qset,91) 
n1175=on *:DIALOG:qset:edit:92:  set %megb2  $did(qset,92) 
n1176=on *:DIALOG:qset:edit:93:  set %megb3  $did(qset,93) 
n1177=on *:DIALOG:qset:edit:94:  set %megb4  $did(qset,94)
n1178=on *:DIALOG:qset:edit:95:  set %megb5  $did(qset,95) 
n1179=on *:DIALOG:qset:edit:96:  set %megb6  $did(qset,96)
n1180=on *:DIALOG:qset:edit:131:  set %stopon  $did(qset,131)
n1181=on *:DIALOG:qset:sclick:152: if $did(qset,152).state == 1 { dowrite -s qset repeat on } | if $did(qset,152).state == 0 { dowrite -s qset repeat off } 
n1182=on *:DIALOG:qset:sclick:153: if $did(qset,153).state == 1 { dowrite -s qset pingme on } | if $did(qset,153).state == 0 { dowrite -s qset pingme off }
n1183=on *:DIALOG:qset:sclick:154: if $did(qset,154).state == 1 { dowrite -s qset row on } | if $did(qset,154).state == 0 { dowrite -s qset row off }
n1184=on *:DIALOG:qset:sclick:155: if $did(qset,155).state == 1 { dowrite -s qset fast on } | if $did(qset,155).state == 0 { dowrite -s qset fast off }
n1185=on *:DIALOG:qset:sclick:156: if $did(qset,156).state == 1 { dowrite -s qset wins on } | if $did(qset,156).state == 0 { dowrite -s qset wins off }
n1186=on *:DIALOG:qset:sclick:157: if $did(qset,157).state == 1 { dowrite -s qset won on } | if $did(qset,157).state == 0 { dowrite -s qset won off }
n1187=on *:DIALOG:qset:sclick:158: if $did(qset,158).state == 1 { dowrite -s qset answer on } | if $did(qset,158).state == 0 { dowrite -s qset answer off }
n1188=on *:DIALOG:qset:sclick:159: if $did(qset,159).state == 1 { dowrite -s qset next on } | if $did(qset,159).state == 0 { dowrite -s qset next off }
n1189=on *:DIALOG:qset:sclick:160: if $did(qset,160).state == 1 { dowrite -s qset beer on } | if $did(qset,160).state == 0 { dowrite -s qset beer off }
n1190=on *:DIALOG:qset:sclick:161: if $did(qset,161).state == 1 { dowrite -s qset credits on } | if $did(qset,161).state == 0 { dowrite -s qset credits off }
n1191=on *:DIALOG:qset:sclick:162: if $did(qset,162).state == 1 { dowrite -s qset server on } | if $did(qset,162).state == 0 { dowrite -s qset server off }
n1192=on *:DIALOG:qset:sclick:163: if $did(qset,163).state == 1 { dowrite -s qset time on } | if $did(qset,163).state == 0 { dowrite -s qset time off }
n1193=on *:DIALOG:qset:sclick:164: if $did(qset,164).state == 1 { dowrite -s qset help on } | if $did(qset,164).state == 0 { dowrite -s qset help off }
n1194=on *:DIALOG:qset:sclick:165: if $did(qset,165).state == 1 { dowrite -s qset 8ball on } | if $did(qset,165).state == 0 { dowrite -s qset 8ball off }
n1195=on *:DIALOG:qset:sclick:166: if $did(qset,166).state == 1 { dowrite -s qset status on } | if $did(qset,166).state == 0 { dowrite -s qset status off }
n1196=on *:DIALOG:qset:sclick:167: if $did(qset,167).state == 1 { dowrite -s qset hint on } | if $did(qset,167).state == 0 { dowrite -s qset hint off }
n1197=on *:DIALOG:qset:sclick:168: if $did(qset,168).state == 1 { dowrite -s qset skip on } | if $did(qset,168).state == 0 { dowrite -s qset skip off }
n1198=on *:DIALOG:qset:sclick:130: if $did(qset,130).state == 1 { set %autostop on } | if $did(qset,130).state == 0 { unset %autostop }
n1199=on *:DIALOG:qset:edit:201:  set %botnick  $did(qset,201) | if ( %dalnet == on ) { set %com4 %botnick }
n1200=on *:DIALOG:qset:edit:202:  set %bpassword  $did(qset,202) 
n1201=on *:DIALOG:qset:sclick:207: if $did(qset,207).state == 1 { dowrite -s qset reclaimnick on } | if $did(qset,207).state == 0 { dowrite -s qset reclaimnick off }
n1202=on *:DIALOG:qset:sclick:208: if $did(qset,208).state == 1 { dowrite -s qset selfop on } | if $did(qset,208).state == 0 { dowrite -s qset selfop off }
n1203=on *:DIALOG:qset:sclick:255: if $did(qset,255).state == 1 { dowrite -s qset timedident on } | if $did(qset,255).state == 0 { dowrite -s qset timedident off }
n1204=on *:DIALOG:qset:sclick:320: if $did(qset,320).state == 1 { dowrite -s miscop top3.hog on } | if $did(qset,320).state == 0 { dowrite -s miscop top3.hog off } 
n1205=on *:DIALOG:qset:sclick:210:{
n1206=  if ($getread(-s,qset,services) == on) { set %lastnet %net }
n1207=  if (%servcheck == $null) { set %servcheck 1 }
n1208=  dec %servcheck 1
n1209=  if (%servcheck <= 0) { set %servcheck 5 }
n1210=  if (%servcheck == 5) { set %net Other }
n1211=  if (%servcheck == 4) { set %net Dalnet }
n1212=  if (%servcheck == 3) { set %net Undernet }
n1213=  if (%servcheck == 2) { set %net Galaxy }
n1214=  if (%servcheck == 1) { set %net Austnet }
n1215=  if ($getread(-s,qset,services) == on) { services }
n1216=  did -o qset 209 1 %net
n1217=}
n1218=
n1219=on *:DIALOG:qset:sclick:211:{
n1220=  if ($getread(-s,qset,services) == on) { set %lastnet %net }
n1221=  if (%servcheck == $null) { set %servcheck 1 }
n1222=  inc %servcheck 1
n1223=  if (%servcheck >= 6) { set %servcheck 1 }
n1224=  if (%servcheck == 5) { set %net Other }
n1225=  if (%servcheck == 4) { set %net Dalnet }
n1226=  if (%servcheck == 3) { set %net Undernet }
n1227=  if (%servcheck == 2) { set %net Galaxy }
n1228=  if (%servcheck == 1) { set %net Austnet }
n1229=  if ($getread(-s,qset,services) == on) { services }
n1230=  did -o qset 209 1 %net
n1231=}
n1232=
n1233=on *:DIALOG:qset:sclick:253: if $did(qset,253).state == 1 { services | dowrite -s qset services on } 
n1234=on *:DIALOG:qset:sclick:254: if $did(qset,254).state == 1 { set %lastnet %net | .rlevel service | dowrite -s qset services off } 
n1235=on *:DIALOG:qset:edit:237:  set %servmask $did(qset,237)
n1236=on *:DIALOG:qset:edit:212:  set %ivar $did(qset,212)
n1237=on *:DIALOG:qset:edit:213:  set %kvar $did(qset,213)
n1238=
n1239=on *:DIALOG:qset:edit:217:  set %command1  $did(qset,217)
n1240=on *:DIALOG:qset:edit:218:  set %command2  $did(qset,218)
n1241=on *:DIALOG:qset:edit:219:  set %command3  $did(qset,219)
n1242=on *:DIALOG:qset:edit:214:  set %servn1  $did(qset,214)
n1243=on *:DIALOG:qset:edit:215:  set %servn2  $did(qset,215)
n1244=on *:DIALOG:qset:edit:216:  set %servn3  $did(qset,216)
n1245=
n1246=on *:DIALOG:qset:sclick:230: if $did(qset,230).state == 1 { set %counteron on } | if $did(qset,230).state == 0 { unset %counteron }
n1247=on *:DIALOG:qset:sclick:231:  if $did(qset,231).state == 1 { dowrite -s qset stop on } | if $did(qset,231).state == 0 { dowrite -s qset stop off }
n1248=on *:DIALOG:qset:sclick:232: if $did(qset,232).state == 1 { set %userst on } | if $did(qset,232).state == 0 { unset %userst }
n1249=on *:DIALOG:qset:sclick:233: if $did(qset,233).state == 1 { unset %chanmsgs } | if $did(qset,233).state == 0 { set %chanmsgs  on }
n1250=on *:DIALOG:qset:sclick:234: if $did(qset,234).state == 1 { unset %dated } 
n1251=on *:DIALOG:qset:sclick:235: if $did(qset,235).state == 1 { set %dated on } | if ( %sincedate == $null ) { set %sincedate $date }
n1252=on *:DIALOG:qset:sclick:236: if $did(qset,236).state == 1 { set %dailyon on } | if $did(qset,236).state == 0 { unset %dailyon }
n1253=on *:DIALOG:qset:sclick:238: if $did(qset,238).state == 1 { set %rm on } | if $did(qset,238).state == 0 { unset %rm }
n1254=on *:DIALOG:qset:sclick:251: if $did(qset,251).state == 1 { set %rowbon on } | if $did(qset,251).state == 0 { unset %rowbon }
n1255=on *:DIALOG:qset:sclick:360: if $did(qset,360).state == 1 { set %top5on on } | if $did(qset,360).state == 0 { unset %top5on }
n1256=on *:DIALOG:qset:sclick:361: if $did(qset,361).state == 1 { dowrite -s miscop kaos.hint on } | if $did(qset,361).state == 0 { dowrite -s miscop kaos.hint off } 
n1257=
n1258=on *:DIALOG:qset:edit:171:  set %rowbon1  $did(qset,171)
n1259=on *:DIALOG:qset:edit:173:  set %rowbon2  $did(qset,173)
n1260=on *:DIALOG:qset:edit:175:  set %rowbon3  $did(qset,175)
n1261=on *:DIALOG:qset:edit:183:  set %rowbon4  $did(qset,183)
n1262=on *:DIALOG:qset:edit:185:  set %rowbon5  $did(qset,185)
n1263=on *:DIALOG:qset:edit:187:  set %rowbon6 $did(qset,187)
n1264=
n1265=on *:DIALOG:qset:edit:170:  set %rbon1  $did(qset,170)
n1266=on *:DIALOG:qset:edit:172:  set %rbon2  $did(qset,172)
n1267=on *:DIALOG:qset:edit:174:  set %rbon3  $did(qset,174)
n1268=on *:DIALOG:qset:edit:182:  set %rbon4  $did(qset,182)
n1269=on *:DIALOG:qset:edit:184:  set %rbon5  $did(qset,184)
n1270=on *:DIALOG:qset:edit:186:  set %rbon6 $did(qset,186)
n1271=
n1272=on *:DIALOG:qset:sclick:500: dialog -m rndmsg rndmsg
n1273=on *:DIALOG:qset:sclick:350: dialog -m commands commands
n1274=on *:DIALOG:qset:sclick:301: dialog -m credits credits
n1275=on *:DIALOG:qset:sclick:300: dialog -m help help
n1276=on *:DIALOG:qset:sclick:305: dialog -m jackpot jackpot
n1277=
n1278=
n1279=
n1280=dialog credits {
n1281=  title "Trivbot Advance v1.2 Credits"
n1282=  option dbu
n1283=  size -1 -1 200 150
n1284=  edit "", 1, 5 5 190 140, multi read vsbar
n1285=  button "", 302, 0 0 0 0, cancel
n1286=}
n1287=on *:dialog:credits:init:0: { loadbuf -o credits 1 text.files/credits.txt }
n1288=
n1289=dialog help {
n1290=  title "Trivbot Advance v1.2 Help Menu"
n1291=  option dbu
n1292=  size -1 -1 200 150
n1293=  edit "", 1, 5 5 190 140, multi read vsbar
n1294=  button "", 303, 0 0 0 0, cancel
n1295=}
n1296=on *:dialog:help:init:0: { loadbuf -o help 1 text.files/help.txt }
n1297=
n1298=dialog qset {
n1299=  title "TrivBot Advance v1.2 Settings / Options Dialog"
n1300=  size -1 -1 310 195
n1301=  option dbu
n1302=
n1303=  tab "General",1, 5 5 260 175
n1304=  tab "Extra",2
n1305=  tab "Quest/Score",3
n1306=  tab "Channel Messages",4
n1307=  tab "Misc",150
n1308=  tab "Services",6 
n1309=  tab "About",5
n1310=
n1311=  button "Done",7,270 140 30 20,ok
n1312=  button "Configure Random Messages",500,140 163 80 10,tab 4
n1313=
n1314=  button "Help",300,270 60 30 20
n1315=  button "Credits",301,270 100 30 20
n1316=
n1317=
n1318=  text "Trivia Channel:",9,20 25 80 10,tab 1
n1319=  edit "",8,65 25 80 10,tab 1
n1320=  check "AutoVoice People on Top10 and Top3 Lists",16,30 35 115 15,tab 1
n1321=  check "AutoVoice Everybody",18,160 35 80 15,tab 1
n1322=  check "AutoStart Trivia On Join",19,30 50 70 15,tab 1
n1323=  check "Allow !Top10 and !TopMonth commands",20,30 65 120 15,tab 1
n1324=  check "Set AntiTheft - AntiCheat Feature ON",21,30 80 120 15,tab 1
n1325=  check "Allow !hint and !!hint instead of Auto Hint",22,30 95 130 15,tab 1
n1326=  check "Allow Reducing Score Values with Every Hint",23,30 110 130 15,tab 1
n1327=  check "Allow TrivBot to AUTO Reset the Scores at the end of the Week and Month",78,30 125 220 15,tab 1
n1328=  check "Use Top20 instead of Top10",17,160 65 80 15,tab 1
n1329=  check "Autostop after:",130,160 50 45 15,tab 1
n1330=  edit "",131,207 53 15 10, tab 1
n1331=  text "unanswered",132,225 54 30 10,tab 1
n1332=  check "Enable Counter on Join",230,160 95 80 15,tab 1
n1333=  check "Enable User Stats on Join",232,160 80 80 15,tab 1
n1334=  radio "Original",234,170 110 30 10, tab 1
n1335=  radio "Date Included",235,205 110 50 10, tab 1
n1336=  check "Enable Daily Top 10",236,160 140 80 15,tab 1
n1337=  check "Enable Random Win Messages",238,30 140 90 15,tab 1
n1338=  check "Enable Top 5 last week/month",360,30 155 90 15,tab 1
n1339=  check "Enable KAOS Hints",361,160 155 90 15,tab 1
n1340=
n1341=  edit "",80,15 30 240 10,tab 2
n1342=  check "Send MESSAGE to person JOINING Channel (Type your message in the above box)",81,20 40 220 15,tab 2
n1343=  edit "",82,15 55 240 10,tab 2
n1344=  check "Send MESSAGE to person PARTING Channel (Type your message in the above box)",83,20 65 220 15,tab 2
n1345=  text "Preferred Server:",11,30 91 180 10,tab 2
n1346=  edit "",12,75 90 110 10,tab 2
n1347=  text "(Optional)",13,190 91 50 10,tab 2
n1348=  check "Turn Channel LIMIT Protection Feature ON",84,20 105 180 20,tab 2
n1349=  check "Turn !SEEN Feature ON",70,20 120 80 20,tab 2
n1350=  check "Clear !SEEN Files",77,105 120 100 20,tab 2
n1351=  text "DCC UserName",71,85 141 100 10,tab 2
n1352=  edit "",72,30 140 50 10,tab 2
n1353=  text "DCC Password",73,190 141 60 10,tab 2
n1354=  edit "",74,135 140 50 10,tab 2
n1355=  check "Enable Top 3 Hog message",320,20 150 80 20,tab 2
n1356=
n1357=
n1358=  text "Total Time Allowed For Each Question (seconds)",33,55 31 80 20,tab 3
n1359=  edit "",34,30 30 20 10,tab 3
n1360=  text "Total Time Allowed BETWEEN Questions (seconds)",35,55 51 80 20,tab 3
n1361=  edit "",36,30 50 20 10,tab 3
n1362=  text "MINimum Score Value",37,170 31 80 20,tab 3
n1363=  edit "",38,140 30 25 10,tab 3
n1364=  text "MAXimum Score Value",39,170 51 80 20,tab 3
n1365=  edit "",40,140 50 25 10,tab 3
n1366=  check "Set BONUS Score ON",41,20 65 70 20,tab 3
n1367=  check "Set MEGA BONUS Score ON",250,90 65 75 20,tab 3
n1368=  check "Set ROW BONUS Score ON",251,175 65 75 20,tab 3
n1369=  edit "",42,20 130 25 10,tab 3
n1370=  edit "",43,60 130 25 10,tab 3  
n1371=  edit "",44,100 130 25 10,tab 3
n1372=  edit "",45,140 130 25 10,tab 3  
n1373=  text "Bonus #1",46,20 140 40 15,tab 3
n1374=  text "Bonus #2",47,60 140 40 15,tab 3
n1375=  text "Bonus #3",48,100 140 40 15,tab 3
n1376=  text "Bonus #4",49,140 140 40 15,tab 3
n1377=  edit "",91,20 150 30 10,tab 3
n1378=  edit "",92,60 150 30 10,tab 3  
n1379=  edit "",93,100 150 30 10,tab 3
n1380=  edit "",94,140 150 30 10,tab 3
n1381=  edit "",95,180 150 30 10,tab 3
n1382=  edit "",96,220 150 30 10,tab 3 
n1383=  text "Meg Bonus #1",97,20 160 40 15,tab 3
n1384=  text "Meg Bonus #2",98,60 160 40 15,tab 3
n1385=  text "Meg Bonus #3",99,100 160 40 15,tab 3
n1386=  text "Meg Bonus #4",100,140 160 40 15,tab 3
n1387=  text "Meg Bonus #5",101,180 160 40 15,tab 3
n1388=  text "Meg Bonus #6",102,220 160 40 15,tab 3
n1389=
n1390=  edit "",170,30 85 17 10,tab 3
n1391=  edit "",171,50 85 30 10,tab 3  
n1392=  edit "",172,110 85 17 10,tab 3
n1393=  edit "",173,130 85 30 10,tab 3
n1394=  edit "",174,190 85 17 10,tab 3
n1395=  edit "",175,210 85 30 10,tab 3 
n1396=  text "Row",176,33 95 40 15,tab 3
n1397=  text "Bonus",177,58 95 40 15,tab 3
n1398=  text "Row",178,113 95 40 15,tab 3
n1399=  text "Bonus",179,138 95 40 15,tab 3
n1400=  text "Row",180,193 95 40 15,tab 3
n1401=  text "Bonus",181,218 95 40 15,tab 3
n1402=  edit "",182,30 105 17 10,tab 3
n1403=  edit "",183,50 105 30 10,tab 3  
n1404=  edit "",184,110 105 17 10,tab 3
n1405=  edit "",185,130 105 30 10,tab 3
n1406=  edit "",186,190 105 17 10,tab 3
n1407=  edit "",187,210 105 30 10,tab 3 
n1408=  text "Row",188,33 115 40 15,tab 3
n1409=  text "Bonus",189,58 115 40 15,tab 3
n1410=  text "Row",190,113 115 40 15,tab 3
n1411=  text "Bonus",191,138 115 40 15,tab 3
n1412=  text "Row",192,193 115 40 15,tab 3
n1413=  text "Bonus",193,218 115 40 15,tab 3
n1414=  text "#1",194,20 87 10 15,tab 3
n1415=  text "#2",195,100 87 10 15,tab 3
n1416=  text "#3",196,180 87 10 15,tab 3
n1417=  text "#4",197,20 107 10 15,tab 3
n1418=  text "#5",198,100 107 10 15,tab 3
n1419=  text "#6",199,180 107 10 15,tab 3
n1420=  button "Jackpot Settings",305,185 128 60 15,tab 3
n1421=
n1422=  edit "",51,15 25 240 10,tab 4,autohs
n1423=  edit "",52,15 40 240 10,tab 4,autohs
n1424=  edit "",53,15 55 240 10,tab 4,autohs
n1425=  edit "",54,15 70 240 10,tab 4,autohs
n1426=  edit "",55,15 85 240 10,tab 4,autohs
n1427=  edit "",56,15 100 240 10,tab 4,autohs
n1428=  edit "",57,15 115 240 10,tab 4,autohs
n1429=  edit "",58,15 130 240 10,tab 4,autohs
n1430=  edit "",59,15 145 240 10,tab 4,autohs
n1431=  check "Disable Regular Channel Messages",233,20 160 100 15,tab 4
n1432=
n1433=  text "Miscellaneous Settings:",151,20 25 80 10,tab 150
n1434=  check "Enable !Start command",90,30 35 105 15,tab 150
n1435=  check "Enable !Stop command",231,30 50 105 15,tab 150
n1436=  check "Enable !repeat command",152,30 65 80 15,tab 150
n1437=
n1438=  check "Enable !row command",154,30 80 80 15,tab 150
n1439=  check "Enable !fast command",155,30 95 80 15,tab 150
n1440=  check "Enable !wins command",156,30 125 80 15,tab 150
n1441=  check "Enable !won command",157,30 140 80 15,tab 150
n1442=  check "Enable !answer command",158,30 110 80 15,tab 150
n1443=
n1444=  check "Enable !skip command",168,30 155 80 15,tab 150
n1445=  check "Enable !pingme command",153,160 35 80 15,tab 150
n1446=  check "Enable !server command",162,160 50 80 15,tab 150
n1447=  check "Enable !hint (~) command",167,160 65 80 15,tab 150
n1448=  check "Enable !help command",164,160 95 80 15,tab 150
n1449=
n1450=  check "Enable !credits function",161,160 110 80 15,tab 150
n1451=  check "Enable !beer command",160,160 125 80 15,tab 150
n1452=  button "Configure Commands",350,160 155 60 15,tab 150
n1453=  check "Enable !8ball command",165,160 80 80 15,tab 150
n1454=  ;  check "Enable !status command",166,160 140 80 15,tab 150
n1455=
n1456=  text "TrivBot Advance by Splatted",111,60 50 100 20,tab 5
n1457=  text "Version 1.2",112,60 65 100 20,tab 5
n1458=  text "For Updates and Support",113,60 80 100 20,tab 5
n1459=  text "http://trivia.mystiqal.org/",114,60 95 100 20,tab 5
n1460=
n1461=  text "It contains many bug fixes and additional features",370,60 120 200 10,tab 5
n1462=  text "This is an updated release of TrivBot2001 v2.5 by Gitarman",371,60 110 200 10,tab 5
n1463=  text "Any problems or bugs should be posted on the trivbot forum:",372,60 130 200 10,tab 5
n1464=  text "http://trivia.mystiqal.org/",373,60 140 150 10,tab 5
n1465=
n1466=  text "Channel Services",200,20 30 60 10,tab 6
n1467=  edit "",201,20 40 60 10,tab 6
n1468=  edit "",202,20 53 60 10,tab 6
n1469=  text "Registered Nickname",203,83 42 60 15,tab 6
n1470=  text "Registered Password",204,83 55 60 15,tab 6
n1471=  text "Nickop/Nickserv",205,154 40 100 10, tab 6
n1472=  text "NETWORK",206,20 76 40 10,tab 6
n1473=  check "Reclaim nick after disconnection using",207,145 30 110 10,tab 6
n1474=  check "Self-op using chanop/chanserv",208,145 70 100 10,tab 6
n1475=  edit "",209,70 75 35 10,tab 6
n1476=  button "<<",210,50 75 15 10,tab 6
n1477=  button ">>",211,110 75 15 10,tab 6
n1478=
n1479=  edit "",212,65 135 185 10,tab 6
n1480=  edit "",213,65 146 185 10,tab 6
n1481=  edit "",237,65 157 100 10,tab 6
n1482=  text "Identify Message:",227,20 137 45 10,tab 6
n1483=  text "Kill Message:",228,20 147 40 10,tab 6
n1484=  text "Service Hostmask:",252,20 159 45 10,tab 6
n1485=  radio "On",253,185 159 25 10,tab 6
n1486=  radio "All OFF",254,210 159 25 10,tab 6
n1487=  check "Timed Identify, instead of ",255,145 50 90 10,tab 6
n1488=  text "auto-replying to Nickop notice",256,154 60 100 10, tab 6
n1489=
n1490=
n1491=  edit "",214,70 100 70 10,tab 6
n1492=  edit "",215,70 110 70 10,tab 6
n1493=  edit "",216,70 120 70 10,tab 6
n1494=  edit "",217,145 100 50 10,tab 6
n1495=  edit "",218,145 110 50 10,tab 6
n1496=  edit "",219,145 120 50 10,tab 6
n1497=  text "If selected OTHER, fill in blanks for following (may not be compatible with all networks)",220,20 90 230 10,tab 6
n1498=  text "Self Op:          /msg ",221,20 102 50 10,tab 6  
n1499=  text "Identify Nick:  /msg ",222,20 112 50 10,tab 6
n1500=  text "Reclaim Nick: /msg ",223,20 122 50 10,tab 6
n1501=  text "[nick][password]",224,200 111 50 10,tab 6
n1502=  text "[nick][password]",225,200 121 50 10,tab 6
n1503=  text "[#channel]",226,200 101 50 10,tab 6
n1504=}
n1505=
n1506=on *:DIALOG:mcols:sclick:*:  if ( $did > 1 && $did < 14 ) { if $did(mcols, $did).state == 1  { set %clm $decode($gettok($getread(-s,tokenz,messcol),$did,46)) } }
n1507=on *:DIALOG:rmcols:sclick:*: if ( $did > 1 && $did < 14 ) { if $did(rmcols,$did).state == 1 { set %rclm $decode($gettok($getread(-s,tokenz,messcol),$did,46)) } }
n1508=on *:DIALOG:mcols:edit:17:  set %clm $did(mcols,17) 
n1509=on *:DIALOG:rmcols:edit:17:  set %rclm $did(rmcols,17) 
n1510=
n1511=dialog mcols {
n1512=  title "Trivbot Advance MESSAGE Colours Dialog"
n1513=  size -1 -1 310 155
n1514=  option dbu
n1515=  button "Done",14,270 130 30 20,ok
n1516=
n1517=  icon 1,0 10 180 135, images/msg.bmp
n1518=
n1519=  radio "",2,160 12 10 10,group
n1520=  radio "",3,160 23 10 10
n1521=  radio "",4,160 34 10 10
n1522=  radio "",5,160 45 10 10
n1523=  radio "",6,160 56 10 10
n1524=  radio "",7,160 67 10 10
n1525=  radio "",8,160 78 10 10
n1526=  radio "",9,160 89 10 10
n1527=  radio "",10,160 100 10 10
n1528=  radio "",11,160 111 10 10
n1529=  radio "",12,160 122 10 10
n1530=  radio "",13,160 133 10 10
n1531=
n1532=  edit "",17,225 95 30 10
n1533=  text "To Select a preset COLOUR SCHEME, click on one of the Buttons on the left.",22,190 15 100 20
n1534=  text "To set a CUSTOM COLOUR just fill out the Edit Box below. Use the above Colour Box as a guide.",18,190 65 100 30
n1535=  text "The correct syntax is;                                 Ctrl-K 01 comma 08  ie:  01,08 ",20,190 110 100 20
n1536=  text "The example 01,08 would produce Colour Scheme #01  ",21,190 125 75 20
n1537=  icon 19,165 30 150 35, images/col.bmp
n1538=}
n1539=
n1540=dialog rmcols {
n1541=  title "Trivbot Advance RANDOM MESSAGE Colours Dialog"
n1542=  size -1 -1 310 155
n1543=  option dbu
n1544=  button "Done",14,270 130 30 20,ok
n1545=
n1546=  icon 1,0 10 180 135, images/msg.bmp
n1547=
n1548=  radio "",2,160 12 10 10,group
n1549=  radio "",3,160 23 10 10
n1550=  radio "",4,160 34 10 10
n1551=  radio "",5,160 45 10 10
n1552=  radio "",6,160 56 10 10
n1553=  radio "",7,160 67 10 10
n1554=  radio "",8,160 78 10 10
n1555=  radio "",9,160 89 10 10
n1556=  radio "",10,160 100 10 10
n1557=  radio "",11,160 111 10 10
n1558=  radio "",12,160 122 10 10
n1559=  radio "",13,160 133 10 10
n1560=
n1561=  edit "",17,225 95 30 10
n1562=  text "To Select a preset COLOUR SCHEME, click on one of the Buttons on the left.",22,190 15 100 20
n1563=  text "To set a CUSTOM COLOUR just fill out the Edit Box below. Use the above Colour Box as a guide.",18,190 65 100 30
n1564=  text "The correct syntax is;                                 Ctrl-K 01 comma 08  ie:  01,08 ",20,190 110 100 20
n1565=  text "The example 01,08 would produce Colour Scheme #01  ",21,190 125 75 20
n1566=  icon 19,165 30 150 35, images/col.bmp
n1567=}
n1568=
n1569=
n1570=on *:DIALOG:qcols:init:0:{ 
n1571=  if ( $istok($getread(-s,tokenz,qcol), $encode( %clq ) ,46) == $true )  { did -c qcols $findtok($getread(-s,tokenz,qcol), $encode( %clq ),1,46) }
n1572=did -a qcols 17 %clq }
n1573=
n1574=dialog qcols {
n1575=  title "Trivbot Advance QUESTION Colours Dialog"
n1576=  size -1 -1 310 155
n1577=  option dbu
n1578=  button "Done",14,270 130 30 20,ok
n1579=
n1580=  icon 1,0 10 180 135, images/quest.bmp
n1581=
n1582=  radio "",2,162 12 10 10,group
n1583=  radio "",3,162 23 10 10
n1584=  radio "",4,162 34 10 10
n1585=  radio "",5,162 45 10 10
n1586=  radio "",6,162 56 10 10
n1587=  radio "",7,162 67 10 10
n1588=  radio "",8,162 78 10 10
n1589=  radio "",9,162 89 10 10
n1590=  radio "",10,162 100 10 10
n1591=  radio "",11,162 111 10 10
n1592=  radio "",12,162 122 10 10
n1593=  radio "",13,162 133 10 10
n1594=
n1595=  edit "",17,225 95 30 10
n1596=  text "To Select a preset COLOUR SCHEME, click on one of the Buttons on the left.",22,190 15 100 20
n1597=  text "To set a CUSTOM COLOUR just fill out the Edit Box below. Use the above Colour Box as a guide.",18,190 65 100 30
n1598=  text "The correct syntax is;                                 Ctrl-K 01 comma 08  ie:  01,08 ",20,190 110 100 20
n1599=  text "The example 01,08 would produce Colour Scheme #03  ",21,190 125 75 20
n1600=  icon 19,165 30 150 35, images/col.bmp
n1601=}
n1602=
n1603=on *:dialog:jackpot:init:0:{
n1604=  if ($getread(-s,miscop,jackpot) == on) { did -c jackpot 10 } | if ($getread(-s,miscop,jackpot) == off) { did -u jackpot 10 }
n1605=  if ($getread(-s,miscop,jdisp) == on) { did -c jackpot 11 } | if ($getread(-s,miscop,jdisp) == off) { did -u jackpot 11 }
n1606=  if ($getread(-s,miscop,nohogs) == on) { did -c jackpot 12 } | if ($getread(-s,miscop,nohogs) == off) { did -u jackpot 12 }
n1607=  if ($getread(-s,miscop,jack.msg) == on) { did -c jackpot 13 } | if ($getread(-s,miscop,jack.msg) == off) { did -u jackpot 13 }
n1608=  did -a jackpot 30 %minjack | did -a jackpot 31 %maxjack
n1609=  jack.thresh %nextjack
n1610=}
n1611=
n1612=on *:DIALOG:qset:init:0:{ 
n1613=  did -a qset 8 %trivchan |   did -a qset 12 %trivserv
n1614=  if %voice == true { did -c qset 16 } |  if %voice == false { did -u qset 16 }
n1615=  if %autost == on { did -c qset 19 } |  if %autost == $null { did -u qset 19 }
n1616=  if %topsc == on { did -c qset 20 } | if %topsc == $null { did -u qset 20 }
n1617=  if %antitheft == on { did -c qset 21 } | if %antitheft == $null { did -u qset 21 }
n1618=  if %hnt1 == on { did -c qset 22 } | if %hnt1 == $null { did -u qset 22 }
n1619=  if %scrcost == on { did -c qset 23 } | if %scrcost == $null { did -u qset 23 }
n1620=  did -a qset 34 %tme1 | did -a qset 36 %tme2
n1621=  did -a qset 38 %rpv | did -a qset 40 %rpvm
n1622=  if %bonus == on { did -c qset 41 } | if %bonus == off { did -u qset 41 }
n1623=  if %megbonus == on { did -c qset 250 } | if %megbonus == off { did -u qset 250 }
n1624=  did -a qset 42 %bon1 | did -a qset 43 %bon2 | did -a qset 44 %bon3 | did -a qset 45 %bon4 | 
n1625=  did -a qset 91 %megb1 | did -a qset 92 %megb2 | did -a qset 93 %megb3 | did -a qset 94 %megb4 | did -a qset 95 %megb5 | did -a qset 96 %megb6
n1626=  did -a qset 51 %rhype1 |   did -a qset 52 %rhype2 |    did -a qset 53 %rhype3 |    did -a qset 54 %rhype4 |    did -a qset 55 %rhype5  
n1627=  did -a qset 56 %rhype6 |   did -a qset 57 %rhype7 |    did -a qset 58 %rhype8 |    did -a qset 59 %rhype9 
n1628=  did -a qset 72 %username | did -a qset 74 %password
n1629=  if %seeen == on { did -c qset 70 } | if %seeen == $null { did -u qset 70 }
n1630=  if %autorest == on { did -c qset 78 }
n1631=  if %notj == on { did -c qset 81 } |   if %notp == on { did -c qset 83 }
n1632=  if %notj == $null { did -u qset 81 } |   if %notp == $null { did -u qset 83 }
n1633=  did -a qset 80 %notmsg1 | did -a qset 82 %notmsg2
n1634=  if %usercp == on { did -c qset 84 } | if %usercp == $null { did -u qset 84 }
n1635=  if ($getread(-s,qset,start) == on) { did -c qset 90 } | if ($getread(-s,qset,start) == off) { did -u qset 90 }
n1636=  if %top20 == on { did -c qset 17 } | if %top20 == $null { did -u qset 17 }
n1637=  if %voice == auto { did -c qset 18 | did -u qset 16 } | if %voice == $null { did -u qset 18 }
n1638=  if ($getread(-s,qset,repeat) == on) { did -c qset 152 } | if ($getread(-s,qset,repeat) == off) { did -u qset 152 }
n1639=  if ($getread(-s,qset,pingme) == on) { did -c qset 153 } | if ($getread(-s,qset,pingme) == off) { did -u qset 153 }
n1640=  if ($getread(-s,qset,row) == on) { did -c qset 154 } | if ($getread(-s,qset,row) == off) { did -u qset 154 }
n1641=  if ($getread(-s,qset,fast) == on) { did -c qset 155 } | if ($getread(-s,qset,fast) == off) { did -u qset 155 }
n1642=  if ($getread(-s,qset,wins) == on) { did -c qset 156 } | if ($getread(-s,qset,wins) == off) { did -u qset 156 }
n1643=  if ($getread(-s,qset,won) == on) { did -c qset 157 } | if ($getread(-s,qset,won) == off) { did -u qset 157 }
n1644=  if ($getread(-s,qset,answer) == on) { did -c qset 158 } | if ($getread(-s,qset,answer) == off) { did -u qset 158 }
n1645=
n1646=  if ($getread(-s,qset,beer) == on) { did -c qset 160 } | if ($getread(-s,qset,beer) == off) { did -u qset 160 }
n1647=  if ($getread(-s,qset,credits) == on) { did -c qset 161 } | if ($getread(-s,qset,credits) == off) { did -u qset 161 }
n1648=  if ($getread(-s,qset,server) == on) { did -c qset 162 } | if ($getread(-s,qset,server) == off) { did -u qset 162 }
n1649=
n1650=  if ($getread(-s,qset,help) == on) { did -c qset 164 } | if ($getread(-s,qset,help) == off) { did -u qset 164 }
n1651=  if ($getread(-s,qset,8ball) == on) { did -c qset 165 } | if ($getread(-s,qset,8ball) == off) { did -u qset 165 }
n1652=  ;  if ($getread(-s,qset,status) == on) { did -c qset 166 } | if ($getread(-s,qset,status) == off) { did -u qset 166 }
n1653=  if ($getread(-s,qset,hint) == on) { did -c qset 167 } | if ($getread(-s,qset,hint) == off) { did -u qset 167 }
n1654=  if ($getread(-s,qset,skip) == on) { did -c qset 168 } | if ($getread(-s,qset,skip) == off) { did -u qset 168 }  
n1655=  if %autostop == on { did -c qset 130 } | if %autostop == $null { did -u qset 130 }
n1656=  did -a qset 131 %stopon
n1657=  ;if %handicap == on { did -c qset 24 } | if %handicap == $null { did -u qset 24 }
n1658=  did -a qset 201 %botnick | did -a qset 202 %bpassword | did -a qset 217 %command1 | did -a qset 218 %command2
n1659=  did -a qset 219 %command3 | did -a qset 214 %servn1 | did -a qset 215 %servn2 | did -a qset 216 %servn3
n1660=  if ($getread(-s,qset,reclaimnick) == on) { did -c qset 207 } | if ($getread(-s,qset,reclaimnick) == off) { did -u qset 207 }
n1661=  if ($getread(-s,qset,selfop) == on) { did -c qset 208 } | if ($getread(-s,qset,selfop) == off) { did -u qset 208 }
n1662=
n1663=  did -a qset 209 %net 
n1664=  did -a qset 212 %ivar | did -a qset 213 %kvar | did -a qset 237 %servmask
n1665=  if ($getread(-s,qset,services) == on) { did -c qset 253 } | if ($getread(-s,qset,services) == off) { did -c qset 254 }
n1666=  if ($getread(-s,qset,timedident) == on) { did -c qset 255 } | if ($getread(-s,qset,timedident) == off) { did -u qset 255 }
n1667=
n1668=
n1669=  if %counteron == on { did -c qset 230 } | if %counteron == $null { did -u qset 230 }
n1670=  if %userst == on { did -c qset 232 } | if %userst == $null { did -u qset 232 }
n1671=  if ($getread(-s,qset,stop) == on) { did -c qset 231 } | if ($getread(-s,qset,stop) == off) { did -u qset 231 }
n1672=  if %chanmsgs == $null { did -c qset 233 } | if %chanmsgs == on { did -u qset 233 }
n1673=  if ( %dated == on ) { did -c qset 235 } | if ( %dated == $null ) { did -u qset 235 }
n1674=  if ( %dated == $null ) { did -c qset 234 } | if ( %dated == on ) { did -u qset 234 }
n1675=  if %dailyon == on { did -c qset 236 } | if %dailyon == $null { did -u qset 236 }
n1676=  if %rm == on { did -c qset 238 } | if %rm == $null { did -u qset 238 }
n1677=  if %rowbon == on { did -c qset 251 } | if %rowbon == $null || %robon == off { did -u qset 251 }
n1678=
n1679=  did -a qset 171 %rowbon1 |   did -a qset 173 %rowbon2 |    did -a qset 175 %rowbon3 |    did -a qset 183 %rowbon4 |    did -a qset 185 %rowbon5  
n1680=  did -a qset 187 %rowbon6   
n1681=  did -a qset 170 %rbon1 |   did -a qset 172 %rbon2 |    did -a qset 174 %rbon3 |    did -a qset 182 %rbon4 |    did -a qset 184 %rbon5  
n1682=  did -a qset 186 %rbon6
n1683=  if ( %top5on == on ) { did -c qset 360 }   
n1684=  if ($getread(-s,miscop,top3.hog) == on) { did -c qset 320 } | if ($getread(-s,miscop,top3.hog) == off) { did -u qset 320 }
n1685=  if ($getread(-s,miscop,kaos.hint) == on) { did -c qset 361 } | if ($getread(-s,miscop,kaos.hint) == off) { did -u qset 361 }
n1686=
n1687=}
n1688=on service:notice:%inotice:?: { if ($getread(-s,qset,timedident) == off) { identself } }
n1689=on service:notice:%knotice:?: { nick %botnick | if ( $me !isop %trivchan ) && ( %selfop == on ) && ( %alloff == $null) { timer 1 5 opmenow } }
n1690=on service:notice:*is already being held*:?: if ( %net == dalnet ) { msg %nickop release %botnick %bpassword }
n1691=on service:notice:*You now have 40 seconds to change your nick*:?: if ( %net == dalnet ) { identself }
n1692=on service:notice:*will change your nick for you. This is your final warning*:?: if ( %net == dalnet ) { identself }
n1693=on service:notice:*is not online*:?: if ( %net == dalnet ) { msg %nickop release %botnick %bpassword }
n1694=on service:notice:*has been released*:?: if ( %net == dalnet ) { nick %botnick }
n1695=raw 482:*: { serv2.routine }
n1696=raw 433:*: { .randnick | if ( $getread(-s,qset,reclaimnick) == on ) && ( $getread(-s,qset,services) == on ) && ( %joinedchan == 1 ) { reclaimnick | halt }
n1697=if ( $getread(-s,qset,reclaimnick) == on ) && ( $getread(-s,qset,services) == on ) && ( %op.status == $null ) { reclaimnick } }
n1698=raw 404:*: { if ( $me !ison %trivchan ) { join %trivchan | halt } amiopped }
n1699=raw 474:*: { echo 0,1 I am banned from  $+ %trivchan $+  - autoshutting down  | strivia }
n1700=raw 473:*: { echo 0,1 The channel  $+ %trivchan $+  is invite only - autoshutting down  | strivia }
n1701=raw 475:*: { echo 0,1 Channel key set for  $+ %trivchan $+  - autoshutting down  | strivia }
n1702=raw 432:*: { .randnick }
n1703=raw 451:*: { .randnick }
