Dead channel parter

By Acclamator on Feb 01, 2009

This script will part any channel that has 3 or fewer people in it, i use it for parting channels im opped in that are dead at the moment.
usage:
/scan
/scan scans the channels and parts any that have 3 or fewer people in them.

alias scan { set %idle $chan(0) | while (%idle >= 1) { if ($nick($chan(%idle),0) <= 3) { part $chan(%idle) } | dec %idle 1 } }

Comments

Sign in to comment.
PATX   -  Jun 14, 2009

meh sometimes i like being i cans with only 3 ppl. good thing is is not auto, or i really hate it.

 Respond  
Kirby   -  Feb 05, 2009

ROFL, I didn't know there was a chat!

 Respond  
PuNkTuReD   -  Feb 05, 2009

lmao i dont know how ive never seen that hahahahahaha

 Respond  
napa182   -  Feb 05, 2009

PunkTuReD Said:

hawkee needs a chatbox on its homepage or somethin

um http://www.hawkee.com/chat.php

 Respond  
Prelude   -  Feb 05, 2009

Unfortunately every hawkee.com channel I've ever visited It's nothing but idlers... prolly cause they are on such big networks where no one pays attention, smaller network would be better or even as some suggested its own server ;o. chatbox on front page would be great...although with some of the users here that mite be a problem =\

 Respond  
Acclamator   -  Feb 05, 2009

i will try the idle times idea, i think i will have it scan for 2 minutes idle, thank you

 Respond  
Aucun50   -  Feb 02, 2009

hawkee.com on Undernet

 Respond  
Cheiron   -  Feb 02, 2009

it would require a java script and a host server to make the chat room on this site which is easy enough as you only have to embed the code to the site. the issue is having the resources and data storage/bandwidth/traffic allowance from the host to be able to do it. nice idea though .. having a java chat room but it would have to be embedded onto this site and not irc accessable.

 Respond  
PuNkTuReD   -  Feb 02, 2009

im sure users here have done so already its just a matter of everyone knowing where to go etc

 Respond  
fraguk   -  Feb 02, 2009

No need for hawkee to have its own network imo, just make a channel hawkee on 1 of big networks that are already out there ?.

 Respond  
PuNkTuReD   -  Feb 02, 2009

how much is a dedi? lol

 Respond  
Firstmate   -  Feb 02, 2009

Try checking the idle time for each person. Make some sort of system for determining if the channel is dead.

E.g. if only 2 of 20 people are not idle = dead

 Respond  
Acclamator   -  Feb 02, 2009

a hawkee irc net sounds like an amazing idea

 Respond  
Kirby   -  Feb 01, 2009

hawkee needs a chatbox on its homepage or somethin
Eh, there's notices, so it's fairly easy to check what's up with everything you've commented or other people have commented on your scripts...
Well, there is IRC, but so many people are scattered across different networks.
Maybe an IRC network irc.hawkee.com, instead of a chatbox? :D

 Respond  
PuNkTuReD   -  Feb 01, 2009

hawkee needs a chatbox on its homepage or somethin

 Respond  
Korvin   -  Feb 01, 2009

=] i wasnt sure

 Respond  
Kirby   -  Feb 01, 2009

Korvin: I said "when I first clicked on this,...", ;I meant that's what I thought first, but later I realized it was different than what I had expected.
sorry :p

 Respond  
Acclamator   -  Feb 01, 2009

Sorry for misinterpreting you korvin.. this script works well for what i use it for, but you guys are right about the idle times, i need to expand these

 Respond  
PuNkTuReD   -  Feb 01, 2009

even with 3 people doesnt mean the channel is dead,
howabout 3 people with all of their idle times over 5 minutes

 Respond  
Korvin   -  Feb 01, 2009

i know, i was explaining it to kirby. =]

 Respond  
Acclamator   -  Feb 01, 2009

well yeah korvin, you kinda just repeated what i said in the description. If you guys think a timer for idling is a god idea, then i will make one.

 Respond  
Korvin   -  Feb 01, 2009

all this does is go through all of you channels, and if the channel has less than 3 users, it parts it...

 Respond  
Kirby   -  Feb 01, 2009

When I first clicked on this, I thought it would start timers in which during that period of time, if nobody talked (even if the channel has 100+ people in it), you would part. XD But it wasn't what I expected

I tried it and works fine; although I wouldn't find it useful, the script is very concise so /me rates 6.0.

 Respond  
Aucun50   -  Feb 01, 2009

Looks neat

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.