mIRC Home    About    Download    Register    News    Help

Print Thread
#161569 09/10/06 02:16 AM
L
learn3r
learn3r
L
clearall {
var %x = $chan(0)
while (%x) {
clear -c $chan(%x)
dec %x
}
}


What is wrong w/ this?

#161570 09/10/06 02:40 AM
Joined: Dec 2002
Posts: 1,536
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,536
if you're trying to clearall on all channels, does:

/clearall -n work for you?

From the help file:

/clearall [-snqmtgua]
Clears the buffers of the specified windows, where s = status, n = channel, q = query, m = message window, t = chat, g = finger, u = custom, a = all windows on all connections.


Those who fail history are doomed to repeat it
#161571 09/10/06 03:30 AM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
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...


Link Copied to Clipboard