part script

By Magnetronkip on Jun 01, 2005

with a lot off help from metroid from #development we made the script
set mode .chanset +nopart on a chan and user $partall it will part all the channel execpt the channel where you have set +nopart

#############################################
### part.tcl                              ###
### Version 1.0                           ###
### By Magnetronkip and metroid           ###
### http://magnetronkip.legix-designz.com ###
### quakenet #magnetronkip                ###
### magnetronkip[at]legix-designz[dot]com ###
#############################################
setudef flag nopart
bind pub n \$partall pub:partall
proc pub:partall {nick host hand chan args} {
foreach channel [channels] {
if {![channel get $channel nopart]} {
channel remove $channel
}
}
putquick "JOIN #0,0"
putquick "NOTICE $nick :Parted all channels"
}

Comments

Sign in to comment.
F*U*R*B*Y*   -  Nov 24, 2008

Veryyyyyyyyyyyyy Good Script :)...

 Respond  
juhapuha   -  Nov 24, 2008

Parting a channel != removing it. It still parts from that channel too, where chanset +nopart exists.

 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.