alias ame {
;creates the alias /ame
var %i 1
;creates a variable called "%i" that will be unset at end of script. its value is set as 1
while (%i <= $chan(0)) {
;while the value of %i is less than all the channels i am in.
.describe $chan(%i) $1-
;performs /me is channel %i
echo $chan(%i) * $me $1-
;echos * <nick here> <message here> in channel %i
inc %i
;increases the value of %i
}
}