Jump to content

Recommended Posts

Posted

Just wondering

 

Would it be possible to send a command from the in game chat window /restart to an external app like Autohotkey? and could one make an array of mission to choose from and then send the spesific command ?

 

Thanks

1080 ti, i7700k 5ghz, 16gb 3600 cl14 ddr4 oc

Posted

Yes, it's possible, but you need programming skills. You can use the server.lua and inside the function "on_chat(id, msg, all)" specify that if you recieve a message with the word "/XYZ" then, call a C++ .dll that do something.

 

Then with C++ you can do almost everything. I don't know how Autohotkey works but I guess that if you have the source code of that program you can easily adapt it.

 

If you are interested, see how ServMan captures messages in .lua and see how Leavu+ERI process key presses and call a .dll from lua

 

Not easy, but possible

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...