<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/15543" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2023-09-07T16:06:57-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/15543</id>

		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-07T16:06:57-04:00</updated>

		<published>2023-09-07T16:06:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112147#p112147</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112147#p112147"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112147#p112147"><![CDATA[
<blockquote class="uncited"><div>I didn't change (nor check) if the initial script was ok, I'll do that if I've more time to spend.<br>Or you can contact the author</div></blockquote>thank you CC<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Thu Sep 07, 2023 4:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-09-07T15:13:56-04:00</updated>

		<published>2023-09-07T15:13:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112146#p112146</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112146#p112146"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112146#p112146"><![CDATA[
I didn't change (nor check) if the initial script was ok, I'll do that if I've more time to spend.<br>Or you can contact the author<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Sep 07, 2023 3:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-07T13:19:56-04:00</updated>

		<published>2023-09-07T13:19:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112145#p112145</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112145#p112145"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112145#p112145"><![CDATA[
the warn and kick didn't happen although waited 20mints. twice <br>then i did  .chaninfo #help and the result :<div class="codebox"><p>Code: </p><pre><code>&lt;Yusif&gt; .chaninfo #help&lt;Autobot&gt; Settings for dynamic channel #help:&lt;Autobot&gt; Protect modes (chanmode): +tn&lt;Autobot&gt; Idle Kick after (idle-kick): DON'T!&lt;Autobot&gt; stopnethack: DON'T!&lt;Autobot&gt; aop-delay: 5:30&lt;Autobot&gt; revenge-mode: 0&lt;Autobot&gt; ban-type: 2&lt;Autobot&gt; ban-time: 360&lt;Autobot&gt; exempt-time: 0&lt;Autobot&gt; invite-time: 0&lt;Autobot&gt; Other modes:&lt;Autobot&gt;      -inactive       -statuslog      -secret         +shared&lt;Autobot&gt;      +greet          -seen           +cycle          +dontkickops&lt;Autobot&gt;      -protectops     -protectfriends -revenge        -revengebot&lt;Autobot&gt;      -bitch          +autoop         -autovoice      +nodesynch&lt;Autobot&gt;      +enforcebans    +dynamicbans    +userbans       -autohalfop&lt;Autobot&gt;      -protecthalfops -static&lt;Autobot&gt;      +dynamicexempts +userexempts    +dynamicinvites +userinvites&lt;Autobot&gt; User defined channel flags:&lt;Autobot&gt;      +idlekick&lt;Autobot&gt; User defined channel strings:&lt;Autobot&gt; idlekick-time: 10&lt;Autobot&gt; flood settings: chan ctcp join kick deop nick&lt;Autobot&gt; number:           15    3    5    3    3    5&lt;Autobot&gt; time  :           60   60   60   10   10   60&lt;Autobot&gt; [17H:09m:1694106851s] #Yusif# chaninfo #help</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Thu Sep 07, 2023 1:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-07T12:51:02-04:00</updated>

		<published>2023-09-07T12:51:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112144#p112144</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112144#p112144"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112144#p112144"><![CDATA[
here the result<div class="codebox"><p>Code: </p><pre><code>&lt;Yusif&gt; .chanset #help +idlekick&lt;Autobot&gt; Successfully set modes { +idlekick  } on #help.&lt;Autobot&gt; [16H:09m:1694105303s] #Yusif# chanset #help +idlekick&lt;Yusif&gt; .chanset #help idlekick-time 10&lt;Autobot&gt; Successfully set modes { idlekick-time { 10 } } on #help.&lt;Autobot&gt; [16H:09m:1694105382s] #Yusif# chanset #help idlekick-time { 10 }</code></pre></div>after i did that the on join msg came with time<div class="codebox"><p>Code: </p><pre><code>-Autobot- You'll be kicked after 10 minutes</code></pre></div>will see if warn and kick will processed or not<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Thu Sep 07, 2023 12:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-09-07T12:38:05-04:00</updated>

		<published>2023-09-07T12:38:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112143#p112143</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112143#p112143"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112143#p112143"><![CDATA[
Copy &amp; paste exactly exactly what you type and see in your party-line.<br>Must give something like:<div class="codebox"><p>Code: </p><pre><code>.chanset #help +idlekickSuccessfully set modes { +idlekick  } on #help..chanset #help idlekick-time 30Successfully set modes { idlekick-time { 30 } } on #help.</code></pre></div>The error is from you as the script works well and is really simple.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Sep 07, 2023 12:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-07T12:10:59-04:00</updated>

		<published>2023-09-07T12:10:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112142#p112142</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112142#p112142"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112142#p112142"><![CDATA[
thank you CC for all help.<br>i did exactly what you showed me here<div class="codebox"><p>Code: </p><pre><code># Usage:# .chanset &lt;#help&gt; +idlekick# .chanset &lt;#help&gt; idlekick-time 10</code></pre></div>the msg on join still come with out numbers of minutes i set<div class="codebox"><p>Code: </p><pre><code>[19:14] &lt;~Autobot&gt; TriNiTy :You'll be kicked after  minutes</code></pre></div>and the result of .chaninfo #help still same <div class="codebox"><p>Code: </p><pre><code>&lt;Autobot&gt; idlekick-time: {}</code></pre></div>not sure what i'm missing<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Thu Sep 07, 2023 12:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-09-07T02:59:20-04:00</updated>

		<published>2023-09-07T02:59:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112140#p112140</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112140#p112140"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112140#p112140"><![CDATA[
In party-line, do:<div class="codebox"><p>Code: </p><pre><code>.chanset #help +idlekick.chanset #help idlekick-time 30</code></pre></div>That's exactly what is said in the script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Sep 07, 2023 2:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-06T19:09:56-04:00</updated>

		<published>2023-09-06T19:09:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112139#p112139</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112139#p112139"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112139#p112139"><![CDATA[
what you mean i didn't set +idlekick ?<br>i tried the script you told me to try only change room to #help instead #zeolia<br>and the code still same <div class="codebox"><p>Code: </p><pre><code># Usage:# .chanset &lt;#channel&gt; +idlekick# .chanset &lt;#channel&gt; idlekick-time &lt;time(minets)&gt;</code></pre></div>and yes it not warn nor kick only msg on join<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Wed Sep 06, 2023 7:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-09-06T18:21:47-04:00</updated>

		<published>2023-09-06T18:21:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112138#p112138</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112138#p112138"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112138#p112138"><![CDATA[
<blockquote class="uncited"><div>&lt;Autobot&gt; idlekick-time: {}</div></blockquote>If you didn't set idlekick-time, it's an empty string.<br><br>And you didn't set +idlekick neither, so the script won't warn or kick.<br><br>Read the comments of the script:<div class="codebox"><p>Code: </p><pre><code># Usage:# .chanset &lt;#channel&gt; +idlekick# .chanset &lt;#channel&gt; idlekick-time &lt;time(minets)&gt; </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Sep 06, 2023 6:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-06T11:34:32-04:00</updated>

		<published>2023-09-06T11:34:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112137#p112137</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112137#p112137"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112137#p112137"><![CDATA[
here <br><div class="codebox"><p>Code: </p><pre><code>&lt;Yusif&gt; .chaninfo #help&lt;Autobot&gt; Settings for dynamic channel #help:&lt;Autobot&gt; Protect modes (chanmode): +tn&lt;Autobot&gt; Idle Kick after (idle-kick): DON'T!&lt;Autobot&gt; stopnethack: DON'T!&lt;Autobot&gt; aop-delay: 5:30&lt;Autobot&gt; revenge-mode: 0&lt;Autobot&gt; ban-type: 2&lt;Autobot&gt; ban-time: 360&lt;Autobot&gt; exempt-time: 0&lt;Autobot&gt; invite-time: 0&lt;Autobot&gt; Other modes:&lt;Autobot&gt;      -inactive       -statuslog      -secret         +shared&lt;Autobot&gt;      +greet          -seen           +cycle          +dontkickops&lt;Autobot&gt;      -protectops     -protectfriends -revenge        -revengebot&lt;Autobot&gt;      -bitch          +autoop         -autovoice      +nodesynch&lt;Autobot&gt;      +enforcebans    +dynamicbans    +userbans       -autohalfop&lt;Autobot&gt;      -protecthalfops -static&lt;Autobot&gt;      +dynamicexempts +userexempts    +dynamicinvites +userinvites&lt;Autobot&gt; User defined channel flags:&lt;Autobot&gt;      -idlekick&lt;Autobot&gt; User defined channel strings:&lt;Autobot&gt; idlekick-time: {}&lt;Autobot&gt; flood settings: chan ctcp join kick deop nick&lt;Autobot&gt; number:           15    3    5    3    3    5&lt;Autobot&gt; time  :           60   60   60   10   10   60&lt;Autobot&gt; [15H:09m:1694014321s] #Yusif# chaninfo #help</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Wed Sep 06, 2023 11:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-09-06T11:21:36-04:00</updated>

		<published>2023-09-06T11:21:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112135#p112135</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112135#p112135"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112135#p112135"><![CDATA[
It's incomplete, look at mine:<blockquote class="uncited"><div>.chaninfo #zeolia<br>[17:20] tcl: builtin dcc call: *dcc:chaninfo CrazyCat 9 #zeolia<br>Settings for dynamic channel #zeolia:<br>Protect modes (chanmode): +tn<br>Idle Kick after (idle-kick): DON'T!<br>stopnethack: DON'T!<br>aop-delay: 5:30<br>revenge-mode: 0<br>ban-type: 3<br>ban-time: 120<br>exempt-time: 60<br>invite-time: 60<br>Other modes:<br>     -inactive       -statuslog      -secret         +shared<br>     +greet          -seen           +cycle          +dontkickops<br>     +protectops     -protectfriends -revenge        -revengebot<br>     -bitch          -autoop         -autovoice      -nodesynch<br>     -enforcebans    +dynamicbans    +userbans       -autohalfop<br>     -protecthalfops -static<br>     +dynamicexempts +userexempts    +dynamicinvites +userinvites<br>User defined channel flags:<br>     -advjoin -idlekick<br>User defined channel settings:<br>advdelay: 0   <strong class="text-strong">idlekick-checktime: 2</strong><br>User defined channel strings:<br><strong class="text-strong">idlekick-time: 30</strong><br>flood settings: chan ctcp join kick deop nick<br>number:           15    3    5    3    3    5<br>time  :           60   60   60   10   10   60</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Sep 06, 2023 11:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-06T10:42:08-04:00</updated>

		<published>2023-09-06T10:42:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112133#p112133</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112133#p112133"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112133#p112133"><![CDATA[
here the info<br><div class="codebox"><p>Code: </p><pre><code>&lt;Yusif&gt; .chaninfo #help&lt;Autobot&gt; Settings for dynamic channel #help:&lt;Autobot&gt; Protect modes (chanmode): +tn&lt;Autobot&gt; Idle Kick after (idle-kick): DON'T!&lt;Autobot&gt; stopnethack: DON'T!&lt;Autobot&gt; aop-delay: 5:30&lt;Autobot&gt; revenge-mode: 0&lt;Autobot&gt; ban-type: 2&lt;Autobot&gt; ban-time: 360&lt;Autobot&gt; exempt-time: 0&lt;Autobot&gt; invite-time: 0</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Wed Sep 06, 2023 10:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-09-06T10:29:59-04:00</updated>

		<published>2023-09-06T10:29:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112132#p112132</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112132#p112132"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112132#p112132"><![CDATA[
Show the result of .chaninfo #help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Sep 06, 2023 10:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-06T10:28:37-04:00</updated>

		<published>2023-09-06T10:28:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112131#p112131</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112131#p112131"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112131#p112131"><![CDATA[
tested with above script<br><div class="codebox"><p>Code: </p><pre><code>[17:24] &lt;~Autobot&gt; TriNiTy :You'll be kicked after  minutes</code></pre></div>time  "number of minutes"  still not there<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Wed Sep 06, 2023 10:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-09-06T10:01:35-04:00</updated>

		<published>2023-09-06T10:01:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112128#p112128</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112128#p112128"/>
		<title type="html"><![CDATA[Kick users after a certain amount of time spent in the chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112128#p112128"><![CDATA[
Checked with the following script:<div class="codebox"><p>Code: </p><pre><code># idlekick.tcl version 1.1.1 by TCL_no_TK &lt;ispmailsucks@googlemail.com&gt;## this script was written for user qetuoadgjl on egghelp.org forums#   Post: http://forum.egghelp.org/viewtopic.php?t=15543## Kicks users after a set about of idle time, configurable via dcc chanset command.# Ability to warn users before kicking and banning them, and other punishment options.## Usage:# .chanset &lt;#channel&gt; +idlekick# .chanset &lt;#channel&gt; idlekick-time &lt;time(minets)&gt;#### time in minets to check channels for idlers? (default: 10)set idlekick_checktime "2"# set your IRCd's kick length below (default: 150)#  -- note, some networks all 255. but 150 should be safe :)set idlekick_kicklength "10"# set the kick messageset idlekick_kickmsg "3Idling is 4NOT4 3allowed"# Set the warn messageset idlekick_warnmsg "3Ask your 4QUESTION "# warn the user a minet before the set idle time for the channel?#  -- this should allow you to inform the user better, that they will be kicked in a minet if they contine to idle. ;p# 1/0 = yes/noset idlekick_loseit "1"# Punishment Options# 1 = kick the user.# 2 = kick and ban the user.# 3 = warn and kick the user.# 4 = warn, kick and ban the user.# 5 = warn the user.set idlekick_punish "3"#codeproc time:idlekick {minuet hour day month year} {global idlekick_loseit idlekick_punish foreach channel [channels] {  if {[channel get $channel idlekick] == "+" &amp;&amp; [botisop $channel]} {   foreach iu [chanlist $channel] {    if {![isbotnick $iu] &amp;&amp; [onchan $iu $channel] &amp;&amp; ![isop $iu $channel] &amp;&amp; ![ishalfop $iu $channel] &amp;&amp; ![isvoice $iu $channel]} {     if {$idlekick_loseit == 1 &amp;&amp; [expr [channel get $channel idlekick-time] -1] == [getchanidle $iu $channel]} {      switch $idlekick_punish {       "1" {idle:kick "$channel $iu"}       "2" {idle:kickban "$channel $iu"}       "3" {idle:warnkick "$channel $iu"}       "4" {idle:warnkickban "$channel $iu"}       "5" {idle:warn "$channel $iu"}      }     }     if {$idlekick_loseit == 0 &amp;&amp; [channel get $channel idlekick-time] == [getchanidle $iu $channel]} {      switch $idlekick_punish {       "1" {idle:kick "$channel $iu"}       "2" {idle:kickban "$channel $iu"}       "3" {idle:warnkick "$channel $iu"}       "4" {idle:warnkickban "$channel $iu"}       "5" {idle:warn "$channel $iu"}      }     }    }   }  } }; return}proc idle:kick {text} {global idlekick_kickmsg idlekick_kicklength set chan [lindex [split $text] 0]  set nick [lindex [split $text] 1]   if {[onchan $nick $chan] &amp;&amp; [botisop $chan]} {    putserv "KICK $chan $nick :[trimchars "$idlekick_kickmsg  $idlekick_kicklength"]"   }; return}proc idle:kickban {text} {global idlekick_kickmsg idlekick_kicklength set chan [lindex [split $text] 0]  set nick [lindex [split $text] 1]   if {[onchan $nick $chan] &amp;&amp; [botisop $chan]} {    putserv "MODE $chan +b *!*@[lindex [split [getchanhost $nick] "@"] 1]"    putserv "KICK $chan $nick :[trimchars "$idlekick_kickmsg  $idlekick_kicklength"]"   }; return}proc idle:warnkick {text} {global idlekick_loseit idle:warn "$text"  if {$idlekick_loseit == 1} {   utimer 54 {idle:kick "$text"}  } else {   idle:kick "$text"  }; return}proc idle:warnkickban {text} {global idlekick_loseit idle:warn "$text"  if {$idlekick_loseit == 1} {   utimer 54 {idle:kickban "$text"}  } else {   idle:kickban "$text"  }; return}proc idle:warn {text} {global idlekick_warnmsg set chan [lindex [split $text] 0]  set nick [lindex [split $text] 1]   if {[onchan $nick $chan]} {    puthelp "NOTICE $nick :$idlekick_warnmsg"   }; return}proc trimchars {text} { set chars [lrange "$text" 0 [expr [llength "$text"] -1]]  set trim [lrange "$text" end end]   return [join [lrange "[split "$chars" {}]" 0 $trim] {}]}proc idknotice {nick uhost handle chan} {   putserv "PRIVMSG $nick :You'll be kicked after [channel get $chan idlekick-time] minutes"}#channel optionssetudef flag idlekicksetudef str idlekick-time#bindsbind time - "$idlekick_checktime * * * *" time:idlekickbind join - "#zeolia *" idknotice#endputlog "loaded idlekick.tcl version 1.1.1 by TCL_no_TK"return </code></pre></div>Joined #zeolia (the channel in my bind) after having .chanset #zeolia idlekick-time 30:<div class="codebox"><p>Code: </p><pre><code>15:59:21 &lt;Raspdrop&gt; You'll be kicked after 30 minutes</code></pre></div>NB: I corrected a line in the idle:kickban proc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Sep 06, 2023 10:01 am</p><hr />
]]></content>
	</entry>
	</feed>
