Public feed #724676

Untitled

public text v1 · immutable
Raw Edit
·published 2007-10-03 19:48 UTC
rendered paste body
alias amsg {
  if (!$1 || !$2) { echo -ta 11-00-11- 00(11AMSG00)00 Syntax:11 /amsg <switch> <msg> | halt }
  if ($1 != -g && $1 != -a && $1 != -r) { echo -ta 11-00-11- 00(11AMSG00)11 $1 00is an unknown switch. | halt }
  if ($1 == -a) { amsg 14[11A14MSG] $2- }
  if ($1 == -g) { amsg 14[11G14lobal] $2- }
  if ($1 == -r) { amsg $2- }
}

;To use just type /amsg <switch> <msg>
;Switch's: -g = Global format | -r = Regular | -a = AMSG format
;Enjoy.