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
radboi22
Novice


Joined: 19 Jan 2008
Posts: 30

PostPosted: Sat Jan 19, 2008 4:17 am   

Need Help running Two Characters
 
Hi, I have two characters, I need one of the characters to send information to the other character without sending lines to it's screen, is there a way to send it to a seperate parse window, and have the character recieve the information off that? Thanks for your help =D
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Jan 19, 2008 4:18 am   
 
What kind of information? If you want to set variables, just use :windowname:#var whatever whatever. If you want to fire triggers, use :windowname:#fire whatever.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Jan 19, 2008 4:44 am   
 
With variables, you really don't need to send anything unless you're trying to trigger off it. Using the @window.varname syntax, you can access it directly from any character.

Also, Fang got lost again. Mr. Green Though his :windowname: advice is still valid for other reasons, #FIRE = new CMud command to force triggers to execute despite not matching a particular line of text. In ZMud, to make a trigger fire you will need to send a line of text to the window.
_________________
EDIT: I didn't like my old signature
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Jan 19, 2008 5:11 am   
 
Bah. I'm constantly doing that these days :(

I would assume, however, that :windowname:#say whatever;#gag will have the same effect as #fire - the text will show, fire triggers, and then immediately be removed.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
radboi22
Novice


Joined: 19 Jan 2008
Posts: 30

PostPosted: Sat Jan 19, 2008 5:24 am   
 
So you can Access Another windows Variables.. That's wonderfull, ty
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