ROOM ID 176 PRIVATE NOPAINTING NOCYBORGS NAME "Questionairre Game" PICT "questionairre.gif" PICTURE ID 3 NAME "blank.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 4 NAME "0.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 5 NAME "1.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 6 NAME "2.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 7 NAME "3.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 8 NAME "4.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 9 NAME "5.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 11 NAME "6.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 12 NAME "7.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 13 NAME "8.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 14 NAME "9.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 15 NAME "hostchair.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 16 NAME "hostopen.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 17 NAME "gameprogress.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 18 NAME "unl.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 19 NAME "lck.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 20 NAME "arrowll.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 21 NAME "arrowrr.gif" TRANSCOLOR 0 ENDPICTURE SPOT ID 1 DONTMOVEHERE OUTLINE 80,295 154,295 154,343 80,343 LOC 117,308 PICTS 16,0,0 15,0,0 ENDPICTS SCRIPT ; Q&A, by Cid ; for up to three players and one Host ; Host starts game by selecting "Host" spot then asks ; questions of each player. If player gets question right, ; Host clicks on player score spot to increment score. ; Host decides when game is over ; entire game could be vastly improved on... ; host script in Spot 1 ; place "Host" button gif in State 0 ON SELECT { qhost GLOBAL 0 qhost = { "Sorry, Host is already selected..." LOCALMSG } { 1 ME SETSPOTSTATE 1 2 SETSPOTSTATELOCAL 0 3 SETSPOTSTATE 0 4 SETSPOTSTATE 0 5 SETSPOTSTATE 1 qhost = USERNAME " is host." & ROOMMSG "See Log for Questions and Answers..." LOCALMSG "********Questions & Answers**********" LOGMSG "Q1: Which state is bigger, Alaska or Hawaii? A1: Alaska " LOGMSG "Q2: Who is the creator of The Palace? A2: Jim Bumgardner " LOGMSG "Q3: Who is our president? A3: George Bush " LOGMSG "Q4: How many letters are in the word, apprentice? A4: 10 " LOGMSG ; add as many as you need... "**********************************" LOGMSG } ME GETSPOTSTATE IFELSE } ON LEAVE { qhost GLOBAL { 0 qhost = 0 1 SETSPOTSTATE } qhost IF } ENDSCRIPT ENDSPOT SPOT ID 2 DONTMOVEHERE OUTLINE 9,51 83,51 83,99 9,99 LOC 47,63 PICTS 3,0,0 17,0,0 ENDPICTS SCRIPT ; reset game script in spot 2 ; place "blank.gif" in state 0 ; place "Reset" button gif in state 1 ON SELECT { qhost GLOBAL { 0 1 SETSPOTSTATE ; reset Host spot 0 ME SETSPOTSTATELOCAL 0 3 SETSPOTSTATE ; reset player 1 spot 0 4 SETSPOTSTATE ; reset player 2 spot 0 5 SETSPOTSTATE ; reset player 3 spot 0 qhost = "Game Reset... Choose new Host to start new game... " ROOMMSG } { "Sorry, you must be the host to reset the game..." LOCALMSG } qhost IFELSE } ENDSCRIPT ENDSPOT SPOT ID 3 DONTMOVEHERE OUTLINE 152,48 225,48 225,95 152,95 LOC 188,55 PICTS 4,0,0 5,0,0 6,0,0 7,0,0 8,0,0 9,0,0 11,0,0 12,0,0 13,0,0 14,0,0 ENDPICTS SCRIPT ; player score scripts in spots 3, 4 and 5 ; place gifs of 0 through 9 in states 0 through 9 ON SELECT { qhost GLOBAL { ME GETSPOTSTATE 1 + ME SETSPOTSTATE } { "You must be Host to increment score!" LOCALMSG } qhost IFELSE } ENDSCRIPT ENDSPOT SPOT ID 4 DONTMOVEHERE OUTLINE 275,47 349,47 349,96 275,96 LOC 311,55 PICTS 4,0,0 5,0,0 6,0,0 7,0,0 8,0,0 9,0,0 11,0,0 12,0,0 13,0,0 14,0,0 ENDPICTS SCRIPT ; player score scripts in spots 3, 4 and 5 ; place gifs of 0 through 9 in states 0 through 9 ON SELECT { qhost GLOBAL { ME GETSPOTSTATE 1 + ME SETSPOTSTATE } { "You must be Host to increment score!" LOCALMSG } qhost IFELSE } ENDSCRIPT ENDSPOT SPOT ID 5 DONTMOVEHERE OUTLINE 397,47 471,47 471,96 397,96 LOC 434,56 PICTS 4,0,0 5,0,0 6,0,0 7,0,0 8,0,0 9,0,0 11,0,0 12,0,0 13,0,0 14,0,0 ENDPICTS SCRIPT ; player score scripts in spots 3, 4 and 5 ; place gifs of 0 through 9 in states 0 through 9 ON SELECT { qhost GLOBAL { ME GETSPOTSTATE 1 + ME SETSPOTSTATE } { "You must be Host to increment score!" LOCALMSG } qhost IFELSE } ENDSCRIPT ENDSPOT DOOR LOCKABLE ID 6 DONTMOVEHERE OUTLINE 101,58 136,58 136,90 101,90 LOC 118,73 PICTS 18,0,0 19,0,0 ENDPICTS SCRIPT ON SELECT { { ME UNLOCK } { ME LOCK } ME ISLOCKED IFELSE } ENDSCRIPT ENDSPOT DOOR ID 7 DONTMOVEHERE DEST 121 OUTLINE 7,6 63,6 63,28 7,28 LOC 33,17 PICTS 20,0,0 ENDPICTS ENDDOOR DOOR ID 8 DONTMOVEHERE DEST 307 OUTLINE 450,4 505,4 505,24 450,24 LOC 479,14 PICTS 21,0,0 ENDPICTS SCRIPT ON INCHAT { nDoIt GLOBAL nDoIt EXEC } ON ENTER { { CLEARLOOSEPROPS PAINTCLEAR } NBRROOMUSERS 2 < IF } ENDSCRIPT ENDDOOR ENDROOM