Global ame and amsg (for multi servers)
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 |
| Scores Submitted | 0 |
| Date Added | Mar 07, 2008 |
| Last Updated | Mar 07, 2008 |
| Tags | alias ame amsg |
Introduction
So I've got an idea, how to extend usage of ame command.
Later on, I've added global amsg option too, it can be handy too.
usage is simmilar as ame and amsg commands, I named new ones as gme and gmsg to keep the analogy and g instead of a to point it's global :D
So,
/gme Beware I is in da house !!!
should result something like this
* sioux Beware, I is in da house !!!
* @IzNoGuD Beware, I is in da house !!!
* @KaiserSouze Beware, I is in da house !!!
Those are three my nicks on three different servers.
mIRC Snippet:
Global ame and amsg (for multi servers)
Posted on Mar 7, 2008 3:34 pm
Posted on Mar 7, 2008 3:34 pm
Okay, but just note that since $scid(0) counts only opened serv er windows, any server windows you have open that aren\'t connected result in an error and halts the script. I know that since I used to use a similar method to what you have.
Therefore, I recommend you add some sort of checking to the script like if ($network != $null) { amsg } or something of that sort.
Therefore, I recommend you add some sort of checking to the script like if ($network != $null) { amsg } or something of that sort.
mIRC Snippet:
Global ame and amsg (for multi servers)
Posted on Mar 7, 2008 4:01 pm
Posted on Mar 7, 2008 4:01 pm
Thanks on suggestion Roy911, haven\'t notice that problem .
I\'ve added network check and tested it, works good even with opened, not connected server windows :D
I\'ve added network check and tested it, works good even with opened, not connected server windows :D
mIRC Snippet:
Global ame and amsg (for multi servers)
Posted on Mar 7, 2008 4:08 pm
Posted on Mar 7, 2008 4:08 pm
Actually, I personally use the following, feel free to post:
alias gmsg { scon -at1 amsg $1- }
alias gme { scon -at1 ame $1- }
(Test it btw, I just typed it up on a whim.)
alias gmsg { scon -at1 amsg $1- }
alias gme { scon -at1 ame $1- }
(Test it btw, I just typed it up on a whim.)





