Hello, I know this has been discussed before but it was really old threads I came across. I am trying to be able to send commands directly to another char, without relying on "in mud" triggers like saying something and the other char responding.
Is it doable? I know the ":" that sends to all but sending to a specific char is really what Im after. Thanks!
Sending commands to another char
- SlySven
- Posts: 1007
- Joined: Mon Mar 04, 2013 3:40 pm
- Location: Deepest Wiltshire, UK
- Discord: SlySven#2703
Re: Sending commands to another char
You will need to incorporate the name of the profile you want to send the message/command to - and to do that you will need to develop a protocol that allows each profile to be made aware of the other profiles that are currently active. The ":" alias makes use of the raiseGlobalEvent(...) which you will probably want to use directly; you will probably need to raise such an event in handlers for the sysLoadEvent and sysExitEvent so that each profile is made aware of (and keeps a track of) the starting and ending of other profiles...