Top

Trivia Game Script V 2.0


mIRC Code

Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Aug 13, 2009
Last Updated  Aug 17, 2009
Tags  trivia 

Description

type /trivia to configure, !trivia to play !answer to answer and !quit to quit!

fun trivia game!
if Colors are blocked wont work properally!!

-----
update log
-------

8/17/2009
Ver 2.0
Major update
8/16/2009
8:592:50 PM
update: 1.2
minor bug fix



major update!
!!!


now when initilizing type /msg <botname> !trivia <setpass> <pass>
now you can set trivia on/ogg
type /msg <botname> !trivia <on|off> <reason

Grab the Code

on *:text:!trivia*:#: {
  if (%trv == off) { notice $nick Trivia is currently down. we are sorry. but a new feature is coming!  ( $+ %trvf $+ ) }
  if (%trv == on) { 
    inc %trivia 1
    msg #  $read(trivia.txt,%trivia)
    set %temp #
  }
}
on *:text:!trivia*:?: {
  if ($4 == %pass) && ($2 == off) { set %trv off | msg $nick trivia OFF ( $+ $3 $+ ) | set %trvf $3- }
  if ($4 == %pass) && ($2 == on) { set %trv on | msg $nick trivia ON }
  if ($2 == setpass) { set %pass $3- }
}
alias trivias {
  if ($read(trivia.txt,%trivia) != $null) { msg %temp  $read(trivia.txt,%trivia) }
  if ($read(trivia.txt,%trivia) == $null) { msg %temp  ****End of Questions/answers**** | set %trivia 0 }
}
on *:text:!answer*:#: {
  if (%trv == off) { notice $nick trivia is down ( $+ %trfv $+ ) }
  if (%trv == on) { 
    if ($2- != $read(answers.txt,%trivia)) { msg # incorrect, correct answer was $read(answers.txt,%trivia) $+ , you answered $2- | inc %trivia 1 | //msg # 2Next Question in 3 seconds }
    if ($2- == $read(answers.txt,%trivia)) { msg # 9,8Correct $nick | inc %trivia 1 | //msg # 2Next Question in 3 seconds }
    timertriv 1 3 //trivias 
  }
}
on *:text:!quit*:#: {
  set %trivia 0 | msg #  $nick quit 
}
dialog t {
  size -1 -1 300 300
  title Weasel's trivia script
  tab description , 1, 0 0 300 300
  tab questions , 2, 0 0 300 300
  text type !trivia|!quit|!answer to play , 3, 75 100 200 200, tab 1
  button press here to edit questions and answers, 4, 100 125 200 50, tab 2
}
on 1:dialog:t:init:*: {
  if (%uses != 1) { set %uses 1 | run notepad trivia.txt | run notepad answers.txt | write -l1 trivia.txt Enter Questions here | write -l1 answers.txt Enter answer to corrosponding line in trivia.txt }
}
alias trivia {
  dialog -m t t
}
on 1:dialog:t:sclick:4: {
  run notepad trivia.txt | run notepad answers.txt
}

Comments

  (19)  RSS
_Daniel_
Comments: 42
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 13, 2009
Its nice see you improving your codes Weasel ;D
Weasel
Comments: 118
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 13, 2009
thanks, do you like it?
VinX
Comments: 70
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 14, 2009
well , i think the script is good . but a good trivia pastebin questions and answers should be posted too .. lol
PATX
Comments: 394
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 15, 2009
3/5 in my system... tho close to a 4/5

i like it. keep up da good work!
Cracker200
Comments: 272
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 16, 2009
Love it!
Weasel
Comments: 118
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 16, 2009
Thanks!
Cracker200
Comments: 272
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 17, 2009
Weasel, what server you go on bro?
Weasel
Comments: 118
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 18, 2009
Irc.coldfront.net , user is twango. Room #pickles usally on 5-7 Est,
Cracker200
Comments: 272
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 18, 2009
Ok what's 5-7 Est,lol ? and who is twango, you?
VinX
Comments: 70
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 19, 2009
i lol'd @ cracker200's post above me

weasel is on irc.coldfront.net and the channel is #pickles
his username is twango and 5-7 EST (Eastern Standard Time)

he will be online from 00:58:59 GMT if he used the 24hour clock in "5-7 Est"
Cracker200
Comments: 272
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 19, 2009
LMAO Thank you!
Weasel
Comments: 118
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 19, 2009
Yes, usally on around 5, somtimes earlier, memoserv me or somthing oh, and #pickles isnt my channel, so if pickle asks say i sent you,
Cracker200
Comments: 272
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 22, 2009
Dude ure never on there :O
Weasel
Comments: 118
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 23, 2009
Yes i am, i was yesterday 5-7 pm, type /watch +twango then /watchlist
Weasel
Comments: 118
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 23, 2009
,2:57 est sunday IM ON!
Cracker200
Comments: 272
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 27, 2009
WHEN IS THAT TIME IN TEH DAMN UK !!!!!!!!!!!!!!!!! Lawl!!!!!!!!!!!!! Und

Error - WATCHLIST Unknown command - ROFL You Mean Notify or you changed it on ure's or you Not on mIRC What Client you use ?
VinX
Comments: 70
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 28, 2009
ayy , now i m not a converter who keeps converting time zones .. ROFL .. j/k

Cracker200
Comments: 272
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Aug 30, 2009
LOL
gerjoaguimar
Comments: 1
 
mIRC Snippet:  Trivia Game Script V 2.0
Posted Mar 12, 2010
now when initilizing type /msg <botname> !trivia <setpass> <pass>
now you can set trivia on/ogg
type /msg <botname> !trivia <on|off> <reason

↑↑↑↑↑↑↑

hey could give an example of that .. and tell me where to write that .. thanks

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  

Bottom