Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
scorapntula
Newbie


Joined: 21 Aug 2002
Posts: 3

PostPosted: Wed Aug 21, 2002 1:11 am   

Setting up a status window to capture info
 
I want a script that will capture the quest info that the quest master says and place it into a separate window. The problem I see is that the questmaster says the same thing to everyone (except the specific quest info) and I only want my quest info put in the window. The only different thing he says is "Thank you, brave (whoever) for accepting the quest" before he actually gives it.

Is there a way to use this line to turn the capture on and somehow turn it off after he finishes speaking?

Very Confused (you may be too),
Scorpantula
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Aug 21, 2002 1:38 am   
 
#STW {%replace(@QuestInfo,"|",%cr)}
#TR {^Thank you, brave (%w) for accepting the quest} {#IF ("%1"=%char) {#T+ QuestCapture}}
#CLASS QuestCapture {disable}
#TR {seek item (%w)} {#ADDITEM TempQuest {Seek "%1"}}
#TR {kill mob (*)} {#ADDITEM TempQuest {Kill "%1"}}
#TR {around location (*)} {#ADDITEM TempQuest {Near room "%1"}}
#TR {in zone (*)} {#ADDITEM TempQuest {In zone "%1"}}
#TR {time limit (%d)} {#ADDITEM TempQuest {Time limit %1, currently %time("hh:mm:ss")}
#TR {get ye hence or whichever of above was last one} {#T- QuestCapture;QuestInfo=TempQuest;TempQuest=""}
#CLASS 0

Now that is completely non-specific, but then your post was equally vague. Be happy I didn't just answer yes to the single question you asked.
Reply with quote
scorapntula
Newbie


Joined: 21 Aug 2002
Posts: 3

PostPosted: Wed Aug 21, 2002 2:24 am   
 
>Be happy I didn't just answer yes to the single question you asked.

Oh, praise you and your answer mighty Vijilante
Reply with quote
scorapntula
Newbie


Joined: 21 Aug 2002
Posts: 3

PostPosted: Wed Aug 21, 2002 2:31 am   
 
Thanks
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net