Do you know the trap channels like: #dontjoinitsatrap?
And do you wana escape them?
Then use this script.
If the bot say "YOU HAVE 1 MINUTE TO PART THE CHANNEL"
Then you automatic leave the channel.
Useful for bots.
Tested on Rizon Network
on *:text:*YOU HAVE 1 MINUTE TO PART THE CHANNEL*:#dontjoinitsatrap:{
msg $chan WHAHHA ESCAPE TIME!!!
part $chan
}
i had this one made for me a while back which is useful for channels like this..
its alot more functional and has much easier interface for adding/removing channels
menu * {
Trap Channels
.Add : set %trap $addtok(%trap,$$?="Enter trap channel name",44)
.Remove : set %trap $remtok(%trap,$$?="Enter trap channel name",1,44)
.List : echo -ta Trap channels are %trap
}
on me:*:join:%trap:{
$+(.timer,part,$chan) -m 0 500 part $chan
}
on me:*:part:%trap:{
$+(.timer,part,$chan) off
}