I wrote this as a little test.
It lists all hash tables and their child items, and the child item's contents.
alias co.listhash {
co.while $hget(0) .timer -m 1 1 echo -a $ $+ + $ $+ hget(&i) $ $+ + $chr(124) co.while $ $+ hget(&i,0).item echo -a $ $ $ $+ + + hget(&i,& $ $+ + i).item = $ $ $ $+ + + hget(&i,& $ $+ + i).data
}
alias -l co.while {
var %i 1
while (%i <= $1) {
$eval($replace($2-,&i,%i),2)
inc %i
}
}
Now its got me wondering, Because of the timer, would it stop a while loop from freezing mIRC? I know the parent while loop wont, but would the child while?
If anyone can understand this code... Let me know :P (Kinda complex hey?).
