on input event only works if you are typing and pressing enter
is their a way to make it work when other scripts are doing /msg to a channel?
The only way is to recreate the /msg alias, like :
alias msg {
echo -a /msg has been used
!msg $1-
}
Well you could make your own msg alias I guess, but really, the script is there and available to you to edit how you like. I suggest if you want a script to do a certain something when it messages the channel, write it in the script.
I'm sure there are some reasons where overriding mIRC's msg alias is neccesary, I just didn't see any in your post.
Are you answering to me because I'm suggesting to override the command or was it addressed to the OP ?
Anyway
I suggest if you want a script to do a certain something when it messages the channel, write it in the script.
I think this is the point, he doesn't want to go through all scripts and edit them manually.
The only way is to recreate the /msg alias, like :
alias msg {
echo -a /msg has been used
!msg $1-
}
What is the purpose of this !
Is it a new prefix?
I only knowed the . prefix to hide mIRC default messages
the ! prefix makes mIRC execute the built in command and not the custom one
alias me echo -a my stuff
then try to do:
/me something
and
/!me something
now u'll see the difference