Thug Life
08-09-2010, 08:17 PM
Ok the jail script that I have seems to always mess up on the last question. How do I fix it? Here is an example:
The city official says, "Tupac, ANSWER me these questions in order, one at a time, and within two minutes. What is your name, today's day of the week, and your gender?"
answer tupac
[Script]>answer volnes
The city official nods in approval at your answer.
[Script]>answer "male"
The city official nods in approval at your answer.
[Script]>
The city official says, "Eh? No...I don't think so. Try again. Time is running out!"
Now here's the script:
#jail
#jail
If_8 Goto Start2
echo
echo Syntax: .jail Name Proff Gender Race Weekday Month Year City Time
echo NOTE: Please use " " around multi-word answer, ie "Dark Elf".
echo
exit
start2:
echo
echo Your name is %1. You profession is %2. You are %3 %4.
echo Today's date is %5 of the month %6 of the year %7.
echo You are being charged in %8 and the current time is %9 hours.
echo
Start:
echo
match 1sucka What is your name
match 2sucka What is your profession
match 3sucka What is your gender
match 4sucka What is your race
match 5sucka What is today's day of the week
match 6sucka What is today's month
match 7sucka What is the year
match 8sucka What is the name of the city you were charged in for your crimes
match 9sucka What is the number of the hour of the day in elven time
matchwait
1sucka:
counter set 1
goto Round2
2sucka:
counter set 2
goto Round2
3sucka:
counter set 3
goto Round2
4sucka:
counter set 4
goto Round2
5sucka:
counter set 5
goto Round2
6sucka:
counter set 6
goto Round2
7sucka:
counter set 7
goto Round2
8sucka:
counter set 8
goto Round2
9sucka:
counter set 9
goto Round2
Round2:
echo
match 1suckb , your name
match 2suckb , your profession
match 3suckb , your gender
match 4suckb , your race
match 5suckb , today's day of the week
match 6suckb , today's month
match 7suckb , the year
match 8suckb , the name of the city you were charged in for your crimes
match 9suckb , the number of the hour of the day in elven time
matchwait
1suckb:
counter add 10
goto Round3
2suckb:
counter add 20
goto Round3
3suckb:
counter add 30
goto Round3
4suckb:
counter add 40
goto Round3
5suckb:
counter add 50
goto Round3
6suckb:
counter add 60
goto Round3
7suckb:
counter add 70
goto Round3
8suckb:
counter add 80
goto Round3
9suckb:
counter add 90
goto Round3
Round3:
echo
match 1suckc , and your name?
match 2suckc , and your profession?
match 3suckc , and your gender?
match 4suckc , and your race?
match 5suckc , and today's day of the week?
match 6suckc , and today's month?
match 7suckc , and the year?
match 8suckc , and the name of the city you were charged in for your crimes?
match time2 , and the number of the hour of the day in elven time?
matchwait
1suckc:
save "%1"
goto Answer%c
2suckc:
save "%2"
goto Answer%c
3suckc:
save "%3"
goto Answer%c
4suckc:
save "%4"
goto Answer%c
5suckc:
save "%5"
goto Answer%c
6suckc:
save "%6"
goto Answer%c
7suckc:
save "%7"
goto Answer%c
8suckc:
save "%8"
goto Answer%c
answer12:
put answer %2
wait
put answer %1
wait
put answer %s
wait
goto start
answer13:
put answer %3
wait
put answer %1
wait
put answer %s
wait
goto start
answer14:
put answer %4
wait
put answer %1
wait
put answer %s
wait
goto start
answer15:
put answer %5
wait
put answer %1
wait
put answer %s
wait
goto start
answer16:
put answer %6
wait
put answer %1
wait
put answer %s
wait
goto start
answer17:
put answer %7
wait
put answer %1
wait
put answer %s
wait
goto start
answer18:
put answer %8
wait
put answer %1
wait
put answer %s
wait
goto start
2answer19:
wait
put answer %1
wait
put answer %s
wait
goto start
answer21:
put answer %1
wait
put answer %2
wait
put answer %s
wait
goto start
answer23:
put answer %3
wait
put answer %2
wait
put answer %s
wait
goto start
answer24:
put answer %4
wait
put answer %2
wait
put answer %s
wait
goto start
answer25:
put answer %5
wait
put answer %2
wait
put answer %s
wait
goto start
answer26:
put answer %6
wait
put answer %2
wait
put answer %s
wait
goto start
answer27:
put answer %7
wait
put answer %2
wait
put answer %s
wait
goto start
answer28:
put answer %8
wait
put answer %2
wait
put answer %s
wait
goto start
2answer29:
wait
put answer %2
wait
put answer %s
wait
goto start
answer31:
put answer %1
wait
put answer %3
wait
put answer %s
wait
goto start
answer32:
put answer %2
wait
put answer %3
wait
put answer %s
wait
goto start
answer34:
put answer %4
wait
put answer %3
wait
put answer %s
wait
goto start
answer35:
put answer %5
wait
put answer %3
wait
put answer %s
wait
goto start
answer36:
put answer %6
wait
put answer %3
wait
put answer %s
wait
goto start
answer37:
put answer %7
wait
put answer %3
wait
put answer %s
wait
goto start
answer38:
put answer %8
wait
put answer %3
wait
put answer %s
wait
goto start
2answer39:
wait
put answer %3
wait
put answer %s
wait
goto start
answer41:
put answer %1
wait
put answer %4
wait
put answer %s
wait
goto start
answer42:
put answer %2
wait
put answer %4
wait
put answer %s
wait
goto start
answer43:
put answer %3
wait
put answer %4
wait
put answer %s
wait
goto start
answer45:
put answer %5
wait
put answer %4
wait
put answer %s
wait
goto start
answer46:
put answer %6
wait
put answer %4
wait
put answer %s
wait
goto start
answer47:
put answer %7
wait
put answer %4
wait
put answer %s
wait
goto start
answer48:
put answer %8
wait
put answer %4
wait
put answer %s
wait
goto start
2answer49:
wait
put answer %4
wait
put answer %s
wait
goto start
answer51:
put answer %1
wait
put answer %5
wait
put answer %s
wait
goto start
answer52:
put answer %2
wait
put answer %5
wait
put answer %s
wait
goto start
answer53:
put answer %3
wait
put answer %5
wait
put answer %s
wait
goto start
answer54:
put answer %4
wait
put answer %5
wait
put answer %s
wait
goto start
answer56:
put answer %6
wait
put answer %5
wait
put answer %s
wait
goto start
answer57:
put answer %7
wait
put answer %5
wait
put answer %s
wait
goto start
answer58:
put answer %8
wait
put answer %5
wait
put answer %s
wait
goto start
2answer59:
wait
put answer %5
wait
put answer %s
wait
goto start
answer61:
put answer %1
wait
put answer %6
wait
put answer %s
wait
goto start
answer62:
put answer %2
wait
put answer %6
wait
put answer %s
wait
goto start
answer63:
put answer %3
wait
put answer %6
wait
put answer %s
wait
goto start
answer64:
put answer %4
wait
put answer %6
wait
put answer %s
wait
goto start
answer65:
put answer %5
wait
put answer %6
wait
put answer %s
wait
goto start
answer67:
put answer %7
wait
put answer %6
wait
put answer %s
wait
goto start
answer68:
put answer %8
wait
put answer %6
wait
put answer %s
wait
goto start
2answer69:
wait
put answer %6
wait
put answer %s
wait
goto start
answer71:
put answer %1
wait
put answer %7
wait
put answer %s
wait
goto start
answer72:
put answer %2
wait
put answer %7
wait
put answer %s
wait
goto start
answer73:
put answer %3
wait
put answer %7
wait
put answer %s
wait
goto start
answer74:
put answer %4
wait
put answer %7
wait
put answer %s
wait
goto start
answer75:
put answer %5
wait
put answer %7
wait
put answer %s
wait
goto start
answer76:
put answer %6
wait
put answer %7
wait
put answer %s
wait
goto start
answer78:
put answer %8
wait
put answer %7
wait
put answer %s
wait
goto start
2answer79:
wait
put answer %7
wait
put answer %s
wait
goto start
answer81:
put answer %1
wait
put answer %8
wait
put answer %s
wait
goto start
answer82:
put answer %2
wait
put answer %8
wait
put answer %s
wait
goto start
answer83:
put answer %3
wait
put answer %8
wait
put answer %s
wait
goto start
answer84:
put answer %4
wait
put answer %8
wait
put answer %s
wait
goto start
answer85:
put answer %5
wait
put answer %8
wait
put answer %s
wait
goto start
answer86:
put answer %6
wait
put answer %8
wait
put answer %s
wait
goto start
answer87:
put answer %7
wait
put answer %8
wait
put answer %s
wait
goto start
2answer89:
wait
put answer %8
wait
put answer %s
wait
goto start
answer91:
put answer %1
wait
goto time
2answer91:
wait
put answer %s
wait
goto start
answer92:
put answer %2
wait
goto time
2answer92:
wait
put answer %s
wait
goto start
answer93:
put answer %3
wait
goto time
2answer93:
wait
put answer %s
wait
goto start
answer94:
put answer %4
wait
goto time
2answer94:
wait
put answer %s
wait
goto start
answer95:
put answer %5
wait
goto time
2answer95:
wait
put answer %s
wait
goto start
answer96:
put answer %6
wait
goto time
2answer96:
wait
put answer %s
wait
goto start
answer97:
put answer %7
wait
goto time
2answer97:
wait
put answer %s
wait
goto start
answer98:
put answer %8
wait
goto time
2answer98:
wait
put answer %s
wait
goto start
answer19:
answer29:
answer39:
answer49:
answer59:
answer69:
answer79:
answer89:
time:
match 0 00:
match 1 01:
match 2 02:
match 3 03:
match 4 04:
match 5 05:
match 6 06:
match 7 07:
match 8 08:
match 9 09:
match 10 10:
match 11 11:
match 12 12:
match 13 13:
match 14 14:
match 15 15:
match 16 16:
match 17 17:
match 18 18:
match 19 19:
match 20 20:
match 21 21:
match 22 22:
match 23 23:
put time
matchWait
0:
put answer 0
goto 2answer%c
1:
put answer 1
goto 2answer%c
2:
put answer 2
goto 2answer%c
3:
put answer 3
goto 2answer%c
4:
put answer 4
goto 2answer%c
5:
put answer 5
goto 2answer%c
6:
put answer 6
goto 2answer%c
7:
put answer 7
goto 2answer%c
8:
put answer 8
goto 2answer%c
9:
put answer 9
goto 2answer%c
10:
put answer 10
goto 2answer%c
11:
put answer 11
goto 2answer%c
12:
put answer 12
goto 2answer%c
13:
put answer 13
goto 2answer%c
14:
put answer 14
goto 2answer%c
15:
put answer 15
goto 2answer%c
16:
put answer 16
goto 2answer%c
17:
put answer 17
goto 2answer%c
18:
put answer 18
goto 2answer%c
19:
put answer 19
goto 2answer%c
20:
put answer 20
goto 2answer%c
21:
put answer 21
goto 2answer%c
22:
put answer 22
goto 2answer%c
23:
put answer 23
goto 2answer%c
time2:
match 0a 00:
match 1a 01:
match 2a 02:
match 3a 03:
match 4a 04:
match 5a 05:
match 6a 06:
match 7a 07:
match 8a 08:
match 9a 09:
match 10a 10:
match 11a 11:
match 12a 12:
match 13a 13:
match 14a 14:
match 15a 15:
match 16a 16:
match 17a 17:
match 18a 18:
match 19a 19:
match 20a 20:
match 21a 21:
match 22a 22:
match 23a 23:
put time
matchWait
0a:
save 0
goto answer%c
1a:
save 1
goto answer%c
2a:
save 2
goto answer%c
3a:
save 3
goto answer%c
4a:
save 4
goto answer%c
5a:
save 5
goto answer%c
6a:
save 6
goto answer%c
7a:
save 7
goto answer%c
8a:
save 8
goto answer%c
9a:
save 9
goto answer%c
10a:
save 10
goto answer%c
11a:
save 11
goto answer%c
12a:
save 12
goto answer%c
13a:
save 13
goto answer%c
14a:
save 14
goto answer%c
15a:
save 15
goto answer%c
16a:
save 16
goto answer%c
17a:
save 17
goto answer%c
18a:
save 18
goto answer%c
19a:
save 19
goto answer%c
20a:
save 20
goto answer%c
21a:
save 21
goto answer%c
22a:
save 22
goto answer%c
23a:
save 23
goto answer%c
The city official says, "Tupac, ANSWER me these questions in order, one at a time, and within two minutes. What is your name, today's day of the week, and your gender?"
answer tupac
[Script]>answer volnes
The city official nods in approval at your answer.
[Script]>answer "male"
The city official nods in approval at your answer.
[Script]>
The city official says, "Eh? No...I don't think so. Try again. Time is running out!"
Now here's the script:
#jail
#jail
If_8 Goto Start2
echo
echo Syntax: .jail Name Proff Gender Race Weekday Month Year City Time
echo NOTE: Please use " " around multi-word answer, ie "Dark Elf".
echo
exit
start2:
echo
echo Your name is %1. You profession is %2. You are %3 %4.
echo Today's date is %5 of the month %6 of the year %7.
echo You are being charged in %8 and the current time is %9 hours.
echo
Start:
echo
match 1sucka What is your name
match 2sucka What is your profession
match 3sucka What is your gender
match 4sucka What is your race
match 5sucka What is today's day of the week
match 6sucka What is today's month
match 7sucka What is the year
match 8sucka What is the name of the city you were charged in for your crimes
match 9sucka What is the number of the hour of the day in elven time
matchwait
1sucka:
counter set 1
goto Round2
2sucka:
counter set 2
goto Round2
3sucka:
counter set 3
goto Round2
4sucka:
counter set 4
goto Round2
5sucka:
counter set 5
goto Round2
6sucka:
counter set 6
goto Round2
7sucka:
counter set 7
goto Round2
8sucka:
counter set 8
goto Round2
9sucka:
counter set 9
goto Round2
Round2:
echo
match 1suckb , your name
match 2suckb , your profession
match 3suckb , your gender
match 4suckb , your race
match 5suckb , today's day of the week
match 6suckb , today's month
match 7suckb , the year
match 8suckb , the name of the city you were charged in for your crimes
match 9suckb , the number of the hour of the day in elven time
matchwait
1suckb:
counter add 10
goto Round3
2suckb:
counter add 20
goto Round3
3suckb:
counter add 30
goto Round3
4suckb:
counter add 40
goto Round3
5suckb:
counter add 50
goto Round3
6suckb:
counter add 60
goto Round3
7suckb:
counter add 70
goto Round3
8suckb:
counter add 80
goto Round3
9suckb:
counter add 90
goto Round3
Round3:
echo
match 1suckc , and your name?
match 2suckc , and your profession?
match 3suckc , and your gender?
match 4suckc , and your race?
match 5suckc , and today's day of the week?
match 6suckc , and today's month?
match 7suckc , and the year?
match 8suckc , and the name of the city you were charged in for your crimes?
match time2 , and the number of the hour of the day in elven time?
matchwait
1suckc:
save "%1"
goto Answer%c
2suckc:
save "%2"
goto Answer%c
3suckc:
save "%3"
goto Answer%c
4suckc:
save "%4"
goto Answer%c
5suckc:
save "%5"
goto Answer%c
6suckc:
save "%6"
goto Answer%c
7suckc:
save "%7"
goto Answer%c
8suckc:
save "%8"
goto Answer%c
answer12:
put answer %2
wait
put answer %1
wait
put answer %s
wait
goto start
answer13:
put answer %3
wait
put answer %1
wait
put answer %s
wait
goto start
answer14:
put answer %4
wait
put answer %1
wait
put answer %s
wait
goto start
answer15:
put answer %5
wait
put answer %1
wait
put answer %s
wait
goto start
answer16:
put answer %6
wait
put answer %1
wait
put answer %s
wait
goto start
answer17:
put answer %7
wait
put answer %1
wait
put answer %s
wait
goto start
answer18:
put answer %8
wait
put answer %1
wait
put answer %s
wait
goto start
2answer19:
wait
put answer %1
wait
put answer %s
wait
goto start
answer21:
put answer %1
wait
put answer %2
wait
put answer %s
wait
goto start
answer23:
put answer %3
wait
put answer %2
wait
put answer %s
wait
goto start
answer24:
put answer %4
wait
put answer %2
wait
put answer %s
wait
goto start
answer25:
put answer %5
wait
put answer %2
wait
put answer %s
wait
goto start
answer26:
put answer %6
wait
put answer %2
wait
put answer %s
wait
goto start
answer27:
put answer %7
wait
put answer %2
wait
put answer %s
wait
goto start
answer28:
put answer %8
wait
put answer %2
wait
put answer %s
wait
goto start
2answer29:
wait
put answer %2
wait
put answer %s
wait
goto start
answer31:
put answer %1
wait
put answer %3
wait
put answer %s
wait
goto start
answer32:
put answer %2
wait
put answer %3
wait
put answer %s
wait
goto start
answer34:
put answer %4
wait
put answer %3
wait
put answer %s
wait
goto start
answer35:
put answer %5
wait
put answer %3
wait
put answer %s
wait
goto start
answer36:
put answer %6
wait
put answer %3
wait
put answer %s
wait
goto start
answer37:
put answer %7
wait
put answer %3
wait
put answer %s
wait
goto start
answer38:
put answer %8
wait
put answer %3
wait
put answer %s
wait
goto start
2answer39:
wait
put answer %3
wait
put answer %s
wait
goto start
answer41:
put answer %1
wait
put answer %4
wait
put answer %s
wait
goto start
answer42:
put answer %2
wait
put answer %4
wait
put answer %s
wait
goto start
answer43:
put answer %3
wait
put answer %4
wait
put answer %s
wait
goto start
answer45:
put answer %5
wait
put answer %4
wait
put answer %s
wait
goto start
answer46:
put answer %6
wait
put answer %4
wait
put answer %s
wait
goto start
answer47:
put answer %7
wait
put answer %4
wait
put answer %s
wait
goto start
answer48:
put answer %8
wait
put answer %4
wait
put answer %s
wait
goto start
2answer49:
wait
put answer %4
wait
put answer %s
wait
goto start
answer51:
put answer %1
wait
put answer %5
wait
put answer %s
wait
goto start
answer52:
put answer %2
wait
put answer %5
wait
put answer %s
wait
goto start
answer53:
put answer %3
wait
put answer %5
wait
put answer %s
wait
goto start
answer54:
put answer %4
wait
put answer %5
wait
put answer %s
wait
goto start
answer56:
put answer %6
wait
put answer %5
wait
put answer %s
wait
goto start
answer57:
put answer %7
wait
put answer %5
wait
put answer %s
wait
goto start
answer58:
put answer %8
wait
put answer %5
wait
put answer %s
wait
goto start
2answer59:
wait
put answer %5
wait
put answer %s
wait
goto start
answer61:
put answer %1
wait
put answer %6
wait
put answer %s
wait
goto start
answer62:
put answer %2
wait
put answer %6
wait
put answer %s
wait
goto start
answer63:
put answer %3
wait
put answer %6
wait
put answer %s
wait
goto start
answer64:
put answer %4
wait
put answer %6
wait
put answer %s
wait
goto start
answer65:
put answer %5
wait
put answer %6
wait
put answer %s
wait
goto start
answer67:
put answer %7
wait
put answer %6
wait
put answer %s
wait
goto start
answer68:
put answer %8
wait
put answer %6
wait
put answer %s
wait
goto start
2answer69:
wait
put answer %6
wait
put answer %s
wait
goto start
answer71:
put answer %1
wait
put answer %7
wait
put answer %s
wait
goto start
answer72:
put answer %2
wait
put answer %7
wait
put answer %s
wait
goto start
answer73:
put answer %3
wait
put answer %7
wait
put answer %s
wait
goto start
answer74:
put answer %4
wait
put answer %7
wait
put answer %s
wait
goto start
answer75:
put answer %5
wait
put answer %7
wait
put answer %s
wait
goto start
answer76:
put answer %6
wait
put answer %7
wait
put answer %s
wait
goto start
answer78:
put answer %8
wait
put answer %7
wait
put answer %s
wait
goto start
2answer79:
wait
put answer %7
wait
put answer %s
wait
goto start
answer81:
put answer %1
wait
put answer %8
wait
put answer %s
wait
goto start
answer82:
put answer %2
wait
put answer %8
wait
put answer %s
wait
goto start
answer83:
put answer %3
wait
put answer %8
wait
put answer %s
wait
goto start
answer84:
put answer %4
wait
put answer %8
wait
put answer %s
wait
goto start
answer85:
put answer %5
wait
put answer %8
wait
put answer %s
wait
goto start
answer86:
put answer %6
wait
put answer %8
wait
put answer %s
wait
goto start
answer87:
put answer %7
wait
put answer %8
wait
put answer %s
wait
goto start
2answer89:
wait
put answer %8
wait
put answer %s
wait
goto start
answer91:
put answer %1
wait
goto time
2answer91:
wait
put answer %s
wait
goto start
answer92:
put answer %2
wait
goto time
2answer92:
wait
put answer %s
wait
goto start
answer93:
put answer %3
wait
goto time
2answer93:
wait
put answer %s
wait
goto start
answer94:
put answer %4
wait
goto time
2answer94:
wait
put answer %s
wait
goto start
answer95:
put answer %5
wait
goto time
2answer95:
wait
put answer %s
wait
goto start
answer96:
put answer %6
wait
goto time
2answer96:
wait
put answer %s
wait
goto start
answer97:
put answer %7
wait
goto time
2answer97:
wait
put answer %s
wait
goto start
answer98:
put answer %8
wait
goto time
2answer98:
wait
put answer %s
wait
goto start
answer19:
answer29:
answer39:
answer49:
answer59:
answer69:
answer79:
answer89:
time:
match 0 00:
match 1 01:
match 2 02:
match 3 03:
match 4 04:
match 5 05:
match 6 06:
match 7 07:
match 8 08:
match 9 09:
match 10 10:
match 11 11:
match 12 12:
match 13 13:
match 14 14:
match 15 15:
match 16 16:
match 17 17:
match 18 18:
match 19 19:
match 20 20:
match 21 21:
match 22 22:
match 23 23:
put time
matchWait
0:
put answer 0
goto 2answer%c
1:
put answer 1
goto 2answer%c
2:
put answer 2
goto 2answer%c
3:
put answer 3
goto 2answer%c
4:
put answer 4
goto 2answer%c
5:
put answer 5
goto 2answer%c
6:
put answer 6
goto 2answer%c
7:
put answer 7
goto 2answer%c
8:
put answer 8
goto 2answer%c
9:
put answer 9
goto 2answer%c
10:
put answer 10
goto 2answer%c
11:
put answer 11
goto 2answer%c
12:
put answer 12
goto 2answer%c
13:
put answer 13
goto 2answer%c
14:
put answer 14
goto 2answer%c
15:
put answer 15
goto 2answer%c
16:
put answer 16
goto 2answer%c
17:
put answer 17
goto 2answer%c
18:
put answer 18
goto 2answer%c
19:
put answer 19
goto 2answer%c
20:
put answer 20
goto 2answer%c
21:
put answer 21
goto 2answer%c
22:
put answer 22
goto 2answer%c
23:
put answer 23
goto 2answer%c
time2:
match 0a 00:
match 1a 01:
match 2a 02:
match 3a 03:
match 4a 04:
match 5a 05:
match 6a 06:
match 7a 07:
match 8a 08:
match 9a 09:
match 10a 10:
match 11a 11:
match 12a 12:
match 13a 13:
match 14a 14:
match 15a 15:
match 16a 16:
match 17a 17:
match 18a 18:
match 19a 19:
match 20a 20:
match 21a 21:
match 22a 22:
match 23a 23:
put time
matchWait
0a:
save 0
goto answer%c
1a:
save 1
goto answer%c
2a:
save 2
goto answer%c
3a:
save 3
goto answer%c
4a:
save 4
goto answer%c
5a:
save 5
goto answer%c
6a:
save 6
goto answer%c
7a:
save 7
goto answer%c
8a:
save 8
goto answer%c
9a:
save 9
goto answer%c
10a:
save 10
goto answer%c
11a:
save 11
goto answer%c
12a:
save 12
goto answer%c
13a:
save 13
goto answer%c
14a:
save 14
goto answer%c
15a:
save 15
goto answer%c
16a:
save 16
goto answer%c
17a:
save 17
goto answer%c
18a:
save 18
goto answer%c
19a:
save 19
goto answer%c
20a:
save 20
goto answer%c
21a:
save 21
goto answer%c
22a:
save 22
goto answer%c
23a:
save 23
goto answer%c