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
Spott
Newbie


Joined: 05 Dec 2003
Posts: 3
Location: USA

PostPosted: Fri Dec 05, 2003 12:21 pm   

Multiple windows, on one character?
 
I am attempting to create a set of multiple windows, separating the various chats in Realms of Despair, from the main window.

For Example, when the following string shows up

Destai guildtalks 'hello everyone.'

I want that to appear in it's own window called "Guild" along with any other messages under the "guildtalk" channel, and not in the main window. I have accomplished this, somewhat, with triggers and the #CAPTURE and #GAG commands.

The problem i run into, is this:
how can I make it so that anything typed in the command line, in these chat/message windows, will be sent to the mud, through the main window, if need be, prefaced by the string that is the same as the name of the window, followed by a space? in this case, if i typed "hello world" in the command line of the "guild" window, how could i make it automatically send "guild hello world" to the MUD?

Thanx in advance for your help, i am having no luck at all with this.

Spott
Reply with quote
Toetag
Magician


Joined: 10 Oct 2000
Posts: 356
Location: USA

PostPosted: Fri Dec 05, 2003 2:39 pm   
 
you can try to create a trigger in the main window that responds to a #WIN command issued from the sub-windows.

for example, in the guild window send #WIN <main window name> GuildWindow: tell john hello

trigger on "GuildWindow:" in the main window then issue the command.


my question is why are you typging in the "Guild" window at all, if all it's doing is displaying your tells, just keep typing in the main command line and watch the windows.
Reply with quote
Spott
Newbie


Joined: 05 Dec 2003
Posts: 3
Location: USA

PostPosted: Tue Dec 09, 2003 3:32 pm   
 
i am typing in the guild window, because in my layout, i have several different "tell displaying windows" all stacked and tabbed, and it's easiest to reply to a guild message while viewing the guild window, and to reply to a chat message while viewing the chat window...and as i have to click on them to vies the different windows, the display windows often have the focus.
Reply with quote
Toetag
Magician


Joined: 10 Oct 2000
Posts: 356
Location: USA

PostPosted: Tue Dec 09, 2003 3:56 pm   
 
okay. not enough screen size to see all the windows.

Does my suggestion help?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Dec 09, 2003 6:49 pm   
 
In each window, alias ' to the desired command. When using the alias, leave a space after the '.
#AL ' {guild}
' hello world
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