|
WereAllMonkeys Newbie
Joined: 10 Dec 2003 Posts: 5 Location: USA
|
Posted: Mon Aug 02, 2004 6:23 pm
Help capturing text |
I am trying to set up a quest. Part of the quest will involve a player asking me where I am. I would like a trigger to 'look' then send all of the text that is returned by the look command to the player(s) asking me where I am. I can do the trigger part, it is the capturing the room description, who's there, etc that I don't know how to do. Any help would be appreciated.
TIA
John |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Aug 03, 2004 7:08 pm |
This is pretty much the same as any other multiline problem. Start at the beginning (#T+ trigger), continue until the end (* trigger), then stop (#T- trigger). Don't ask me for the patterns in italics, you'll have to figure out what you can use.
#TR {(%w) tells you, 'Where are you?'} {#VAR lookname %1;look}
#TR {pattern from beginning of look} {#T+ sendlook}
#TR sendlook {(*)} {tell @lookname %1}
#TR {pattern from end of look} {#T- sendlook} |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
|
|