PDA

View Full Version : Jail script



Hulkein
04-18-2004, 07:32 PM
Anyone have a good one? I put together a crude one using match, but I can't get it to work because one, I'm a newb, and two, the guy gives all three questions at once so the match doesn't work (seeing as I suck at doing this, I just pretty much altered Adredrin's Thrak's one, but that asks questions one at a time.)

Anyone want to work on one? This is what I had. Yes, it sucks.

Oh, and incase you're wondering, I put two variables for the time because a lot of times when you're in there the number for the hour will switch.

---

start:
pause 2
match Q1 your profession
match Q2 the name of the city
match Q3 your race
match Q4 today's month
match Q5 the year
match Q6 your name
match Q7 day of the week
match Q8 your gender
match Q9 number of the hour

matchwait

Q1:
put answer %1
goto start

Q2:
put answer %2
goto start

Q3:
put answer %3
goto start

Q4:
put answer %4
goto start

Q5:
put answer %5
goto start

Q6:
put answer %6
goto start

Q7:
put answer %7
goto start

Q8:
put answer %8
goto start

Q9:
put answer %9
put answer %10
goto start

Latrinsorm
04-18-2004, 07:42 PM
Couldn't you just put all the answers in? You get unlimited tries, right?

Celexei
04-18-2004, 07:44 PM
just take the time and set it up for every possible variation...have it match up to say what the time currently is from a check (how else would ya do it i know) it just takes time and figuring every variable out to do it. I might work on one later..but seeing as i just made the stocks the other day for the first time...prolly won't use it much.:shrug:

Hulkein
04-18-2004, 07:45 PM
Yeah, that time part is weak and probably won't work, but it hangs up before then. And yes you're right Latrinsorm I guess you could just set it up to wait for the series of questions then answer all of them at once.

Celexei
04-18-2004, 07:46 PM
your going to have to have alot more matches on there...ALOT of matches for the time mainly..just work it out and if not i'm sure that there was a script or two wrote for the stocks already.

Hulkein
04-18-2004, 07:50 PM
Why a lot more matches? That is every question it asks.

Latrinsorm
04-18-2004, 07:51 PM
Originally posted by Hulkein
Why a lot more matches? That is every question it asks. To tell the time automatically, you could use the time command and a ton of matches instead of just putting the time in manually in the beginning. I think that's what she's talking about.

Bobmuhthol
04-18-2004, 07:59 PM
Putting in time manually could be beneficial, really. Do something like..

counter set %9
time:
match fuckyou No that is wrong.
match Start Yes that is correct.
put answer %c
matchwait

fuckyou:
counter add
goto time

Celexei
04-18-2004, 07:59 PM
because of the possibility of all the time within 2 minutes sorta shtuff they ask you...how are you gonna put in the time without matching it like that?

Celexei
04-18-2004, 08:01 PM
i guess putting in the time manually works...but i was thinking a total don't need to interact sorta script.

Hulkein
04-18-2004, 08:02 PM
They ask the hour of the time, not the minutes. It's just hourly, that's why I did it that way. Most people are never in jail for more then 2 hours, or even an hour.

Celexei
04-18-2004, 08:03 PM
no....i swear from two nights ago when i was in the stocks they asked me the time to within two minutes...i'll try to dig the logs out as soon as i get my puter fixed...but i SWEAR they asked to within 2 minutes

Bobmuhthol
04-18-2004, 08:21 PM
<<but i was thinking a total don't need to interact sorta script.>>

Which is what this will be. You can't magically input the time into the script while it's running, and it would be impossible to do in the Wizard (conveniently) if it was by minutes.

<<no....i swear from two nights ago when i was in the stocks they asked me the time to within two minutes>>

I swear, you're wrong.

Celexei
04-18-2004, 08:23 PM
probably am...i'll have to dig that log up though...and why couldn't you do it in wizard? anyone who doesn't have the script timer block is a :newbie:

Bobmuhthol
04-18-2004, 08:26 PM
1. You called it 'the script timer block,' so you're automatically wrong.
2. You can't do it in the Wizard because you'd have to be like, 'answer 10:30' and, with the Wizard, there would be 1,440 minutes to match. The match table is limited to 32 (32-bit system anyone?) [that's probably the wrong reason but it's how I stop myself from thinking ridiculous scripts would work.]
3. You're wrong anyway.

Celexei
04-18-2004, 08:28 PM
LOL alright so i called shit wrong...oh well :worship: sorry bob...but uhm i'm not sure i'm understanding what your talking about with your first part of #2...explain please?

Jonty
04-18-2004, 08:28 PM
You could do it in the Wizard.

Celexei
04-18-2004, 08:29 PM
see thats what i was thinking...i run all my scripts in wizard...SF is to hectic (at least for me) and escapes to damn slow and laggy.

Bobmuhthol
04-18-2004, 08:32 PM
<<You could do it in the Wizard.>>

Not conveniently was my point.

Write a quick script that matches to every hour and minute combination in a day. Do it now!

Celexei
04-18-2004, 08:34 PM
exactly thats what i'm saying...it would take alot of time

Bobmuhthol
04-18-2004, 08:34 PM
<<but uhm i'm not sure i'm understanding what your talking about with your first part of #2...explain please?>>

You said to input TIME and then match from there, correct? Well there are 24 hours in a day and 60 minutes in an hour. If you're saying you need exact time, that's 1,440 minutes to match, and you'd need to match each one exactly.

But I'm 99.999...% (which, by the way, is equal to 100%) sure that it goes by hour, which is very easily accomplished.

Celexei
04-18-2004, 08:36 PM
true...if it does go by hour that is simple...but if my memory is right which i believe it to be 99.9999...% (which, by the way, is equal to somewhere between -1 and 100%) sure then it has minutes in there somewhere...someone go kill someone...make it funny...post the log...especially with the stocks part.

Bobmuhthol
04-18-2004, 08:40 PM
<<99.9999...% (which, by the way, is equal to somewhere between -1 and 100%)>>

... actually it's equal to 100 exactly.

<<sure then it has minutes in there somewhere>>

People have been gathering information in hopes of such a script since the system was released, and I've never heard of minutes being asked ever. Yet you get arrested once and get asked what minute it is? I doubt it.

Jonty
04-18-2004, 08:46 PM
Originally posted by Bobmuhthol
<<You could do it in the Wizard.>>

Not conveniently was my point.

Write a quick script that matches to every hour and minute combination in a day. Do it now!

It's not convenient in SF either.... Like you said, that'd be 1,440 matches.


2. You can't do it in the Wizard because you'd have to be like, 'answer 10:30' and, with the Wizard, there would be 1,440 minutes to match. The match table is limited to 32 (32-bit system anyone?) [that's probably the wrong reason but it's how I stop myself from thinking ridiculous scripts would work.]

What I meant was that you could do this in the wizard dispite the 32 match limit.

You just have to use 31 matched in each section, then use the last to match to the next section if you don't match the time in the current section.

I'd use the following bolded text to use for the last match in each section.

Today is Restday, day 18 of the month Olaesta in the year 5104. It is 20:39 by the elven time standard. It is currently late evening.

Celexei
04-18-2004, 08:49 PM
i'm not sayin that it wouldn't be hard to make...but isn't there someone who's already wrote one...i mean there are scripts for every damn thing ya can possibly get into in elanthia...i'm sure one for stocks time exists.

Latrinsorm
04-18-2004, 08:52 PM
Originally posted by Celexei
i'm not sayin that it wouldn't be hard to make...but isn't there someone who's already wrote one...i mean there are scripts for every damn thing ya can possibly get into in elanthia...i'm sure one for stocks time exists. Probably exists, but that doesn't mean it's available.

Hulkein
04-18-2004, 08:53 PM
If there is one already made, I couldn't find it.. I'd love to get it though.

Celexei
04-18-2004, 08:54 PM
i think we'd all love to get it...hell that'd make serving time...nothing. but then there are all you nice rich high lords and ladies out there who don't mind droppin the silver....*raises her fist in defiances*

Bobmuhthol
04-18-2004, 09:00 PM
<<You just have to use 31 matched in each section, then use the last to match to the next section if you don't match the time in the current section.>>

Heh, smart. I wouldn't want to be responsible for it, though.

And anyway, minutes are not used, so it won't be necessary. But that method is good to know.


<<i'm sure one for stocks time exists.>>

At least one does.

I use my own scripts.

Celexei
04-18-2004, 09:02 PM
soo your holdin out on us bob?

Latrinsorm
04-18-2004, 09:07 PM
Originally posted by Celexei
soo your holdin out on us bob? Considering Hulkein already gave you everything you need, it doesn't seem like such a big deal.

Celexei
04-18-2004, 09:08 PM
shrugs...i'll just go home tonight and write my own using my logs and such..not that terribly difficult. :whistle:

Anebriated
04-18-2004, 09:21 PM
TIME1:
put time
MATCH 0001 It is 00:01 by the elven time standard
MATCH 0002 It is 00:02 by the elven time standard
MATCH 0003 It is 00:03 by the elven time standard
MATCH 0004 It is 00:04 by the elven time standard
MATCH 0005 It is 00:05 by the elven time standard
MATCH 0006 It is 00:06 by the elven time standard
MATCH 0007 It is 00:07 by the elven time standard
MATCH 0008 It is 00:08 by the elven time standard
MATCH 0009 It is 00:09 by the elven time standard
MATCH 0010 It is 00:10 by the elven time standard
...
MATCH 0030 It is 00:30 by the elven time standard
MATCH 0031 It is 00:31 by the elven time standard
MATCHWAIT .5
goto TIME2

TIME2:
MATCH 0032 It is 00:32 by the elven time standard

As Jonty said it can be done. It would be time consuming and non efficient but it can be done. Would take 45 sections of matches to do it all. I showed a way that you could do it without using up the last of the MATCHes to just move on.

Bobmuhthol
04-18-2004, 09:30 PM
Again, this is pointless, because you do not get asked for minutes in the stocks.

Jonty
04-18-2004, 09:43 PM
Originally posted by Elrodin
MATCHWAIT .5
goto TIME2


Why did you put that .5 and goto TIME2 after the match wait? And for it to work, you'd need a 32nd match in there pointing to TIME2.

Anebriated
04-18-2004, 10:14 PM
'MATCHWAIT .5' will use the matches for .5 seconds(you might need to boost it to 1 just in case). If at this time a match is not met it will go down the script to the goto TIME2 and repeat the process with the next set of numbers. One way to speed it up would be to do something like what follows:


...
MATCH HOUR1 5104. It is 01:
MATCH HOUR2 5104. It is 02:
MATCH HOUR3 5104. It is 03:
...

HOUR1:
put time
MATCH 100 01:00
MATCH 101 01:01

Using that method you could cut down on the script run time in the later hours of the day. Early in the morning it shouldnt make too much difference.

Also, you dont need a full 32 matches to move on to a new set.(i dont think anyway)

Jonty
04-18-2004, 10:17 PM
Originally posted by Elrodin
Also, you dont need a full 32 matches to move on to a new set.(i dont think anyway)

No, you don't. As for MATCHWAIT .5, I've never heard of that. I guess I'll test it out now.

Jonty
04-18-2004, 10:24 PM
I just tested out that "MATCHWAIT .5" stuff and it does not work. So, again, you'd need a 32nd match that points to TEMP for it to work.

Jonty
04-18-2004, 10:29 PM
Originally posted by Elrodin
One way to speed it up would be to do something like what follows:


...
MATCH HOUR1 5104. It is 01:
MATCH HOUR2 5104. It is 02:
MATCH HOUR3 5104. It is 03:
...

HOUR1:
put time
MATCH 100 01:00
MATCH 101 01:01

Using that method you could cut down on the script run time in the later hours of the day. Early in the morning it shouldnt make too much difference.

Also, you dont need a full 32 matches to move on to a new set.(i dont think anyway)

Yes, that would be a much better way of doing it. Though, my point was not to make a jail script for this, since it doesn't ask for minutes anyway, but to point out that the 32 match limit can be bypassed.

Anebriated
04-18-2004, 10:31 PM
OK, just tested it out again myself and it no longer works. I dont think i got it from anywhere else and mistook it for the wizscript. I stand corrected on this one.

TheEschaton
04-18-2004, 11:41 PM
There's like 6 questions. Hour, Day of the week, Month, NAme, Race, Profession

Or you can use zMUD, make a trigger for:


A city official looks at you, and says "Okay, %w, answer the following three questions in 2 minutes: (*), (*), and (*)."

And it could trigger the following:

#case (%1="Your name") {info;#temp (Name :%s(%w)%s%w) (ANSWER %1)}
#case (%1= "The hour of the current time") {time;#temp (It is (%d):%d by the elven time standard.) (ANSWER %0)}
#case (%1="The day of the week") {time;#temp (Today is (%w), day) (ANSWER %0)}
#case (%1="The current month") {time;#temp (day %d of the month (%w)) (ANSWER %1)}
#case (%1="Your race") {info;#temp(Race:%s(%w)) (ANSWER %1)}
#case (%1="Your profession) {info;#temp(Profession:%s(%w)%s() (ANSWER %1)}

And then have it cycle through the other two questions with a surface-level while.

It would be so much easier too, if zMUD's #case function wasn't a bit wacky.

Edited to add: Of course, you'd need the exact messaging, I don't think that's it.

[Edited on 4-19-2004 by TheEschaton]

Bobmuhthol
04-18-2004, 11:45 PM
There are 9 questions.

I'm doing it in the Wizard. Everyone else can fuck off.

It's going to take me hours because I need about.. 730 matches? Hopefully it will be significantly less.

Fengus
04-19-2004, 03:28 AM
You do not need that many matches for minutes, get SF and learn regular expressions, and Bob STFU.

And even if you are completely naive you brute-froce it you still would only need 60 matches for minutes. I don't know about wizard but SF sequentially parses the incoming text so you can match the hour and then the minutes in the same time command.

FinisWolf
04-19-2004, 03:37 AM
Originally posted by Celexei
i think we'd all love to get it...hell that'd make serving time...nothing. but then there are all you nice rich high lords and ladies out there who don't mind droppin the silver....*raises her fist in defiances*

Wheres the waa waa emoticon?

Finiswolf

Bobmuhthol
04-19-2004, 12:39 PM
SHUT THE FUCK UP FENGUS WE'VE GONE OVER IT MULTIPLE TIMES AND IT IS NOT NECESSARY BECAUSE MINUTES ARE NOT ASKED SO FUCK OFF YOU MORON.

If I'm going to do this, it helps if people don't unnecessarily say STUPID FUCKING BULLSHIT.

Suppa Hobbit Mage
04-19-2004, 12:40 PM
:flamewar:

Parkbandit
04-19-2004, 01:36 PM
I'll test it out for you Bob.. I tend to get into some hot water from time to time... even though I'm usually innocent.

:saint:

Bobmuhthol
04-19-2004, 01:46 PM
I *might* work on a Wizard script if someone can tell me how to bypass the 32 match system. It'll require hundreds of matches, and there's no way to repeat the questions, so I need some way to go to multiple match tables with the one line that comes up.

Trinitis
04-19-2004, 01:50 PM
Originally posted by Bobmuhthol
I *might* work on a Wizard script if someone can tell me how to bypass the 32 match system. It'll require hundreds of matches, and there's no way to repeat the questions, so I need some way to go to multiple match tables with the one line that comes up.

Porcell and I worked out a script a while back that matched off one input and was able to count each instance of the same word from that one input. The basic idea of the script may help you bob. I'll see if I can dig it up.

-Adredrin


Edit to add :

Thinking about it, if your willing to put the work in, could you not have it work something like this?


start:

match name name
match date date
match time time
...
matchwait

name:
match namedate date
match nametime time
...
matchwait

nametime:
match nametimedate date
...
matchwait

-------------------------------------------

basicly the script would slam through the matches, ending with datetimename or something, then answer all three.

It might work :P

[Edited on 4-19-2004 by LordAdredrin]

Bobmuhthol
04-19-2004, 01:51 PM
That should help.

I hope.

Trinitis
04-19-2004, 01:56 PM
Bob, check post above again :P

Suppa Hobbit Mage
04-19-2004, 02:01 PM
I volunteer killing Stanley repeatedly to test your script also Bob.

Fengus
04-19-2004, 02:08 PM
I wasn't responding to what doesn't need to be done, I was responding to your comment about 1440 matches or some shit. Not only is it possible, its easy. And btw no one cares if you use wizard, if its not possible with wizard upgrade. To the original poster, upgrade.

Bobmuhthol
04-19-2004, 02:21 PM
<<I was responding to your comment about 1440 matches or some shit. Not only is it possible, its easy.>>

In Wizard, that's how many it takes.

<<And btw no one cares if you use wizard, if its not possible with wizard upgrade.>>

Well I was talking about Wizard the entire time, and even said it's easy with SF, so you're obviously illiterate.

Jonty
04-19-2004, 02:48 PM
Originally posted by Bobmuhthol
I *might* work on a Wizard script if someone can tell me how to bypass the 32 match system.

I've already posted how.

Here's a more complete example:


time0:
match 0000 00:00
match 0001 00:01
match 0002 00:02
match 0003 00:03
match 0004 00:04
match 0005 00:05
match 0006 00:06
match 0007 00:07
match 0008 00:08
match 0009 00:09
match 0010 00:10
match 0011 00:11
match 0012 00:12
match 0013 00:13
match 0014 00:14
match 0015 00:15
match 0016 00:16
match 0017 00:17
match 0018 00:18
match 0019 00:19
match 0020 00:20
match 0021 00:21
match 0022 00:22
match 0023 00:23
match 0024 00:24
match 0025 00:25
match 0026 00:26
match 0027 00:27
match 0028 00:28
match 0029 00:29
match 0030 00:30
match time1 by the elven time standard. It is currently
put time
matchWait

time1:
etc....

[Edited on 4-19-2004 by Jonty]

Bobmuhthol
04-19-2004, 02:58 PM
Dear Jonty,

You're dumb and you are not helping. I've said at least ten times that I don't need the minutes, and I need to relate it to the questions being asked. You suck.




Your friend,
Bobmuhthol

Jonty
04-19-2004, 03:08 PM
Originally posted by Bobmuhthol
Dear Jonty,

You're dumb and you are not helping. I've said at least ten times that I don't need the minutes, and I need to relate it to the questions being asked. You suck.




Your friend,
Bobmuhthol

Dear Bob,

You're dumber. If you'd read what I replied to, then maybe you would understand. My post had nothing to do with you needing minutes or not....

Bobmuhthol
04-19-2004, 03:29 PM
Dear Jonty,

You're dumbest. That method doesn't work with what I need it to. Everything needs to be matched off one line, and that one line appears only once.

Jonty
04-19-2004, 03:32 PM
Then you can't bypass it....

Suppa Hobbit Mage
04-19-2004, 04:19 PM
Originally posted by Bobmuhthol
Dear Jonty,

You're dumbest. That method doesn't work with what I need it to. Everything needs to be matched off one line, and that one line appears only once.

You need to make tons of matches that say whatever the combination of questions can be, and match each one.

So if there are 3 possible questions, there'd be 9 possible matches.

Is that what you mean Bob?

Nakiro
04-19-2004, 04:34 PM
Uhm, here is a preliminary version of the script. Its functional as tested by Bob using the Wizard. I don't know if SF is fast enough to keep up with it and scan the string quick enough.

Anyway, a later version might come out that'd be easier and require less user imput. Here we go for now though.

If_9 Goto Start
echo
echo Syntax: .jail Profession City Year Day Time Gender Name Month Race
echo
exit

Start:
match 1sucka What is your profession
match 2sucka What is the name of the city you were charged in for your crimes
match 3sucka What is the year
match 4sucka What is today's day of the week
match 5sucka What is the number of the hour of the day in elven time
match 6sucka What is your gender
match 7sucka What is your name
match 8sucka What is today's month
match 9sucka What is your race
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:
match 1suckb , your profession,
match 2suckb , the name of the city you were charged in for your crimes,
match 3suckb , the year,
match 4suckb , today's day of the week,
match 5suckb , the number of the hour of the day in elven time,
match 6suckb , your gender,
match 7suckb , your name,
match 8suckb , today's month,
match 9suckb , your race,
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:
match 1suckc and your profession
match 2suckc and the name of the city you were charged in for your crimes
match 3suckc and the year
match 4suckc and today's day of the week
match 5suckc and the number of the hour of the day in elven time
match 6suckc and your gender
match 7suckc and your name
match 8suckc and today's month
match 9suckc and your race
matchwait

1suckc:
save %1
goto Answer

2suckc:
save %2
goto Answer

3suckc:
save %3
goto Answer

4suckc:
save %4
goto Answer

5suckc:
save %5
goto Answer

6suckc:
save %6
goto Answer

7suckc:
save %7
goto Answer

8suckc:
save %8
goto Answer

9suckc:
save %9
goto Answer

Answer:
Goto Answer%C

answer11:
put answer %1
wait
put answer %1
wait
put answer %s
wait
goto start

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

answer19:
put answer %9
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

answer22:
put answer %2
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

answer29:
put answer %9
wait
put answer %2
wait
put answer %s
wait
goto start

answer31:
put answer %3
wait
put answer %1
wait
put answer %s
wait
goto start

answer32:
put answer %2
wait
put answer %3
wait
put answer %s
wait
goto start

answer33:
put answer %3
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

answer39:
put answer %9
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

answer44:
put answer %4
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

answer49:
put answer %9
wait
put answer %4
wait
put answer %s
wait
goto start

answer41:
put answer %1
wait
put answer %4
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

answer55:
put answer %5
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

answer59:
put answer %9
wait
put answer %5
wait
put answer %s
wait
goto start

answer41:
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

answer66:
put answer %6
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

answer69:
put answer %9
wait
put answer %6
wait
put answer %s
wait
goto start

answer41:
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

answer77:
put answer %7
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

answer79:
put answer %9
wait
put answer %7
wait
put answer %s
wait
goto start

answer41:
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

answer88:
put answer %8
wait
put answer %8
wait
put answer %s
wait
goto start

answer89:
put answer %9
wait
put answer %8
wait
put answer %s
wait
goto start

answer41:
put answer %1
wait
put answer %9
wait
put answer %s
wait
goto start

answer92:
put answer %2
wait
put answer %9
wait
put answer %s
wait
goto start

answer93:
put answer %3
wait
put answer %9
wait
put answer %s
wait
goto start

answer94:
put answer %4
wait
put answer %9
wait
put answer %s
wait
goto start

answer95:
put answer %5
wait
put answer %9
wait
put answer %s
wait
goto start

answer96:
put answer %6
wait
put answer %9
wait
put answer %s
wait
goto start

answer97:
put answer %7
wait
put answer %9
wait
put answer %s
wait
goto start

answer98:
put answer %8
wait
put answer %9
wait
put answer %s
wait
goto start

answer99:
put answer %9
wait
put answer %9
wait
put answer %s
wait
goto start

[Edited on 4-19-2004 by Nakiro]

Bobmuhthol
04-19-2004, 04:37 PM
<<You need to make tons of matches that say whatever the combination of questions can be, and match each one.

So if there are 3 possible questions, there'd be 9 possible matches.

Is that what you mean Bob?>>

Yes, and Adredrin's method works, as shown by Nakiro's script.

TheEschaton
04-19-2004, 04:45 PM
Actually, if the question can't be asked again, it would be 3*2*1 = 6 combos.

In the case of 9 questions, it would be 9*8*7 = 504

And you might be able to make it easier by making the names of the labels something easy like Name, City, Profession, Day, Hour, etc, etc, so when you match the first one, you can have it jump to Name: and then on Round two, you could use save %s + "City" to %s (to get, for example "NameCity", etc, etc. I guess it's the same idea.

-TheE-

Bobmuhthol
04-19-2004, 04:49 PM
The script works.

All suggestions will be laughed at.
:violin:

Jonty
04-19-2004, 05:04 PM
The script doesn't go past round three for me. I have to re-enter the next after the original to match it in round three.

P.S. Nakiro, you don't need Bob to test it; you can test the script yourself without actually being in jail. Just enter in the text you expect it to match.

[Edited on 4-19-2004 by Jonty]

Bobmuhthol
04-19-2004, 05:05 PM
I ran the script.

It works.

It never didn't work.

You suck.

TheEschaton
04-19-2004, 05:14 PM
There's a potential problem with the hour changing from the time you start to the time you finish the script.


-TheE-

Nieninque
04-19-2004, 05:15 PM
:clap:

Respect!

Snowy is gonna be rich(er)

Thanks for all your hard work..I for one, appreciate it :D

Bobmuhthol
04-19-2004, 05:16 PM
<<There's a potential problem with the hour changing from the time you start to the time you finish the script.>>

We acknowledged that when the script was finished, and we agreed that it's a lot easier on us to leave it as it is. Just restart the script when the hour changes.

Jonty
04-19-2004, 05:18 PM
I inserted echos in the script to see what section the script hangs at.



>.temp Warrior Landing 5104 Volnes 17 Male Jonty Olaesta Giant

in start ** counter=0

>What is your gender , today's month, and the year?
in round2 ** counter=6


in round3 ** counter=86


I do not understand, please rephrase that.

>'not going past round3...
You say, "Not going past round3..."

>and the year

in 3suck**counter=86
answer Male

There is nobody here interested in your answer.
answer Olaesta
Please rephrase that command.
answer 5104
There is nobody here interested in your answer.


in start ** counter=86

There is nobody here interested in your answer.

>'now it went past round3....
You say, "Now it went past round3...."


[Script aborted.]

TheEschaton
04-19-2004, 05:24 PM
Try putting the question marks in the Round 3 bit? It's the only difference I can see between your first input and the second input. Technically, matches may match only on word boundaries, and "year?" might be considered a word by itself, not two separate words conjoined.

-TheE-

Bobmuhthol
04-19-2004, 05:27 PM
Try matching 'e'. It doesn't have to be a separate word.

The script still works.

Nakiro
04-19-2004, 06:14 PM
Having the script adjust according to time would simply be monstroserous as it is already actively using save and counter variables.

Just learn how to look at your clock damnit.

Nakiro
04-19-2004, 06:19 PM
Also Jonty,

I think the script might not hit all three questions since it may not be able to scan twice.

If this were the case, you could always change all the answer %s 's to answer %1, 2, 3, 4, 5, 6, 7, 8, 9, etc.

Not being familiar with the jail system, I don't know if it would work because you may/may not have to answer the question correctly the first time.

In any case, I'm going to go kill Bob and test it now on SF, and then on Wiz.

Has anyone besides Bob experienced success with this script?

Weedmage Princess
04-19-2004, 06:26 PM
I'll be testing the script tonight when I get home. I'll give any imput I might have if it's still welcomed :)

Bobmuhthol
04-19-2004, 06:27 PM
<<if it's still welcomed>>

It isn't.

Weedmage Princess
04-19-2004, 06:28 PM
Bob, go sniff Ben's ass some more why don't you?

Bobmuhthol
04-19-2004, 06:30 PM
I would, but all my posts would be deleted while I'm gone.

Weedmage Princess
04-19-2004, 06:32 PM
Don't worry. If your posts were going to be deleted, it would happen whether you're here or not. So don't let that stop you!!!

Nakiro
04-19-2004, 06:34 PM
Ignore Bob. I'm interested in double-checking to make sure it works.

Bobmuhthol
04-19-2004, 06:36 PM
<<If your posts were going to be deleted, it would happen whether you're here or not.>>

I noticed. At least when I'm here I can inform you that you suck.

Weedmage Princess
04-19-2004, 06:46 PM
:thumbsup:

Trinitis
04-19-2004, 06:54 PM
Here. Work this into the script for time. Problem solved.

time:
put time
match 00 00:
match 01 01:
match 02 02:
match 03 03:
match 04 04:
match 05 05:
match 06 06:
match 07 07:
match 08 08:
match 09 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:
match 24 24:
matchwait

00:
put answer 00
exit

01:
put answer 01
exit

02:
put answer 02
exit

03:
put answer 03
exit

04:
put answer 04
exit

05:
put answer 05
exit

06:
put answer 06
exit

07:
put answer 07
exit

08:
put answer 08
exit

09:
put answer 09
exit

10:
put answer 10
exit

10:
put answer 10
exit

11:
put answer 11
exit

12:
put answer 12
exit

13:
put answer 13
exit

14:
put answer 14
exit

15:
put answer 15
exit

16:
put answer 16
exit

17:
put answer 17
exit

18:
put answer 18
exit

19:
put answer 19
exit

20:
put answer 20
exit

21:
put answer 21
exit

22:
put answer 22
exit

23:
put answer 23
exit

24:
put answer 24
exit

[Edited on 4-19-2004 by LordAdredrin]

Jonty
04-19-2004, 07:00 PM
Exit shouldn't be there since time is not always the last answer. Plus, the script is supposed to loop.

Trinitis
04-19-2004, 07:05 PM
Originally posted by Jonty
Exit shouldn't be there since time is not always the last answer. Plus, the script is supposed to loop.

I know that..I had the exits in there for reasons of testing in game. :)

Edit to add : It also does not work with how they have their script set up. I was thinking of making one much more automated (all you would have to give at the start is your name and the city), but it would be a huge script..and I'm not that bored.

[Edited on 4-19-2004 by LordAdredrin]

Bobmuhthol
04-19-2004, 07:06 PM
It would be almost impossible, if not completely impossible, to implement that into the existing script.

Jonty
04-19-2004, 07:49 PM
No, it wouldn't. It's very possible.

Bobmuhthol
04-19-2004, 07:52 PM
The counter and save variables are taken, and %s is used as the last answer in every label, so you don't know if it's time or not. The entire script would have to be changed. I know it can be done, but not with the current setup of the script.

Jonty
04-19-2004, 08:03 PM
It can be done with the current set up.

Bobmuhthol
04-19-2004, 08:06 PM
So do it.

Nakiro
04-19-2004, 08:07 PM
Originally posted by Jonty
It can be done with the current set up.

I know it can too, but actions speak louder than words.

With that said, put your fingers where your mouth is.

Jonty
04-19-2004, 08:29 PM
I know it can too, but actions speak louder than words.

With that said, put your fingers where your mouth is.


Done.... :)

I don't know what to do with the answer99(two time questions) section, but I don't think they ask you the same question twice anyway. If so, I guess you could just have the user input a default time as the ninth variable.


#jail

If_8 Goto Start
echo
echo Syntax: .jail Profession City Year Day Gender Name Month Race
echo
exit

Start:
match 1sucka What is your profession
match 2sucka What is the name of the city you were charged in for your crimes
match 3sucka What is the year
match 4sucka What is today's day of the week
match 5sucka What is your race
match 6sucka What is your gender
match 7sucka What is your name
match 8sucka What is today's month
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:
match 1suckb , your profession,
match 2suckb , the name of the city you were charged in for your crimes,
match 3suckb , the year,
match 4suckb , today's day of the week,
match 5suckb , your race,
match 6suckb , your gender,
match 7suckb , your name,
match 8suckb , today's month,
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:
match 1suckc and your profession
match 2suckc and the name of the city you were charged in for your crimes
match 3suckc and the year
match 4suckc and today's day of the week
match 5suckc and your race
match 6suckc and your gender
match 7suckc and your name
match 8suckc and today's month
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 2answer%c

19a:
save 19
goto answer%c

20:
save 20
goto answer%c

21a:
save 21
goto answer%c

22a:
save 22
goto answer%c

23a:
save 23
goto answer%c

PS There are a few typos in your original script. answer41, was repated for several sections like answer51, answer61, etc... Also, answer31's answer order was backwards for the first two answers.

Edited: Removed unnecessary stuff from the script.

[Edited on 4-20-2004 by Jonty]

[Edited on 4-20-2004 by Jonty]

[Edited on 4-20-2004 by Jonty]

Nakiro
04-19-2004, 10:24 PM
Yes, doubles can be eliminated.

Thanks for catching those other errors, btw.

Celexei
04-20-2004, 12:18 AM
so out of my own stupidity i'll gladly ask.... It works, completly?

Jonty
04-20-2004, 12:20 AM
Originally posted by Celexei
so out of my own stupidity i'll gladly ask.... It works, completly?

Depends... try it out. Bob says it works for him. It doesn't work for me though. Nakiro, did you test it out yet?

Celexei
04-20-2004, 12:21 AM
what is the syntax for running it? (IE ya put the script then your name and city or huh?)

Jonty
04-20-2004, 12:24 AM
Syntax: .jail Profession City Year Day Gender Name Month Race

Nakiro
04-20-2004, 12:25 AM
Yes, it works for me.

just copy and paste the script, and put justice for syntax. I don't remember it off the top of my head.

Jonty
04-20-2004, 12:27 AM
Originally posted by Nakiro
Yes, it works for me.


WTF?! I guess my Wizard is retarded.... :down:

Bobmuhthol
04-20-2004, 12:30 AM
<<Depends... try it out. Bob says it works for him.>>

It fucks up when I input the stuff myself, but it worked entirely when I did it in the stocks.

Jonty
04-20-2004, 12:43 AM
The script I posted doesn't work if it asks time as the last answer, so put in a default time as the last variable and it'll work in that instance.

Syntax: .jail Profession City Year Day Gender Name Month Race time

I'll work on fixing that now.

[Edited on 4-20-2004 by Jonty]

Jonty
04-20-2004, 01:02 AM
Ok, it's fixed and I edited the script I posted on page 4 with the working script. Oh, and it works for me now. Very cool. :up: Nakiro. Time to go get arrested. :lol:

Bobmuhthol
04-20-2004, 12:48 PM
Convenience alert.

TheEschaton
04-20-2004, 01:37 PM
Does "Elf" work as an answer to race if you're a Dark Elf? Otherwise you have a problem with the script.


-TheE-

Wezas
04-20-2004, 02:14 PM
And while we're on topic, a big :thumbsdown: to Simu for using the same file extension (.cmd) for it's scripts as the Windows Command Script :!:
(I know I can change my file associations to change this but I'm sure alot of people don't.)

Hulkein
04-20-2004, 02:33 PM
Originally posted by TheEschaton
Does "Elf" work as an answer to race if you're a Dark Elf? Otherwise you have a problem with the script.


-TheE-

Just put the town and the race in quotes for two words.

Jonty
04-20-2004, 02:45 PM
Originally posted by Bobmuhthol
Convenience alert.

That script has errors in it....

This one has the errors I found removed from it and get's the time automatically.

Hulkein
04-20-2004, 02:53 PM
Thanks for the work Jonty and Bob.

Jonty
04-20-2004, 03:04 PM
Originally posted by Hulkein
Thanks for the work Jonty and Bob.

+Nakiro, he made the original script.

Hulkein
04-22-2004, 11:27 PM
Update:

It doesn't work Jonty.

Jonty
04-22-2004, 11:32 PM
Originally posted by Hulkein
Update:

It doesn't work Jonty.

Show the log.

If you don't have it, what questions where asked in what order?

[Edited on 4-23-2004 by Jonty]

Jonty
04-22-2004, 11:46 PM
Originally posted by Hulkein
Update:

It doesn't work Jonty.

1. It doesn't work for me sometimes either. I guess the computer I'm using is slow sometimes, and the wizard doesn't read the entire string the first time.

2. The syntax listed in the script is incorrect.

The correct Syntax: .jail Profession City Year Day Race Gender Name Month

That's the only problem I've found. If your problem was that the script gave the wrong answer, then the above is the solution.

Bobmuhthol
04-22-2004, 11:47 PM
It doesn't work for me most of the time. Nakiro's script never failed.

Hulkein
04-23-2004, 12:19 AM
Testing it now, I'll update in a few minutes.

Hulkein
04-23-2004, 12:35 AM
Ok, downloaded your updated one, put in the stuff as you listed, this is what happened first series of questions asked. -


[Script]>The muffled voice of a guard echoes from beyond the cell door, "Roll call! Time to make sure you're still alive and causing me grief! , ANSWER me these questions in order, one at a time, and within two minutes. What is today's day of the week, your gender, and the number of the hour of the day in elven time?"
[Script]>time
answer Day of the Huntress
Today is Day of the Huntress, day 23 of the month Olaesta in the year 5104. It is 00:32 by the elven time standard. It is currently late evening.
[Script]>answer male
The muffled voice stays quiet, as though your answer was not satisfactory.
[Script]>answer 0
The muffled voice stays quiet, as though your answer was not satisfactory.
[Script]>
The muffled voice stays quiet, as though your answer was not satisfactory.

--

I then input the exact same things the script did, and it worked.. Why?

--

[Script]>answer day of the huntress
The muffled voice of a guard echoes from beyond the cell door, "Check!"
[Script]>answer male
The muffled voice of a guard echoes from beyond the cell door, "Check!"
[Script]>answer 0
The muffled voice of a guard echoes from beyond the cell door, "Check!"

Jonty
04-23-2004, 12:47 AM
I then input the exact same things the script did, and it worked.. Why?

I have no idea. From your log, the answers were given in the correct order... so... :?:

Latrinsorm
04-23-2004, 12:57 AM
Check to see if the script puts extra space on the end of the answers. It's hard to tell straight from the post, because PC likes chucking extra spaces about. That's the only thing I can think of.

Jonty
04-23-2004, 01:02 AM
Originally posted by Latrinsorm
Check to see if the script puts extra space on the end of the answers. It's hard to tell straight from the post, because PC likes chucking extra spaces about. That's the only thing I can think of.

It does, since I copied it from here. And I'm not going to go through the whole script deleting those white spaces right now. I have no way of testing if that's the problem though 'cause I'm not going to jail.

So, maybe you can check for us, Hulkein? Answer one of their questions with a space an the end, see what happens.

Hulkein
04-23-2004, 01:03 AM
Ok, logging back on now, I got pissed and left because I kept getting distracted by TV and forgetting I was in jail, lol.

Jonty
04-23-2004, 01:05 AM
Originally posted by Hulkein
Ok, logging back on now, I got pissed and left because I kept getting distracted by TV and forgetting I was in jail, lol.

:lol: Same thing happened to me one time.

Hulkein
04-23-2004, 01:14 AM
Yes, it is errant spaces messing it up. Just tested it.

Jonty
04-23-2004, 01:18 AM
Try this one then.

I did a lot of mass replacing, so there might be an error somewhere. But I looked it over a couple of times, and it looks ok.

[Edited on 4-23-2004 by Jonty]

Fengus
04-23-2004, 01:21 AM
Spaced removed, my text editor have a feature to remove trailing spaces and there were tons.

Jonty
04-23-2004, 01:22 AM
Originally posted by Fengus
Spaced removed, my text editor have a feature to remove trailing spaces and there were tons.

Cool, where'd you get it from?

Hulkein
04-23-2004, 01:22 AM
Hey, I might be wrong here but when I was testing it earlier I also noticed that it input just 'dark' for the race instead of dark elf. I used quotes, but I think it might've been thrown off because the day today is "day of the huntress".. Am I doing something wrong here?

Testing the new one, this is what my input looks like, may give you a clue why only 'dark' was input instead of dark elf.

.jail rogue "wehnimer's landing" 5104 "day of the huntress" "dark elf" male myname olaesta

[Edited on 4-23-2004 by Hulkein]

Jonty
04-23-2004, 01:26 AM
Originally posted by Hulkein
I used quotes, but I think it might've been thrown off because the day today is "day of the huntress"

Yeah, I think that's the problem. I've never tried to get around that though. What I could do is change the order of the variables so that any answers that might require more than one word won't be together.

[Edited on 4-23-2004 by Jonty]

Hulkein
04-23-2004, 01:31 AM
That's what I was thinking too.

Thanks for the help man.

Jonty
04-23-2004, 01:36 AM
Originally posted by Hulkein
That's what I was thinking too.

Thanks for the help man.

It still put out dark instead of dark elf.

Hmm...

Hulkein
04-23-2004, 01:42 AM
Update -

[Script]>
The muffled voice of a guard echoes from beyond the cell door, "Roll call! Time to make sure you're still alive and causing me grief! , ANSWER me these questions in order, one at a time, and within two minutes. What is your race, the number of the hour of the day in elven time, and your gender?"
answer dark elf
[Script]>

MATCH with no match string specified!
The muffled voice of a guard echoes from beyond the cell door, "Check!"


---

Apparently it does respond with dark elf in certain situations, but I ran into an error for ya :whistle:

Hulkein
04-23-2004, 01:44 AM
Another instance it worked for the race -

[Script]>
The muffled voice of a guard echoes from beyond the cell door, "Very good! Keep on the straight and narrow and you might get out of here before you die of old age." You hear some snickering as the footsteps of the guard echo away.
[Script]>
The muffled voice of a guard echoes from beyond the cell door, "Roll call! Time to make sure you're still alive and causing me grief! , ANSWER me these questions in order, one at a time, and within two minutes. What is your race, today's month, and your name?"
answer dark elf
[Script]>answer olaesta
The muffled voice of a guard echoes from beyond the cell door, "Check!"
[Script]>answer name
The muffled voice of a guard echoes from beyond the cell door, "Check!"
[Script]>
The muffled voice of a guard echoes from beyond the cell door, "Check!"

Jonty
04-23-2004, 01:53 AM
I found the problem with the dark elf being answered as dark. It's because when you save the value of a variable, it only saves the text up to the first white space unless you put quotation marks around the variable. Fixing that now.

As for the match error you posted, I don't know what that's from yet. It worked fine when I tested the same question order that you posted.

Jonty
04-23-2004, 02:07 AM
Originally posted by Hulkein
Apparently it does respond with dark elf in certain situations, but I ran into an error for ya :whistle:

That's because the variable wasn't copied to the save variable, it was just outputted as is. The script saves the answer to the last question, so I had to put quotation marks around the variables that it saved.

I looked over the script and I tested it with the same order of questions where you got the match error. But I found no errors of that sort in the script.(The type of error displayed is easy to look for since there's only 5 sections with matches in it.)

Fixed variables:

[Edited on 4-23-2004 by Jonty]

Nakiro
04-23-2004, 03:11 AM
as a little trick I learned, if you're wanting to use spaces from a user variable, you can designate a space with a period. So you can put dark.elf .

Nakiro
04-23-2004, 03:17 AM
Jonty, if you're around send me the latest copy of the script so I can look over it. I'll see if there is anything else I can do for it.

Oh and you shouldn't have to change the order to accomidate multiple things. Day.of.the.huntress will be one variable and won't affect anything else.

Jonty
04-23-2004, 03:27 AM
Originally posted by Nakiro
Jonty, if you're around send me the latest copy of the script so I can look over it. I'll see if there is anything else I can do for it.

I attached it to my last post.

Oh and you shouldn't have to change the order to accomidate multiple things. Day.of.the.huntress will be one variable and won't affect anything else.

Yeah, I was just just testing it out because I didn't know why the variable for "dark elf" was being cut off to just dark in certain instances. Though, as I've already posted, I found the problem.

When race is asked as the last question, the save variable is set to the input variable that has the race in it.

Lets say %6 = "dark elf"

When race is the last question round3 matches to a section that says:

save %6

For some reason, this only saves the text up to the first white space. So now, %s = "dark" instead of dark elf.

To bypass this you must use the following syntax instead:

save "%6"

This will save the entire original string "dark elf".

So to fix this problem, I added quotation marks around the variables where they were being assigned to the save variable.

Jonty
04-23-2004, 03:28 AM
Originally posted by Nakiro
as a little trick I learned, if you're wanting to use spaces from a user variable, you can designate a space with a period. So you can put dark.elf .

Yeah, I know. We've been doing it with quotation marks instead though.

ie "dark elf"

Drew2
04-25-2004, 06:17 PM
The muffled voice of a guard echoes from beyond the cell door, "Roll call! Time to make sure you're still alive and causing me grief! Tayre, ANSWER me these questions in order, one at a time, and within two minutes. What is today's month, today's day of the week, and the number of the hour of the day in elven time?"
time
[Script]>

GOTO label not found!

Today is Restday, day 25 of the month Olaesta in the year 5104. It is 18:15 by the elven time standard. It is currently late afternoon.


You all lose.

Hulkein
04-25-2004, 06:18 PM
Did you type 'inquire' in between that series and the last series? I think that messes up the script somehow.

Whenever I type inquire to check out how much time I have left it hangs up.

Jonty
04-25-2004, 06:25 PM
Fixed.

There was a '2' in the script that was supposed to be deleted.

Bobmuhthol
04-25-2004, 06:25 PM
<<GOTO label not found!>>

OH BOO HOO.

Jonty
04-25-2004, 06:25 PM
Originally posted by Hulkein
Did you type 'inquire' in between that series and the last series? I think that messes up the script somehow.

Whenever I type inquire to check out how much time I have left it hangs up.

What messaging does inquire give you?

Hulkein
04-25-2004, 06:28 PM
Didn't copy it when I was last in.. I'll post it next time I get arrested.

Drew2
04-25-2004, 06:32 PM
[Script]>inquire
You bang on the door and ask how much time is left of your sentence. After a moment, a guards voice gruffly echoes back, "About 58 minutes, if you're on your best behavior, of course."

Reyek
04-25-2004, 08:30 PM
The problem with a "jail" script is that there are something like 524 possible combinations of matches. if you just do it to answer all possibilities with a small set of matches it gives of a serious screen scroll to peope standing around the place with you. I wrote one back when i meator swarmed Vaalor and my other char was watching. whenever it started hella scroll when you get the wrong answers. it would be a killer script to write to do all possibilites of matches ( something like 524 or some ungodly figure like that) but it would only work in stormfront or escape. unless some programmer *cough* Kranar *cough* was able and willing to write a patch to remove the match limit in wizard. But if you dont care about screen scroll and people KNOWING your scripting then by all means do it the cheap easy way.

Hulkein
04-25-2004, 08:32 PM
.... This one works in wizard without screen scroll.

Bobmuhthol
04-25-2004, 08:40 PM
Uh, we've already established that it can be done, as it has been.

Fengus
04-25-2004, 10:51 PM
Originally posted by Jonty

Originally posted by Fengus
Spaced removed, my text editor have a feature to remove trailing spaces and there were tons.

Cool, where'd you get it from?

Textpad, textpad.com

Nakiro
04-26-2004, 12:54 AM
Originally posted by Reyek
The problem with a "jail" script is that there are something like 524 possible combinations of matches. if you just do it to answer all possibilities with a small set of matches it gives of a serious screen scroll to peope standing around the place with you. I wrote one back when i meator swarmed Vaalor and my other char was watching. whenever it started hella scroll when you get the wrong answers. it would be a killer script to write to do all possibilites of matches ( something like 524 or some ungodly figure like that) but it would only work in stormfront or escape. unless some programmer *cough* Kranar *cough* was able and willing to write a patch to remove the match limit in wizard. But if you dont care about screen scroll and people KNOWING your scripting then by all means do it the cheap easy way.

Just for fun, I also managed to write up the 500+ match possiblities (and then some) when I was brainstorming this script.

Hulkein
04-26-2004, 05:17 PM
Ok, script doesn't work for me now in certain situations. -

The muffled voice of a guard echoes from beyond the cell door, "Roll call! Time to make sure you're still alive and causing me grief! , ANSWER me these questions in order, one at a time, and within two minutes. What is today's month, the year, and your profession?"

38
[Script]>
The muffled voice of a guard echoes from beyond the cell door, "Hey there! You better start listening up a little quicker when I do roll-call, ! This will extend your sentence...and if you don't answer up quick enough to suit me next time either, it'll extend it even more!" You then hear the sound of fading footsteps as the guard walks away.
[Script]>answer olaesta
The muffled voice of a guard echoes from beyond the cell door, "Roll call! Time to make sure you're still alive and causing me grief! , ANSWER me these questions in order, one at a time, and within two minutes. What is your profession, the number of the hour of the day in elven time, and the year?"
[Script]>answer 5104
The muffled voice stays quiet, as though your answer was not satisfactory.
[Script]>answer 5104
The muffled voice stays quiet, as though your answer was not satisfactory.
[Script]>

38
The muffled voice stays quiet, as though your answer was not satisfactory.
[Script]>
* Dessedemona just bit the dust!
[Script]>
The muffled voice of a guard echoes from beyond the cell door, "Hey there! You better start listening up a little quicker when I do roll-call, ! This will extend your sentence...and if you don't answer up quick enough to suit me next time either, it'll extend it even more!" You then hear the sound of fading footsteps as the guard walks away.

Hulkein
04-26-2004, 05:21 PM
Now here is an example of it working.. I re-started it, same info

-----

.jail rogue "wehnimer's landing" 5104 volnes male "dark elf" myname olaesta

[Press the ESCape key to abort script.]

0
[Script]>

1

61
The muffled voice of a guard echoes from beyond the cell door, "Roll call! Time to make sure you're still alive and causing me grief! , ANSWER me these questions in order, one at a time, and within two minutes. What is your profession, your race, and the number of the hour of the day in elven time?"
[Script]>time
answer rogue
Today is Volnes, day 26 of the month Olaesta in the year 5104. It is 17:20 by the elven time standard. It is currently late afternoon.
[Script]>answer dark elf
The muffled voice of a guard echoes from beyond the cell door, "Check!"
[Script]>answer 17
The muffled voice of a guard echoes from beyond the cell door, "Check!"
[Script]>

61
The muffled voice of a guard echoes from beyond the cell door, "Check!"
[Script]>

Jonty
04-26-2004, 07:00 PM
It's the same problem I have with the script. What's happening is the text with the question doesn't go through all three match sections.

As you posted it asked " What is today's month, the year, and your profession?" first, and you did not answer. But the script only went through the first two sections preparing the first two answers, the month and year, and hung in the section "round3" waiting to match the text of the last question.

Then when the next set of questions came up, "What is your profession, the number of the hour of the day in elven time, and the year?" the script was able to match the "round3" section's text with the last question of this second set, the year.

So the script proceeded to answer the first two questions of the first set and the last question of the second set.

month
year
year

Sorry, but I can't fix this.

Bobmuhthol
04-26-2004, 07:03 PM
Which makes Nakiro's original script better because it works.

Jonty
04-26-2004, 07:17 PM
Originally posted by Bobmuhthol
Which makes Nakiro's original script better because it works.

...

Um, it's the same as his original script minus some typos and it gets the time for you. I had the same problem with the original script. Nothing I did changed the way it works to get the text of the questions....

[Edited on 4-26-2004 by Jonty]

Bobmuhthol
04-26-2004, 07:23 PM
I have no problem with Nakiro's script. Your fixing of typos must suck because yours doesn't work.

Jonty
04-26-2004, 07:38 PM
Originally posted by Bobmuhthol
I have no problem with Nakiro's script. Your fixing of typos must suck because yours doesn't work.

Whatever you say. You'll see how much it works when they ask:

profession first, year second
profession first, time second
profession first, gender second
profession first, name second
profession first, month second
profession first, race second

Or when they ask you for an answer that consists of two words as the last question.

Nakiro
04-27-2004, 12:48 AM
Okay due to some complaints I redid the script and did further testing.

Mainly I reordered the way the questions are asked so it makes a bit more sense, created an echo so you can double check that your info is correct, and fixed an error in the latest copy (was missing a signle letter).

Additionally, there are two versions now, one for Wiz and one for SF. This is because the wizard only works on variables recognized as %S where as SF functions on variables recognized as %s%

The next two posts will have the finalized versions up.

if you experience any errors, please post them here and I will look at them!

Thanks

Nakiro
04-27-2004, 12:51 AM
For Wizard

#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

Hulkein
04-27-2004, 12:51 AM
Thanks man. Appreciate the work.

Nakiro
04-27-2004, 12:51 AM
For Stormfront

#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

Nakiro
04-27-2004, 12:53 AM
Originally posted by Hulkein
Thanks man. Appreciate the work.

Gladly.

Jonty
04-27-2004, 01:29 AM
Originally posted by Nakiro
and fixed an error in the latest copy (was missing a signle letter).

What was the letter and where should it have been, BTW?

Nakiro
04-27-2004, 01:37 AM
Not sure now, but it was one of the #a: labels, that didn't have an "a" in it.

Jonty
04-27-2004, 02:00 AM
Originally posted by Nakiro
Not sure now, but it was one of the #a: labels, that didn't have an "a" in it.

Yeah, I think it was 18, Hulkain had a problem and posted it here, so I fixed that one and re posted it.

Nakiro
04-27-2004, 05:23 AM
Well either way, the script wouldn't run properly in both front ends, so I had to fix it.