Issue across network with macros

Post Reply
Prentice
Posts: 2
Joined: Wed Jan 01, 2020 3:01 pm

Issue across network with macros

Post by Prentice » Wed Jan 01, 2020 3:27 pm

We run Mojo on 2 computers on the same network 2 separate players. When I hit a macro through mojo on my PC it's activating the same key stroke on the other PC which doesn't have macro running in Mojo.

Any help please to fix this issue

Rob
Site Admin
Posts: 1217
Joined: Sat Sep 25, 2010 6:52 am

Re: Issue across network with macros

Post by Rob » Wed Jan 01, 2020 3:43 pm

Mojo is doing this because your script doesn't tell it where to send commands. If you don't tell it, by default, Mojo sends commands to all DAOCs that it has launched on your network.

To make Mojo limit itself to your PC, put this at the top of your script:

Code: Select all

Defaults
{
   Sendto(local)
}
Author of Mojo

Prentice
Posts: 2
Joined: Wed Jan 01, 2020 3:01 pm

Re: Issue across network with macros

Post by Prentice » Wed Jan 01, 2020 4:14 pm

Thanks alot :)

Rob
Site Admin
Posts: 1217
Joined: Sat Sep 25, 2010 6:52 am

Re: Issue across network with macros

Post by Rob » Wed Jan 01, 2020 5:19 pm

You're welcome. :)
Author of Mojo

Post Reply