<?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/21085" />

	<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>2021-12-30T09:04:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[AdmiraL]]></name></author>
		<updated>2021-12-30T09:04:29-04:00</updated>

		<published>2021-12-30T09:04:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110706#p110706</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110706#p110706"/>
		<title type="html"><![CDATA[Idle Action Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110706#p110706"><![CDATA[
Perfect now its perfect , i have made all what u have me recomanded..<br><br>Thanks Spike..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12900">AdmiraL</a> — Thu Dec 30, 2021 9:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2021-12-29T20:48:25-04:00</updated>

		<published>2021-12-29T20:48:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110705#p110705</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110705#p110705"/>
		<title type="html"><![CDATA[Idle Action Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110705#p110705"><![CDATA[
After checking the code one more time, the script already has an exempt user system, but I see a couple small issues with that...<br><br>1) Search for this string in your code...<div class="codebox"><p>Code: </p><pre><code>![matchattr $nick |$dvprotect $chan]</code></pre></div>and make it look more like this...<div class="codebox"><p>Code: </p><pre><code>![matchattr [nick2hand $nick $chan] $dvprotect|$dvprotect $chan]</code></pre></div>2) Search for this string in your code...<div class="codebox"><p>Code: </p><pre><code>![matchattr $nick |$doprotect $chan]</code></pre></div>and make it look more like this...<div class="codebox"><p>Code: </p><pre><code>![matchattr [nick2hand $nick $chan] $doprotect|$doprotect $chan]</code></pre></div>Add the users you want exempted to the bots user file with valid hostmasks.<br>Give the exempted users you just added the +ov flags (either global and/or channel).<br><br>If that does not work for you, try contacting the script author, MadaliN (_MaDaLiN_ at undernet #EggdropTCL)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Wed Dec 29, 2021 8:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AdmiraL]]></name></author>
		<updated>2021-12-29T18:53:09-04:00</updated>

		<published>2021-12-29T18:53:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110704#p110704</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110704#p110704"/>
		<title type="html"><![CDATA[Idle Action Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110704#p110704"><![CDATA[
<blockquote class="uncited"><div>nope, sorry...<br><br>If you are looking to exempt some users from the script, looks to me like you should add them to the eggdrop user file with +ov maybe.</div></blockquote>At the moment with this tcl, Eggdrop does everything all @ what they are over 20 minutes away makes automatic deop.<br><br>I want to do that, example I have 10 operators and of 10 operators are 2 eggdrop and I want this 2 eggdrop always to be on top with @ and the other when they are off example 20 minutes are away from chat I want to make this tcl bot automatic deop and this 2 eggdrop I always want to have with @.<br><br>maybe now you have understood me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12900">AdmiraL</a> — Wed Dec 29, 2021 6:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2021-12-29T15:18:45-04:00</updated>

		<published>2021-12-29T15:18:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110703#p110703</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110703#p110703"/>
		<title type="html"><![CDATA[Idle Action Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110703#p110703"><![CDATA[
nope, sorry...<br><br>If you are looking to exempt some users from the script, looks to me like you should add them to the eggdrop user file with +ov maybe.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Wed Dec 29, 2021 3:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AdmiraL]]></name></author>
		<updated>2021-12-29T14:34:23-04:00</updated>

		<published>2021-12-29T14:34:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110700#p110700</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110700#p110700"/>
		<title type="html"><![CDATA[Idle Action Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110700#p110700"><![CDATA[
No i dont have conntact.<br><br>The bot Guardian make all @operators when idle its more then 20 min.<br><br>* 19:23:29 * @Guardian AdmiraL - Idle-deop: AKTIV (20 minuta -- Mbrojtja: + usera) / Idle-devoice: AKTIV (20 minuta -- Mbrojtja: + usera)<br><br>i want to put some @operators in the list and when this @ what is in the list and when he is idle and the bot must ignore this users and the bot must make nothing, because the bot must make deop and devoice just this user what he dont have in the list.<br><br>Maybe u have understant what i mean..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12900">AdmiraL</a> — Wed Dec 29, 2021 2:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2021-12-29T14:12:22-04:00</updated>

		<published>2021-12-29T14:12:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110699#p110699</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110699#p110699"/>
		<title type="html"><![CDATA[Idle Action Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110699#p110699"><![CDATA[
AdmiraL<br><br>I'm not sure I understand the goal of this request, maybe you can explain better:)<br><br>Have you tried contacting the author, MadaliN?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Wed Dec 29, 2021 2:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AdmiraL]]></name></author>
		<updated>2021-12-29T12:27:21-04:00</updated>

		<published>2021-12-29T12:27:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110698#p110698</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110698#p110698"/>
		<title type="html"><![CDATA[Idle Action Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110698#p110698"><![CDATA[
Hello all..<br><br>i need a help, this code its perfect and i dont have problem with tcl.<br><br>if the bot sees example a nick hat idle x minute make -o or -v and when a nick its in the botlist example and when the bot detected he has idle bot must make nothing<br><br>* 17:21:01 * Guardian sets mode: -o Shoqeria<br>* 17:21:01 * Shoqeria sets mode: +o Shoqeria<br><br>I want to put this name Shoqeria in the list from Guardian.<br><br>My englisch its poor sorry <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><br><div class="codebox"><p>Code: </p><pre><code># +-------------------------------------------------------------------------------------+# |                                                                                     |# |                         Idle Action v1.0.0                                          |# |                                                                                     |# +-------------------------------------------------------------------------------------+# |                                                                                     |# | *** Website             @  http://www.EggdropTCL.com                                |# | *** GitHub              @  http://github.com/MadaliNTCL/eggdrop-tcl                 |# |                                                                                     |# +-------------------------------------------------------------------------------------+# | *** IRC Support:                                                                    |# |                    #EggdropTCL     @ QuakeNET                                       |# |                    #EggdropTCL     @ UnderNET                                       |# |                    #EggdropTCL     @ EfNET                                          |# |                                                                                     |# | *** Contact:                                                                        |# |                    Yahoo Messenger/Mail: madalinmen28@yahoo.com                     |# |                    Google Mail         : madalinmen28@gmail.com                     |# |                    Skype Messenger     : madalinmen28                               |# |                                                                                     |# +-------------------------------------------------------------------------------------+# + *** Commands ***                                                                    |# |     +----------------+                                                              |# |     [ ADMIN - PUBLIC ]                                                              |# |     +----------------+                                                              |# |                                                                                     |# |     ++ !idleaction &lt;deop on/off 10&gt;                                                 |# |     ++ !idleaction &lt;devoice on/off 10&gt;                                              |# |     ++ !idleaction &lt;deop on oa&gt;                                                     |# |     ++ !idleaction &lt;devoice on gv&gt;                                                  |# |     ++ !idleaction status                                                           |# |                                                                                     |# | IMPORTANT                                                                           |# | - Deop/devoice time is SET in minutes                                               |# | - 'oa' and 'gv' represent LOCAL user flags you can add any valid flag               |# |                                                                                     |# +-------------------------------------------------------------------------------------+bind PUBM - * idleaction:pubmbind TIME - * idleaction:routinesetudef flag idledeopsetudef flag idledevoicesetudef int ideopsetudef int idevoicesetudef str idvprotectsetudef str idoprotectproc idleaction:pubm {nick uhost hand chan arg} {if {[string index $arg 0] in {! . `}} {set temp(cmd) [string range $arg 1 end]set temp(cmd) [lindex [split $temp(cmd)] 0]set arg [join [lrange [split $arg] 1 end]]} elseif {[isbotnick [lindex [split $arg] 0]]} {set temp(cmd) [lindex [split $arg] 1]set arg [join [lrange [split $arg] 2 end]]} else { return 0 }if {[info commands $temp(cmd):icpubcmd] ne ""} { $temp(cmd):icpubcmd $nick $uhost $hand $chan $arg }}proc idleaction:icpubcmd {nick uhost hand chan arg} {switch -exact -- [lindex [split $arg] 0] {deop {switch -exact -- [lindex [split $arg] 1] {on {if {![matchattr $hand n]} { return }if {[lindex [split $arg] 2] eq ""} {channel set $chan +idledeopchannel set $chan ideop "120"channel set $chan idoprotect "o"putquick "PRIVMSG $chan :\002$nick\002 - \00312Idle-deop\00302 sapo keni bere \00304ON\00302, Koha: \00304120 minuta\00302 mbrojtje \002\00304+[channel get $chan idoprotect]\002\00302"} else {channel set $chan +idledeopif {[isnumber [lindex [split $arg] 2]]} {channel set $chan ideop [lindex [split $arg] 2]putquick "PRIVMSG $chan :\002$nick\002 - \00312Idle-deop\00302 spo keni bere \00304ON\003, Koha: \00304[lindex [split $arg] 2] minuta"} else {channel set $chan idoprotect [lindex [split $arg] 2]putquick "PRIVMSG $chan :\002$nick\002 - \00312Idle-deop\00302 spo keni bere \00304ON\003, mbrojtje: \00304\002+[lindex [split $arg] 2]"}}}off {if {![matchattr $hand n]} { return }channel set $chan -idledeopchannel set $chan ideop ""putquick "PRIVMSG $chan :\002$nick\002 - \00312Idle-deop\00302 spo keni bere \00304OFF\003"}}}devoice {switch -exact -- [lindex [split $arg] 1] {on {if {![matchattr $hand n]} { return }if {[lindex [split $arg] 2] eq ""} {channel set $chan +idledevoicechannel set $chan idevoice "120"channel set $chan idvprotect "v"putquick "PRIVMSG $chan :\002$nick\002 - \00312Idle-devoice\00302 spo keni bere \00304ON\00302, Koha: \00304120 minutes\00302 and protection for \002\00304+[channel get $chan idvprotect]\002\00302 local flags"} else {channel set $chan +idledevoiceif {[isnumber [lindex [split $arg] 2]]} {channel set $chan idevoice [lindex [split $arg] 2]putquick "PRIVMSG $chan :\002$nick\002 - \00312Idle-devoice\00302 spo keni bere \00304ON\003, Koha: \00304[lindex [split $arg] 2] minutes"} else {channel set $chan idvprotect [lindex [split $arg] 2]putquick "PRIVMSG $chan :\002$nick\002 - \00312Idle-devoice\00302 spo keni bere \00304ON\003, Mbrojtja: \00304\002+[lindex [split $arg] 2]"}}}off {if {![matchattr $hand n]} { return }channel set $chan -idledevoicechannel set $chan idevoice ""putquick "PRIVMSG $chan :\002$nick\002 - \00312Idle-devoice\00302 spo keni bere \00304OFF\003"}}}status {if {[channel get $chan idledevoice]} { set idvstatus "\002\00312AKTIV\003\002" } else { set idvstatus "\00304DEAKTIV\003"  }if {[channel get $chan idledeop]} { set idostatus "\002\00312AKTIV\003\002" } else { set idostatus "\00304DEAKTIV\003"  }putquick "PRIVMSG $chan :\002$nick\002 - \00302Idle-deop\003: $idostatus (\00303[channel get $chan ideop]\00302 minuta -- Mbrojtja: \00304\002+[channel get $chan idoprotect]\002 usera\003) \037\002/\037\002 \00302Idle-devoice\003: $idvstatus (\00303[channel get $chan idevoice]\00302 minuta\00302 -- Mbrojtja: \00304\002+[channel get $chan idvprotect]\002 usera\003)"}}}proc idleaction:routine {min hour day month year} {## ++ Devoiceforeach chan [channels] {if {[channel get $chan idledevoice]} {set idevoice [channel get $chan idevoice]if {[channel get $chan idvprotect] ne ""} { set dvprotect [channel get $chan idvprotect] } else { set dvprotect "v"}foreach nick [chanlist $chan] { if {![isbotnick $nick] &amp;&amp; [isvoice $nick $chan] &amp;&amp; ![matchattr $nick |$dvprotect $chan]} { if {[getchanidle $nick $chan] &gt;= $idevoice} { pushmode $chan -v $nick } } }}}flushmode $chan## ++ Deopforeach chan [channels] {if {[channel get $chan idledeop]} {set ideop [channel get $chan ideop]if {[channel get $chan idoprotect] ne ""} { set doprotect [channel get $chan idoprotect] } else { set doprotect "o" }foreach nick [chanlist $chan] { if {![isbotnick $nick] &amp;&amp; [isop $nick $chan] &amp;&amp; ![matchattr $nick |$doprotect $chan]} { if {[getchanidle $nick $chan] &gt;= $ideop} { pushmode $chan -o $nick } } }}}flushmode $chan}putlog "++ \[ - \00304PUBLIC\003 - \00306loaded\003 * \00303Idle Action\003 \]"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12900">AdmiraL</a> — Wed Dec 29, 2021 12:27 pm</p><hr />
]]></content>
	</entry>
	</feed>
