All pastes #289553 Raw Edit

Anonymous

public text v1 · immutable
#289553 ·published 2006-12-23 07:11 UTC
rendered paste body
alias amsg { 
  if (!$1) echo $color(info) * /amsg: Invalid syntax [/amsg <msg>] 
  elseif ($1) { 
    var %t = 1
    while (%t <= $scon(0)) { 
      scid %t
      var %c = $chan(0)
      while (%c) {
        msg $chan(%c) $1-
        dec %c
      }
      inc %t
    }
  }
}
alias ame { 
  if (!$1) echo $color(info) * /ame: Invalid syntax [/ame <action>]
  elseif ($1) {
    var %t = 1
    while (%t <= $scon(0)) { 
      scid %t
      var %c = $chan(0)
      while (%c) {
        describe $chan(%c) $1-
        dec %c
      }
      inc %t
    }
  }
}