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

	<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>2020-11-05T07:05:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2020-11-05T07:05:03-04:00</updated>

		<published>2020-11-05T07:05:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109122#p109122</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109122#p109122"/>
		<title type="html"><![CDATA[except deop doesnt work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109122#p109122"><![CDATA[
Idle can be and owner and sop ~ &amp; and with to set mode -oo Owner Sop<br>If they change nick need to add every nick they have in group of nicks<br><br><br>yes and this can be for owner sop to exep them from *!*@host or *!*@*.domain.com<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Thu Nov 05, 2020 7:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2020-11-05T07:05:31-04:00</updated>

		<published>2020-11-05T07:02:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109121#p109121</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109121#p109121"/>
		<title type="html"><![CDATA[except deop doesnt work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109121#p109121"><![CDATA[
No, i meant flags on the channel.<br><br>Ah, as suspected.<br><br>Well, given that isop recognizes the special flags as a regular @ there's no way to add them to a special exception list without breaking the purpose of the script itself, meaning removing the @ and v from those that are idle.<br><br>At this point the only option I could think of would be creating a 'special' user and add their hosts to this user and except everyone matching this particular user.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Nov 05, 2020 7:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2020-11-05T06:50:19-04:00</updated>

		<published>2020-11-05T06:50:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109120#p109120</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109120#p109120"/>
		<title type="html"><![CDATA[except deop doesnt work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109120#p109120"><![CDATA[
this are the flags +iwrxzt<br><br>if u ask for prefix channel access are this<br>Owner ~Teddy<br>sop      &amp;Teddy<br>aop      @Teddy<br>halfop  %Teddy<br><br>if u mean flags on Bot dont have nothing<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Thu Nov 05, 2020 6:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2020-11-05T06:45:32-04:00</updated>

		<published>2020-11-05T06:45:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109119#p109119</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109119#p109119"/>
		<title type="html"><![CDATA[except deop doesnt work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109119#p109119"><![CDATA[
What flags did Teddy have when you did each of the commands?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Nov 05, 2020 6:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2020-11-05T06:48:40-04:00</updated>

		<published>2020-11-05T06:43:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109118#p109118</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109118#p109118"/>
		<title type="html"><![CDATA[except deop doesnt work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109118#p109118"><![CDATA[
Sorry for my late report this is what is show<br>is better to add del list prefix channel we want to check idle for deop<br><div class="codebox"><p>Code: </p><pre><code>[12:39:04] &lt;Teddy&gt; .tcl isop Teddy[12:39:04] &lt;Bot&gt; Tcl: 1[12:39:22] &lt;Teddy&gt; .tcl ishalfop Teddy[12:39:22] &lt;Bot&gt; Tcl: 0[12:40:08] &lt;Teddy&gt; .tcl isop Teddy[12:40:08] &lt;Bot&gt; Tcl: 1[12:40:27] &lt;Teddy&gt; .tcl isop Teddy[12:40:27] &lt;Bot&gt; Tcl: 1[12:40:39] &lt;Teddy&gt; .tcl isowner Teddy[12:40:39] &lt;Bot&gt; Tcl error: wrong # args: should be "isowner nick chan"[12:40:52] &lt;Teddy&gt; .tcl isowner Teddy #test[12:40:53] &lt;Bot&gt; Tcl: 1</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Thu Nov 05, 2020 6:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2020-11-05T05:11:13-04:00</updated>

		<published>2020-11-05T05:11:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109117#p109117</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109117#p109117"/>
		<title type="html"><![CDATA[except deop doesnt work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109117#p109117"><![CDATA[
What did you set in your eggdrop.conf file at <em class="text-italics">net-type</em>? I think the eggdrop has some built-in functionality to recognize some special modes, but not 100% sure if would work with what you got so you have to test some stuff on your own and reply back with results.<br><br>If you got the <em class="text-italics">.tcl</em> command enabled from DCC Chat/Telnet on your bot (if not just lookup <em class="text-italics">unbind dcc n tcl *dcc:tcl</em> or was it <em class="text-italics">#bind dcc n tcl *dcc:tcl</em>?..  anyway, it should be <em class="text-italics">bind dcc n tcl *dcc:tcl</em> and restart the bot afterwards) then try giving yourself only the ~ flag and try in DCC Chat/Telnet with the bot:<div class="codebox"><p>Code: </p><pre><code>.tcl isop &lt;your nick&gt;.tcl ishalfop &lt;your nick&gt;</code></pre></div>next give yourself the &amp; flag and try the two commands again. Note down the results and reply back with what you found.<br><br>From what i know the bot can recognize the '&amp;' sign as <em class="text-italics">halfop</em> on some networks, not sure about others.<br><br>Edit: From what I could find UnrealIRCd has the prefix '~' as the 'owner of the current channel' and the prefix '&amp;' as 'admin (SOP) on the current channel' and both are equivalent of @ on other networks, so should see something with <em class="text-italics">isop</em>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Nov 05, 2020 5:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2020-11-05T04:56:18-04:00</updated>

		<published>2020-11-05T04:56:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109116#p109116</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109116#p109116"/>
		<title type="html"><![CDATA[except deop doesnt work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109116#p109116"><![CDATA[
No, it's not possible, the eggdrop doesn't see the opchar, or (to be more precise) doesn't distinguish if @, &amp; or ~ are different levels.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Nov 05, 2020 4:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2020-11-05T03:29:47-04:00</updated>

		<published>2020-11-05T03:29:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109115#p109115</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109115#p109115"/>
		<title type="html"><![CDATA[hi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109115#p109115"><![CDATA[
Is possible to add a code to ignore and not check for prefix channel as ~ &amp; <br>like ~BoB  &amp;Alicia if they change nick need everytime to add nicks exempt<br>to check and deop only for prefix @ aop like @Tommy<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Thu Nov 05, 2020 3:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2020-11-05T03:11:30-04:00</updated>

		<published>2020-11-05T03:11:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109114#p109114</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109114#p109114"/>
		<title type="html"><![CDATA[hi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109114#p109114"><![CDATA[
You will need to activate this on the channels you wish with .chanset #channel +idlemode, define the idle time with .chanset #channel idletime 60 (where 60 in my example means 60 minutes) and if you wish can add an exempt for each channel with .channel set #channel "user_1 user_2"<br><br>wrong command here for that sorry <br><br>CrazyCat thx for the help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Thu Nov 05, 2020 3:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2020-11-05T02:47:24-04:00</updated>

		<published>2020-11-05T02:47:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109113#p109113</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109113#p109113"/>
		<title type="html"><![CDATA[Re: except deop doesnt work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109113#p109113"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>&lt;John&gt; .chanset #test "Tommy Clay" &lt;Bot&gt; Error trying to set "Tommy Clay" for #test, illegal channel option: "Tommy Clay"</code></pre></div></div></blockquote>Lol...<div class="codebox"><p>Code: </p><pre><code>.chanset #test idleExempt "Tommy Clay"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Nov 05, 2020 2:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2020-11-04T21:18:43-04:00</updated>

		<published>2020-11-04T21:18:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109112#p109112</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109112#p109112"/>
		<title type="html"><![CDATA[except deop doesnt work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109112#p109112"><![CDATA[
This script i take here in forum made by ceazar<br>If can added a simple command to add idle except names like .chanset #chan exceptIdle Name1 Name2 Name3<br>and to not deop or loop for the chanserv BOT and prefix channel ~ &amp; owner sop<br>If someone help here to fix it thanks<br><br><div class="codebox"><p>Code: </p><pre><code>.chanset #test +idlemode&lt;Bot&gt; Successfully set modes { +idlemode  } on #test</code></pre></div><div class="codebox"><p>Code: </p><pre><code> .chanset #test idletime 60&lt;Bot&gt; Successfully set modes { idletime { 60 } } on #test.&lt;Bot&gt; [01:59:12] #John# chanset #test idletime { 60 }</code></pre></div>adding names for except deops is not work and is deop and channel Bot <br>TEST<div class="codebox"><p>Code: </p><pre><code>&lt;John&gt; .chanset #test "Tommy Clay" &lt;Bot&gt; Error trying to set "Tommy Clay" for #test, illegal channel option: "Tommy Clay"</code></pre></div><div class="codebox"><p>Code: </p><pre><code>namespace eval idlemode {setudef flag idleModesetudef str idleExemptsetudef int idleTimebind time {?0 *} [namespace current]::idleTimeproc idleTime {args} {foreach chan [channels] {if {![channel get $chan idleMode]} continuetimedCheck $chan}}proc timedCheck {chan} {variable idleswitch -- [catch {botisop $chan} err] {"0" {if {!$err} {putlog "idleMode error: I'm not oped in $chan channel."return}}"1" {putlog "idleMode error: $chan channel is not valid."return}}set users [string tolower [lrange [chanlist $chan] 1 end]]set except [string tolower [channel get $chan idleExempt]]set time [channel get $chan idleTime]foreach user $users {if {[lsearch -exact $except $user] != -1} continueif {[isop $user $chan]} {lappend checkList $user:1}if {[isvoice $user $chan]} {if {[info exists checkList]} {set pos [lsearch -exact $checkList $user:1]if {$pos == -1} {lappend checkList $user:2} else {set checkList [lreplace $checkList $pos $pos $user:3]}} else {lappend checkList $user:2}}}if {[info exists checkList]} {foreach ele [split $checkList] {scan $ele {%[^:]:%s} user countcheckIdle $count $user $chan $time}}}proc checkIdle {mode user chan time} {set idle [getchanidle $user $chan]if {$idle &gt;= $time} {switch -- $mode {"1" {pushmode $chan -o $userputlog "idleMode: deoped $user in $chan cos was idle for $idle minutes"}"2" {pushmode $chan -v $userputlog "idleMode: devoiced $user in $chan cos was idle for $idle minutes"}"3" {puthelp "MODE $chan -ov $user $user"putlog "idleMode: deoped and devoiced $user in $chan cos was idle for $idle minutes"}}}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Wed Nov 04, 2020 9:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
