mIRC Homepage
Posted By: harl91 mIRC remotly inserting stuff in open windows - 24/04/07 01:45 AM
I am making a game bot. Games are spawned from a .exe file that runs like you would a program run/cmd. The window is left open until the game is finished, or I type quit into that window. The thing is, i dont start the games, other players do. If I wish to kill the open game, i can simply type "quit" into that window. But what if the player that started that game, wanted to end it? Is there a way for mIRC to remolty type "quit" into that window?
When you type Quit in the window, are you using the client that's running the game, or a different client (even if it's on the same computer). If you're using a different client, then what you want is already incorporated into the game, otherwise you might try adding this to the client that's running the game.
Code:
on *:text:quit:*:{
  say $active $1
}


yes it would be a different client, and yes, there would be an on text command. What I am looking for is when someone says "kill game" mIRC writes quit INTO A DIFFERENT APPLICATION that is open. Any ideas?
© mIRC Discussion Forums