Send a Text Line to All Windows - With an Alias

Post Reply
Erik Tucker
Posts: 2
Joined: Sat May 18, 2019 10:53 pm

Send a Text Line to All Windows - With an Alias

Post 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

User avatar
SlySven
Posts: 1019
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

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

Post 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.

Post Reply