Hallo A Hylian Human wellcomo to hawkee.com :)
good idea this snipet ;)
i culd suggest you to short it from:
alias ChanInfo {
if ($me ison $1) {
echo -ta ----------
echo -ta Channel Info for $1 at $asctime(hh:nn:ss tt)
echo -ta Current Modes: $chan($1).mode - Current Topic: $chan($1).topic
echo -ta Total Users: $nick($1,0) - (&) Admins: $nick($1,0,a,ohvr) - (@) Ops: $nick($1,0,o) - (%) HalfOps: $nick($1,0,h) - (+) Voices: $nick($1,0,v) - Regulars: $nick($1,0,r)
echo -ta ----------
}
else {
echo -ta ----------
echo -ta Channel Info for $chan at $asctime(hh:nn:ss tt)
echo -ta Current Modes: $chan($chan).mode - Current Topic: $chan($chan).topic
echo -ta Total Users: $nick($chan,0) - (&) Admins: $nick($chan,0,a,ohvr) - (@) Ops: $nick($chan,0,o) - (%) HalfOps: $nick($chan,0,h) - (+) Voices: $nick($chan,0,v) - Regulars: $nick($chan,0,r)
echo -ta ----------
}
}
to
alias ChanInfo {
if ($active ischan) {
echo -ta ----------
echo -ta Channel Info for $chan at $asctime(hh:nn:ss tt)
echo -ta Current Modes: $chan($chan).mode - Current Topic: $chan($chan).topic
echo -ta Total Users: $nick($chan,0) - (&) Admins: $nick($chan,0,a,ohvr) - (@) Ops: $nick($chan,0,o) - (%) HalfOps: $nick($chan,0,h) - (+) Voices: $nick($chan,0,v) - Regulars: $nick($chan,0,r)
echo -ta ----------
}
}
this becouse you don't need the if ($me ison $1) becouse if you aren't in that chan its will not work. so now you just need type /chaninfo
try that ;)
Jah Bless´´´