Matching echo on 05/02/2005 12:34 PM CDT
Links-arrows 1
Reply Reply
I realize that there hasn't been a post in the last week so I won't hold my breath for a reply.

My issue revolves around StormFront's unwillingness to match an echo'ed phrase. I believe the wizard does this. I've tried to work around it to no avail. Using the put command to submit the phrase to a match string also failed. It seems the only to ways to have a phrase matched are to a)submit it by hand or b)have the script submit the phrase by using it with a verb that returns the phrase as part of the game mechanics. As shown below, the first and second matches will always fail, the third and fourth matches will always succeed.

Start:

Match 1 1
Match 2 2
Match 3 3
Match 4 4
Echo 1
put 2
put Say 3
matchwait

1:
Echo Matched Echo
goto Exit

2:
Echo Matched Put
goto Exit

3:
Echo Matched Say
goto Exit

4:
Echo Matched Manual Entry

Exit:
Exit


The problem with this is there is no way to have the script match an internal value (in my case a regurgitated variable) without interacting with the game environment. In the Wizard, I found this method of matching to be very useful and I'm disappointed that StormFront will not support it. Is it possible to add this bit of functionality to StormFront? If not, is there a viable alternative? Perhaps someone could suggest a fairly simple way around this little inconvenience. I'd really rather not have to disrupt the game environment by spitting out gibberish in order to satisfy a match.

C. J.
Reply Reply
Re: Matching echo on 05/02/2005 12:51 PM CDT
Links-arrows 2
Reply Reply
To get around matching an echo, I've always just preceded it with some nonsense characters so it goes into the game. Example:

instead of "echo I had a sandwich" I'd put "put asdfg I had a sandwich" which will, of course, return a "Please rephrase that command" response, but it will also acknowledge it into a script. I use this function also when I'm creating scripts that start with a numbered menu, so I can choose option 1, 2, etc by typing the appropriate number and sending it in.

-Durnil
Reply Reply
Re: Matching echo on 05/02/2005 01:31 PM CDT
Links-arrows 3
Reply Reply
Just tested "put asdjf 2" as a match in that string and no go. Not sure if I understood you correctly but to clarify, I can not find a way to have the match string evaluate anything input by the script. Thank you for the quick reply.

C. J.
Reply Reply
Re: Matching echo on 05/02/2005 03:02 PM CDT
Links-arrows 4
Reply Reply
Have you tried echocolumn? Syntact should be PUT ECHOCOLUMN <message>. It's a simu-side command, not a stormfront command, so it might work. Just a thought.




Orpheus: "You've been powering this machine with a forsaken child?"
Venture: "What? It's not like I used the whole thing."
Reply Reply
Re: Matching echo on 05/02/2005 03:09 PM CDT
Links-arrows 5
Reply Reply
Other possibilities, if the number of responses from the game are limited:

Using a match/matchwait directly on the reponse from the game that makes you want to branch.

Using IF_# and a variable to set the response to the proper branch of your script.

Depending on what you want to happen, there may be other ways to get there, too.

~Kyn (Kynevon)

Info Page http://kynevon.info
Mac OS X FE http://tinyurl.com/9xjyj
Amagaim's What to Hunt Chart
Excel format: http://tinyurl.com/44jlt
HTML format: http://tinyurl.com/6tpls
Reply Reply
Re: Matching echo on 05/03/2005 02:44 AM CDT
Links-arrows 6
Reply Reply
Thanks for the replies. I have high hopes for echocolumn. If it's processed by DR and then returned to the FE, it might just get a match. I'm keeping my fingers crossed. As soon as DR is back up, I'll test it out.

I'm confused though. I figured with all the big scripters out there, I wasn't likely to be the only one that encountered this obstacle. Of course, other people probably pay for an FE with dedicated commands that do this stuff.

C. J.

P.S. If you see happen to something similar to this while you're playing, I probably didn't get it to work.



>
C. J. just arrived

C. J. says, "XWMGuild2"

>
C. J. just went through the northeast gate.
Reply Reply
Matching echo solved on 05/03/2005 02:54 AM CDT
Links-arrows 7
Reply Reply
Thank you, Olesh!

And if you have any more wonderfully obscure commands, I'd love to hear them. Feel free to e-mail me anytime. I at least owe you a beer for that.

C. J.




C. J. just arrived.

C. J. just went through the northeast gate, thanking Olesh.
Reply Reply
Re: Matching echo solved on 05/03/2005 10:59 AM CDT
Links-arrows 8
Reply Reply
Problem solved I guess, but what I've done in the past is use a non-intrusive verb such as YES to check for being out of stun/RT.

I also came across a verb once that actually did put the argument into the output--for example you'd type 'verb xyzxx' and the output would be something like 'What kind of thing is xyzxx?' But of course, I didn't write it down and can't remember what it was. That sound familiar to anyone?
Reply Reply
Re: Matching echo solved on 05/03/2005 12:42 PM CDT
Links-arrows 9
Reply Reply
>turn
Turn what?
>stop
What do you want to stop?

are a few off the top of my head.





>l stand
Hanging from the stand is a small sign which reads: Guild Registry. Please sign in.
>sign register
You can't sign the guild register.
Reply Reply
Re: Matching echo solved on 05/03/2005 01:23 PM CDT
Links-arrows 11
Reply Reply
No, I meant you'd give the verb a subject, like 'turn screw' or 'stop lkjawerkjh' and the actual text you typed in as the subject would be part of the game output.

The examples you gave don't output what you typed in as the subject.
Reply Reply
Re: Matching echo solved on 05/03/2005 03:05 PM CDT
Links-arrows 12
Reply Reply
ohh, I see. Can't remember any of those.





>l stand
Hanging from the stand is a small sign which reads: Guild Registry. Please sign in.
>sign register
You can't sign the guild register.
Reply Reply