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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Toihva
Novice


Joined: 20 Nov 2004
Posts: 38

PostPosted: Mon Aug 27, 2007 3:43 am   

Sending Information to a Child Window
 
Ok, I have 3 Windows 'Chat', 'Afflictions' and 'Imperian'.

Is there a way I can display the afflictions I get into the 'Afflictions' window?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4690
Location: Pensacola, FL, USA

PostPosted: Mon Aug 27, 2007 3:45 am   
 
#CAP or #WIN both sent text to the window you choose
_________________
Discord: Shalimarwildcat
Reply with quote
Toihva
Novice


Joined: 20 Nov 2004
Posts: 38

PostPosted: Mon Aug 27, 2007 4:37 am   
 
So would it be something like..

#Win Afflictions #additem {Addiction -ENS- Eat Nightshade!}
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4690
Location: Pensacola, FL, USA

PostPosted: Mon Aug 27, 2007 5:20 am   
 
#WIN Afflictions {stuff to send}
or
#CAP Afflictions

#CAP sends the whole line, #WIN sends user defined text...
_________________
Discord: Shalimarwildcat
Reply with quote
Toihva
Novice


Joined: 20 Nov 2004
Posts: 38

PostPosted: Mon Aug 27, 2007 5:25 am   
 
Here is a better example of my desired output for one window called Combat Stats

Quote:

Parrying: Left Arm
Orb Parry: Head
Targeting: Selthis

Entourage Following: Selthis
Entourage Targeting: Ren

Heartstone: Yes
Simulacrum: No

Devilmark: Yes
Pathfinder: Yes
Torch: No
Shield: No
Aura: Yes


Then in the one titled "AFFLICTIONS" to display something like:

Anorexic -EPI- Apply Epidermal!
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Mon Aug 27, 2007 12:07 pm   
 
Commands need to be on their own line if you want them to be executed.

#Win Afflictions #additem {whatever}

won't work, firstly because you need to have braces around whatever you want to send to the afflictions window, and secondly because the text will be displayed on the screen and not parsed by the Afflicions window.

Better would be

#win Afflictions %item(@Afflictions,1)
or
#win CombatStats {Parrying: @parrying}
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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