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
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Fri Jun 27, 2003 11:35 pm   

Capturing to a window
 
Hello all! Haven't posted here in a bit but I got an idea and you should be able to figure it out pretty easy. In DR when I ask my guild leader what I need to level he tells me this....

You need some work on your primary armor skill, primary weapon skill, general survival skills and general lore skills, and then I'll think about promoting you to level 2."
"You also need to work on shield usage, parry ability, multiple engaged opponent, hiding, lockpicking, stalking, stealing, mechanical lore, and then you might be ready to advance."

As I work on things when that skill reaches the right level it will be taken off from what he says. But all of these are what I will need. I want to make it that it will capture what he says and puts it into another window.

So if I talked to him again it would capture:
primary armor skill, primary weapon skill, general survival skills, general lore skills, shield usage, parry ability, multiple engaged opponent, hiding, lockpicking, stalking, stealing, mechanical lore

and put all that in another window. Pretty simple? It should be. Thank you much in advance.
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sat Jun 28, 2003 12:30 am   
 
Hey rob, This is what I did to make this work hope it helps...


#CLASS {rob}
#TRIGGER {~"You need some work on your} {#T+ record}
#TRIGGER {and then you might be ready to advance.} {#T- record}
#CLASS 0

#CLASS {rob|record}
#TRIGGER {(*)} {#win rob "%1"}
#CLASS 0
Reply with quote
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Sat Jun 28, 2003 12:54 am   
 
That captured EVERYTHING from the mud from there on into that window.
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sat Jun 28, 2003 6:55 pm   
 
Yeah, pretty much. It was just an example of one way.
Look in the finished scripts there are acouple that alow you to capture multiple lines then just send the results to your new window.
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