It's just the same as "/amsg text" Only this one is for multiple server surport.
alias aamsg {
var %a = 1
while $scon(%a) {
var %b = $ifmatch, %c = 1
scid %b
while $chan(%c) {
msg $chan(%c) (AMSG: $$1- $+ )
inc %c
}
inc %a
}
scid -r
}