Multiple Server AME

By ReQueST on Apr 03, 2005

Same as the /aamsg i posted earlier, this is just the /aame version.

alias aame {
  var %a = 1
  while $scon(%a) {
    var %b = $ifmatch, %c = 1
    scid %b
    while $chan(%c) {
      describe $chan(%c) $$1- [AME]
      inc %c
    }
    inc %a
  }
  scid -r
}

Comments

Sign in to comment.
Zachery   -  Sep 25, 2005

nice but /scid -a ame works

 Respond  
Sigh_   -  Apr 04, 2005

Not quite, /scon re-evaluates its parameters (similar to a timer) so that if you typed \"/aame text | more text\" the \'more text\' would be interpreted as a command. On the right track though, something like alias aame { set -ln %a $1- | scon -at1 ame % $+ a } would do

 Respond  
DarthReven   -  Apr 03, 2005

i believe \"/scon -a /ame $1-\" would have done the same but nice code

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.