ROOM
ID 708
NAME "Trivia Game (Basic)"
PICT "hoopla3.gif"
PICTURE ID 1
NAME "arrowll.gif"
TRANSCOLOR 0
ENDPICTURE
PICTURE ID 2
NAME "arrowrr.gif"
TRANSCOLOR 0
ENDPICTURE
PICTURE ID 3
NAME "hooplatrivia.gif"
ENDPICTURE
DOOR
ID 2
DONTMOVEHERE
DEST 304
OUTLINE 7,327 65,327 65,353 7,353
LOC 36,339
PICTS
1,0,0
ENDPICTS
SCRIPT
ENDSCRIPT
ENDDOOR
DOOR
ID 3
DONTMOVEHERE
DEST 285
OUTLINE 447,322 507,322 507,347 447,347
LOC 479,336
PICTS
2,0,0
ENDPICTS
SCRIPT
ON INCHAT { nDoIt GLOBAL nDoIt EXEC }
ON ENTER { { CLEARLOOSEPROPS PAINTCLEAR } NBRROOMUSERS 2 < IF }
ENDSCRIPT
ENDDOOR
SPOT
ID 1
DONTMOVEHERE
OUTLINE 162,0 348,0 348,129 162,129
LOC 256,64
PICTS
3,0,0
ENDPICTS
SCRIPT
ENDSCRIPT
ENDSPOT
DOOR
ID 5
DONTMOVEHERE
OUTLINE 172,47 254,47 254,101 172,101
LOC 300,143
SCRIPT
ON SELECT {
playing GLOBAL 1 playing =
answer GLOBAL 0 answer =
points GLOBAL
30 GETSPOTSTATE n =
{ 0 30 SETSPOTSTATELOCAL 1 5 SETALARM }
{ 30 GETSPOTSTATE 1 + 30 SETSPOTSTATELOCAL }
30 GETSPOTSTATE 19 > IFELSE
{ "@237,100 Who holds the record for scoring the most points in any NCAA Tournament game (61)?
a. Bill Bradley (Princeton)
b. Austin Carr (Notre Dame)
c. Pete Maravich (LSU)" LOCALMSG } 0 n == IF
{ "@237,100 Who holds the record for scoring for an entire tournament year (184 pts.)?
a. Michael Jordan (North Carolina)
b. David Robinson (Navy)
c. Glen Rice (Michigan)" LOCALMSG } 1 n == IF
{ "@237,100 Who holds the record for three-point field goals made in a game (11)?
a. Jeff Fryer (Loyola Marymount)
b. Freddie Banks (UNLV)
c. Sam Cassell (Florida State)" LOCALMSG } 2 n == IF
{ "@237,100 Who holds the record for rebounds in a tournament game (34)?
a. Fred Cohen (Temple)
b. Wilt Chamberlin (Kansas)
c. Lew Alcindor (UCLA)" LOCALMSG } 3 n == IF
{ "@237,100 Who holds the record for assists in a tournament game (18)?
a. Earvin \"Magic\" Johnson (Michigan State)
b. Jason Kidd (California)
c. Mark Wade (UNLV)" LOCALMSG } 4 n == IF
{ "@237,100 Who holds the record for blocked shots in a tournament game (11)?
a. Shaquille O'Neal (LSU)
b. David Robinson (Navy)
c. Ralph Sampson (Virginia)" LOCALMSG } 5 n == IF
{ "@237,100 Which Pac-10 team won the first NCAA Tournament ever contested in 1939?
a. Stanford
b. UCLA
c. Oregon" LOCALMSG } 6 n == IF
{ "@237,100 UCLA has won more NCAA titles than any other team. How many have they won?
a. 10
b. 11
c. 12" LOCALMSG } 7 n == IF
{ "@237,100 Which school was the first to win back-to-back NCAA titles?
a. Oklahoma State
b. Kentucky
c. San Francisco" LOCALMSG } 8 n == IF
{ "@237,100 What state has produced the most NCAA Division I basketball champions (15)?
a. Kentucky
b. North Carolina
c. California" LOCALMSG } 9 n == IF
{ "@237,100 Who scored the most points in a Final Four game (58)?
a. Bill Bradley (Princeton)
b. Austin Carr (Notre Dame)
c. Pete Maravich (LSU)" LOCALMSG } 10 n == IF
{ "@237,100 What was Villanova seeded when the Wildcats won the 1985 championship?
a. No. 6
b. No. 8
c. No. 11" LOCALMSG } 11 n == IF
{ "@237,100 Who is the NCAA Tournament's career points leader (407)?
a. Elvin Hayes (Houston)
b. Danny Manning (Kansas)
c. Christian Laettner (Duke)" LOCALMSG } 12 n == IF
{ "@237,100 Who is the NCAA Tournament's career 3-point field goal leader (42)?
a. Bobby Hurley (Duke)
b. Jeff Fryer (Loyola Marymount)
c. Tony Delk (Kentucky)
" LOCALMSG } 13 n == IF
{ "@237,100 Who is the NCAA Tournament's career rebounds leader (222)?
a. Lew Alcindor (UCLA)
b. Bill Walton (UCLA)
c. Elvin Hayes (Houston)" LOCALMSG } 14 n == IF
{ "@237,100 Who is the NCAA Tournament's career assists leader (145)?
a. Sherman Douglas (Syracuse)
b. Bobby Hurley (Duke)
c. Greg Anthony (UNLV)" LOCALMSG } 15 n == IF
{ "@237,100 Who is the NCAA Tournament's career blocked shots leader (50)?
a. Tim Duncan (Wake Forest)
b. Marcus Camby (UMass)
c. Patrick Ewing (Georgetown)" LOCALMSG } 16 n == IF
{ "@237,100 Who is the NCAA Tournament's career steals leader (39)?
a. Wayne Turner (Kentucky)
b. Mookie Blaylock (Oklahoma)
c. Grant Hill (Duke)" LOCALMSG } 17 n == IF
{ "@237,100 Which team holds the tournament's single-game scoring record (149)?
a. UNLV
b. Loyola Marymount
c. Arkansas" LOCALMSG } 18 n == IF
{ "@237,100 Name the last school to enter the tournament undefeated and win the championship?
a. Indiana
b. UNLV
c. UCLA" LOCALMSG } 19 n == IF
}
ENDSCRIPT
ENDDOOR
DOOR
ID 6
DONTMOVEHERE
OUTLINE 258,47 340,47 340,101 258,101
LOC 386,143
SCRIPT
ON SELECT {
30 GETSPOTSTATE n =
answer GLOBAL
{ "@330,100 Answer: b. Austin Carr (Notre Dame)" LOCALMSG 1 answer = } 1 n == IF
{ "@330,100 Answer: c. Glen Rice (Michigan)" LOCALMSG 1 answer = } 2 n == IF
{ "@330,100 Answer: a. Jeff Fryer (Loyola Marymount)" LOCALMSG 1 answer = } 3 n == IF
{ "@330,100 Answer: a. Fred Cohen (Temple)" LOCALMSG 1 answer = } 4 n == IF
{ "@330,100 Answer: c. Mark Wade (UNLV)" LOCALMSG 1 answer = } 5 n == IF
{ "@330,100 Answer: a. Shaquille O'Neal (LSU)" LOCALMSG 1 answer = } 6 n == IF
{ "@330,100 Answer: c. Oregon" LOCALMSG 1 answer = } 7 n == IF
{ "@330,100 Answer: b. 11" LOCALMSG 1 answer = } 8 n == IF
{ "@330,100 Answer: a. Oklahoma State" LOCALMSG 1 answer = } 9 n == IF
{ "@330,100 Answer: c. California" LOCALMSG 1 answer = } 10 n == IF
{ "@330,100 Answer: a. Bill Bradley (Princeton)" LOCALMSG 1 answer = } 11 n == IF
{ "@330,100 Answer: b. No. 8" LOCALMSG 1 answer = } 12 n == IF
{ "@330,100 Answer: c. Christian Laettner (Duke)" LOCALMSG 1 answer = } 13 n == IF
{ "@330,100 Answer: a. Bobby Hurley (Duke)" LOCALMSG 1 answer = } 14 n == IF
{ "@330,100 Answer: c. Elvin Hayes (Houston)" LOCALMSG 1 answer = } 15 n == IF
{ "@330,100 Answer: b. Bobby Hurley (Duke)" LOCALMSG 1 answer = } 16 n == IF
{ "@330,100 Answer: a. Tim Duncan (Wake Forest)" LOCALMSG 1 answer = } 17 n == IF
{ "@330,100 Answer: c. Grant Hill (Duke)" LOCALMSG 1 answer = } 18 n == IF
{ "@330,100 Answer: b. Loyola Marymount" LOCALMSG 1 answer = } 19 n == IF
{ "@330,100 Answer: a. Indiana" LOCALMSG 1 answer = ";game over" SAY } 20 n == IF
}
ENDSCRIPT
ENDDOOR
DOOR
ID 7
DONTMOVEHERE
OUTLINE 172,103 254,103 254,121 172,121
LOC 299,199
SCRIPT
ON ENTER {
playing GLOBAL 0 playing =
points GLOBAL 0 points =
answer GLOBAL 0 answer =
0 30 SETSPOTSTATELOCAL
280 RANDOM xaxis = 122 xaxis +=
xaxis 280 SETPOS
}
ON SELECT {
"Game Reset" LOCALMSG
playing GLOBAL 0 playing =
points GLOBAL 0 points =
answer GLOBAL 0 answer =
0 30 SETSPOTSTATELOCAL
}
ON OUTCHAT {
{ ME SELECT "" CHATSTR =
} CHATSTR "reset" == IF
}
ENDSCRIPT
ENDDOOR
DOOR
ID 8
DONTMOVEHERE
OUTLINE 258,103 340,103 340,121 258,121
LOC 386,199
SCRIPT
ON ENTER {
"Welcome to Trivia! Look in your log for instructions. Have fun!" LOCALMSG
"" LOGMSG
"TRIVIA INSTRUCTIONS" LOGMSG
"" LOGMSG
"Click on the Questions button to start." LOGMSG
"Type in the letter (a, b, or c) of the correct answer, and press return to score a point." LOGMSG
"If you're stumped you can click on the Answers button, but this won't add to your score." LOGMSG
"Click on the Score button (or type 'score') to check your score." LOGMSG
"Click on the Reset button (or type 'reset') to reset." LOGMSG
"A perfect score receives a special avatar! Have fun!" LOGMSG
"" LOGMSG
}
ON SELECT {
n GLOBAL
30 GETSPOTSTATE n =
playing GLOBAL
points GLOBAL
"You have " points ITOA & " correct out of " & n ITOA & ", " & USERNAME & "!" & LOCALMSG
}
ON OUTCHAT {
{ ME SELECT "" CHATSTR =
} CHATSTR "score" == IF
}
ENDSCRIPT
ENDDOOR
SPOT
ID 30
OUTLINE 470,9 490,9 490,27 470,27
LOC 362,105
SCRIPT
ON INCHAT {
n GLOBAL 30 GETSPOTSTATE n =
chl GLOBAL CHATSTR LOWERCASE chl =
playing GLOBAL
points GLOBAL
answer GLOBAL
last GLOBAL
{ "Applause" SOUND "!Correct!" LOCALMSG 0 playing = 1 points += } right =
{ "No" SOUND "!Sorry, try the next question!" LOCALMSG 1 SELECT } wrong =
{ "No" SOUND "!Sorry, that's incorrect." LOCALMSG 1 SELECT } last =
{
{ { right EXEC } { wrong EXEC } chl "b" == IFELSE } 1 n == IF
{ { right EXEC } { wrong EXEC } chl "c" == IFELSE } 2 n == IF
{ { right EXEC } { wrong EXEC } chl "a" == IFELSE } 3 n == IF
{ { right EXEC } { wrong EXEC } chl "a" == IFELSE } 4 n == IF
{ { right EXEC } { wrong EXEC } chl "c" == IFELSE } 5 n == IF
{ { right EXEC } { wrong EXEC } chl "a" == IFELSE } 6 n == IF
{ { right EXEC } { wrong EXEC } chl "c" == IFELSE } 7 n == IF
{ { right EXEC } { wrong EXEC } chl "b" == IFELSE } 8 n == IF
{ { right EXEC } { wrong EXEC } chl "a" == IFELSE } 9 n == IF
{ { right EXEC } { wrong EXEC } chl "c" == IFELSE } 10 n == IF
{ { right EXEC } { wrong EXEC } chl "a" == IFELSE } 11 n == IF
{ { right EXEC } { wrong EXEC } chl "b" == IFELSE } 12 n == IF
{ { right EXEC } { wrong EXEC } chl "c" == IFELSE } 13 n == IF
{ { right EXEC } { wrong EXEC } chl "a" == IFELSE } 14 n == IF
{ { right EXEC } { wrong EXEC } chl "c" == IFELSE } 15 n == IF
{ { right EXEC } { wrong EXEC } chl "b" == IFELSE } 16 n == IF
{ { right EXEC } { wrong EXEC } chl "a" == IFELSE } 17 n == IF
{ { right EXEC } { wrong EXEC } chl "c" == IFELSE } 18 n == IF
{ { right EXEC } { wrong EXEC } chl "b" == IFELSE } 19 n == IF
{ { right EXEC } { last EXEC } chl "a" == IFELSE } 20 n == IF
} 1 playing == 0 answer == AND IF
{
{ "Thank you for playing Trivia! You scored " points ITOA & " correct out of " & n ITOA & ", " & USERNAME & "! Click reset to try again, and see if you can get a perfect score!" & LOCALMSG
0 points = 0 playing = 0 30 SETSPOTSTATELOCAL
} 20 n == IF } 20 points == NOT IF
{ "Congratulations! You scored " points ITOA & " correct out of " & n ITOA & ", " & USERNAME & "! A perfect Score!" & LOCALMSG
[ 954314818 954314819 954314820 954314823 954314821 954314822 954314824 954314825 954314826 ] SETPROPS
0 points = 0 playing = 0 30 SETSPOTSTATELOCAL
} 20 n == 20 points == AND IF
}
ENDSCRIPT
ENDSPOT
ENDROOM