Quote:
clearall {
var %x = $chan(0)
while (%x) {
clear -c $chan(%x)
dec %x
}
}


What is wrong w/ this?


the problem with that is that your making an alias for what already exist conflict? possible. erase that and just type /clearall

in any channel and it will perform that event no matter what...