Page 1 of 1

Send a Text Line to All Windows - With an Alias

Posted: Sat May 18, 2019 11:12 pm
by Erik Tucker
Hey all,

I really enjoy Mudlet and was hoping someone could help me with a small problem I have. I play a MUD that allows multi-playing. I am trying to get multiple players to do syntaxs at the same time. It is dangerous when I have to click between each window. Is there a way to type a command (alias) with some following text and have it send to the MUD on every session currently open?

Example of what I need:

Type ->

party jump river;party beach

On all three screens ->

jump river
You jump into the river and are swept out into the ocean. (sent from MUD)
beach
You now see a small beach you didn't before. (sent from MUD)
You swim beach. (sent from MUD)

I appreciate any help.

Erik

Re: Send a Text Line to All Windows - With an Alias

Posted: Thu May 23, 2019 12:31 am
by SlySven
I think there is an alias defined and included by default in recent Mudlet versions that sends it's arguments to all profiles that are open - I vaguely recall something about it using an alias of just a ":"...

... it probably uses the raiseGlobalEvent(...) function to send its arguments to all profiles.