This one uses ChanServ. So if ChanServ isn't available on your server, don't bother using this.
Usage: !info [channel]
Tested and working with mIRC 6.17 Hasn't been tested on any other version.
on *:NOTICE:*:?: {
if ($nick == %infogiver) {
write channelinfo.txt $1-
.timer 1 2 close -m %infogiver
.timer 1 3 unset %infogiver
}
else { halt }
}
on *:TEXT:*:?: {
if ($nick == %infogiver) {
write channelinfo.txt $1-
.timer 1 2 close -m %infogiver
.timer 1 3 unset %infogiver
}
else { halt }
}
on *:TEXT:!info*:#: {
set %infogiver ChanServ
msg %infogiver info $$2
msg $chan Processing... Please wait.
.timer 1 3 play $chan channelinfo.txt
.timer 1 4 write -c channelinfo.txt
}