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

	<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-28T11:34:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-28T11:34:13-04:00</updated>

		<published>2023-09-28T11:34:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112193#p112193</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112193#p112193"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112193#p112193"><![CDATA[
<blockquote class="uncited"><div>heres some info on it: <a href="https://www.unrealircd.org/docs/Snomasks" class="postlink">https://www.unrealircd.org/docs/Snomasks</a><br><br>snomask b seems responsible for the output of set shuns if you are running unrealircd 6</div></blockquote>yes, i run unrealircd 6. but as Autobt deliver this msg like opers ..  i guess i need to change Autobot access not to get info like that .. some members of my team not supposed to see users real ip's<br><br>much appreciated simo<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Thu Sep 28, 2023 11:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-09-28T11:03:44-04:00</updated>

		<published>2023-09-28T11:03:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112192#p112192</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112192#p112192"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112192#p112192"><![CDATA[
heres some info on it: <a href="https://www.unrealircd.org/docs/Snomasks" class="postlink">https://www.unrealircd.org/docs/Snomasks</a><br><br>snomask b seems responsible for the output of set shuns if you are running unrealircd 6<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Sep 28, 2023 11:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-28T10:17:08-04:00</updated>

		<published>2023-09-28T10:17:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112191#p112191</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112191#p112191"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112191#p112191"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div> g'evening simo , that part removed but msg still coming from ircd </div></blockquote><br>that has nothing to do with eggdrop but with ircd settings and the snomasks set for opers.</div></blockquote>though of that if not from eggdrop config setting<br><br><br>thank you simo, much appreciated<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Thu Sep 28, 2023 10:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-09-28T10:01:52-04:00</updated>

		<published>2023-09-28T10:01:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112190#p112190</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112190#p112190"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112190#p112190"><![CDATA[
<blockquote class="uncited"><div> g'evening simo , that part removed but msg still coming from ircd </div></blockquote><br>that has nothing to do with eggdrop but with ircd settings and the snomasks set for opers.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Sep 28, 2023 10:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-28T08:56:55-04:00</updated>

		<published>2023-09-28T08:56:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112189#p112189</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112189#p112189"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112189#p112189"><![CDATA[
<blockquote class="uncited"><div>remove : <br><div class="codebox"><p>Code: </p><pre><code>bind raw - notice shun-snoticeproc shun-snotice {from keyword arg} { if {[string match -nocase "*shun*" $arg]} {   set shun [lrange $arg 1 end]   putserv "privmsg $::monchan :$shun"  }}</code></pre></div></div></blockquote>g'evening simo , that part removed but msg still coming from ircd<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Thu Sep 28, 2023 8:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-09-28T07:20:22-04:00</updated>

		<published>2023-09-28T07:20:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112188#p112188</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112188#p112188"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112188#p112188"><![CDATA[
remove : <br><div class="codebox"><p>Code: </p><pre><code>bind raw - notice shun-snoticeproc shun-snotice {from keyword arg} { if {[string match -nocase "*shun*" $arg]} {   set shun [lrange $arg 1 end]   putserv "privmsg $::monchan :$shun"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Sep 28, 2023 7:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-28T02:33:41-04:00</updated>

		<published>2023-09-28T02:33:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112187#p112187</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112187#p112187"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112187#p112187"><![CDATA[
<blockquote class="uncited"><div>im not sure i understand what you mean</div></blockquote>sorry simo<br><br>what i mean , we want stop this msg in #botop when one do !shun nick<div class="codebox"><p>Code: </p><pre><code>&lt;!Autobot&gt; :tkl.TKL_ADD {[info]} Shun added: '*@x.xx.xx.xxx' {[reason:} 3600 shun for abuse/behaviour\] {[by:} Autobot!Autobot@bot.xxxxx.com\] {[duration:} 1h\]</code></pre></div>need to prevent the output from the IRCD<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Thu Sep 28, 2023 2:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-09-27T15:49:31-04:00</updated>

		<published>2023-09-27T15:49:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112186#p112186</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112186#p112186"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112186#p112186"><![CDATA[
im not sure i understand what you mean<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Sep 27, 2023 3:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-27T14:18:19-04:00</updated>

		<published>2023-09-27T14:18:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112185#p112185</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112185#p112185"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112185#p112185"><![CDATA[
thank you simo , it gives duplicate confirm msg <br><div class="codebox"><p>Code: </p><pre><code>&lt;!Autobot&gt; Shun added on Just4U for 3600 by Yusif</code></pre></div>what exactly needed<br><br>also still give msg from ircd which show real ip <br><br><div class="codebox"><p>Code: </p><pre><code>&lt;!Autobot&gt; :tkl.TKL_ADD {[info]} Shun added: '*@x.xx.xx.xxx' {[reason:} 3600 shun for abuse/behaviour\] {[by:} Autobot!Autobot@bot.xxxxx.com\] {[duration:} 1h\]</code></pre></div>what need to to be prevent in #botop<br> same way for remove shun<br><br><br>thanks again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Wed Sep 27, 2023 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-09-27T13:51:34-04:00</updated>

		<published>2023-09-27T13:51:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112184#p112184</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112184#p112184"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112184#p112184"><![CDATA[
you could try this : <br><div class="codebox"><p>Code: </p><pre><code>set monchan #botopbind pub -|- !shun pub:shunproc pub:shun {nick host hand chan text} { if {![string equal -nocase $chan "$::monchan"]} { return 0 } if {![isbotnick $nick] &amp;&amp; ![isop $nick $chan] &amp;&amp; ![ishalfop $nick $chan] &amp;&amp; ![matchattr [nick2hand $nick $chan] o|- $chan]} { return 0 }  set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }]  set text [split $text] if {![llength $text]} { putnow "NOTICE $nick :Syntax\: !shun nick" ; return 0 }  set target [lindex $text 0]  if {[isbotnick $target] || [isop $target $chan] || [ishalfop $target $chan]} { return 0 }  if {[matchattr [nick2hand $target $chan] o|o $chan]} { return 0 }  set duration [lindex $text 1]  set reason [join [lrange $text 2 end]]  if {$duration ne "" &amp;&amp; ![regexp -nocase {^[1-9][0-9]$} $duration] &amp;&amp; $duration != 0} {    set reason [string trim "$duration $reason"]    set duration ""  }  if {$duration eq ""} { set duration "3600"  }  if {$reason eq ""} { set reason "$duration shun for abuse/behaviour"  }  putquick "privmsg $chan :Shun added on $target for $duration by $nick"  putquick "shun $target $duration :$reason"  return 0}bind pub -|- !remshun pub:remove-shunproc pub:remove-shun {nick host hand chan text} { if {![string equal -nocase $chan "$::monchan"]} { return 0 } if {![isbotnick $nick] &amp;&amp; ![isop $nick $chan] &amp;&amp; ![ishalfop $nick $chan] &amp;&amp; ![matchattr [nick2hand $nick $chan] o|- $chan]} { return 0 }  set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }]  set text [split $text] if {![llength $text]} { putnow "NOTICE $nick :Syntax\: !shun nick" ; return 0 }  set target [lindex $text 0]   putquick "privmsg $chan :Shun removed on $target by $nick"   putquick "shun -$target"   return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Sep 27, 2023 1:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-27T10:58:46-04:00</updated>

		<published>2023-09-27T10:58:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112183#p112183</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112183#p112183"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112183#p112183"><![CDATA[
<blockquote class="uncited"><div>the reason i use the output from the IRCD is so u can see what the actuall shun that is set and also to confirm that its actually set.</div></blockquote>output already from ircd showen in #netlog , but in #botops where we do all commands over botnet , for that i hope the confirm msg. from the shun script in #botops atleast not showen real ip if not possible to make it like:<br><br>&lt;!Autobot&gt; Shun added on nick for 1h by Yusif <br><br><br><br>thanks again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Wed Sep 27, 2023 10:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-09-27T10:50:43-04:00</updated>

		<published>2023-09-27T10:50:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112182#p112182</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112182#p112182"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112182#p112182"><![CDATA[
<blockquote class="uncited"><div><br>the confirm msg just need it like :<br><br>&lt;!Autobot&gt; Shun added on nick for 1h by Yusif ,... instead showen ip<br>&lt;!Autobot&gt; Shun removed on nick by Yusif<br></div></blockquote>the reason i use the output from the IRCD is so u can see what the actuall shun that is set and also to confirm that its actually set.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Sep 27, 2023 10:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-27T09:36:15-04:00</updated>

		<published>2023-09-27T09:36:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112181#p112181</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112181#p112181"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112181#p112181"><![CDATA[
thank you simo<br><blockquote class="uncited"><div>see if this works :</div></blockquote>works perfect but the issue confirm msg came from irc not from the script by botnet and it reveal usre's real ip <div class="codebox"><p>Code: </p><pre><code>&lt;!Autobot&gt; :tkl.TKL_ADD {[info]} Shun added: '*@x.xx.xx.xxx' {[reason:} 3600 shun for abuse/behaviour\] {[by:} Autobot!Autobot@bot.xxxxx.com\] {[duration:} 1h\]</code></pre></div><div class="codebox"><p>Code: </p><pre><code>&lt;!Autobot&gt; :tkl.TKL_DEL {[info]} Shun removed: '*@x.xx.xx.xxx' {[reason:} 3600 shun for abuse/behaviour\] {[by:} Autobot!Autobot@bot.xxxxx.com\] {[set} at: Wed Sep 27 13:19:49 2023 GMT\]</code></pre></div>the confirm msg just need it like :<br><br>&lt;!Autobot&gt; Shun added on nick for 1h by Yusif       ,... instead showen ip<br>&lt;!Autobot&gt; Shun removed on nick by Yusif <br><br>i need it show which (opers/globalop) made shun/remshun over Autobot not Autobot itself<br><br>thanks again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Wed Sep 27, 2023 9:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-09-27T08:32:46-04:00</updated>

		<published>2023-09-27T08:32:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112180#p112180</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112180#p112180"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112180#p112180"><![CDATA[
see if this works : <br><div class="codebox"><p>Code: </p><pre><code>set monchan #botopbind raw - notice shun-snoticeproc shun-snotice {from keyword arg} { if {[string match -nocase "*shun*" $arg]} {    set shun [lrange $arg 1 end]   putserv "privmsg $::monchan :$shun"  }}bind pub -|- !shun pub:shunproc pub:shun {nick host hand chan text} { if {![string equal -nocase $chan "$::monchan"]} { return 0 }  if {![isbotnick $nick] &amp;&amp; ![isop $nick $chan] &amp;&amp; ![ishalfop $nick $chan] &amp;&amp; ![matchattr [nick2hand $nick $chan] o|- $chan]} { return 0 }  set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }]  set text [split $text]  if {![llength $text]} { putnow "NOTICE $nick :Syntax\: !shun nick" ; return 0 }  set target [lindex $text 0]  if {[isbotnick $target] || [isop $target $chan] || [ishalfop $target $chan]} { return 0 }  if {[matchattr [nick2hand $target $chan] o|o $chan]} { return 0 }  set duration [lindex $text 1]  set reason [join [lrange $text 2 end]]  if {$duration ne "" &amp;&amp; ![regexp -nocase {^[1-9][0-9]$} $duration] &amp;&amp; $duration != 0} {    set reason [string trim "$duration $reason"]    set duration ""  }  if {$duration eq ""} { set duration "3600"  }  if {$reason eq ""} { set reason "$duration shun for abuse/behaviour"  }  putquick "shun $target $duration :$reason"  return 0}bind pub -|- !remshun pub:remove-shunproc pub:remove-shun {nick host hand chan text} { if {![string equal -nocase $chan "$::monchan"]} { return 0 } if {![isbotnick $nick] &amp;&amp; ![isop $nick $chan] &amp;&amp; ![ishalfop $nick $chan] &amp;&amp; ![matchattr [nick2hand $nick $chan] o|- $chan]} { return 0 }  set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }]  set text [split $text]  if {![llength $text]} { putnow "NOTICE $nick :Syntax\: !shun nick" ; return 0 }  set target [lindex $text 0]  if {[isbotnick $target] || [isop $target $chan] || [ishalfop $target $chan]} { return 0 }  if {[matchattr [nick2hand $target $chan] o|o $chan]} { return 0 }  putquick "shun -$target"  return 0} </code></pre></div><br>about the : first: need it work from #botop rooms only for opers/globalops<br><br>its best to set channel to +O to make sure only opers are in it to use it as eggdrop wouldnt have a way to check who is oper and who isnt besides some over-complex method perhaps also the nick u want to set shun on or off should be online on the ircd else it wont work as the ircd uses the nick to   lookup the host to set shun on or off.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Sep 27, 2023 8:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yusif]]></name></author>
		<updated>2023-09-26T00:19:23-04:00</updated>

		<published>2023-09-26T00:19:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112179#p112179</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112179#p112179"/>
		<title type="html"><![CDATA[Snotice shun]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112179#p112179"><![CDATA[
hello guys, can anyone please do some edit here:<div class="codebox"><p>Code: </p><pre><code>bind raw - notice shun-snoticeproc shun-snotice {from keyword arg} { if {![string match -nocase "*shun added*" $arg]} { return }   set shun [lrange $arg 1 end]   putserv "privmsg #shuned :$shun"}bind pub o !shun pub:shunproc pub:shun {nick host hand chan text} {  set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }]  set text [split $text]  if {![llength $text]} { putnow "NOTICE $nick :Syntax\: !shun nick" ; return 0 }  set target [lindex $text 0]  if {![onchan $target $chan]} { putnow "NOTICE $nick :$target is not on $chan" ; return 0 }  if {[isbotnick $target] || [isop $target $chan] || [ishalfop $target $chan]} { return 0 }  if {[matchattr [nick2hand $target $chan] o|o $chan]} { return 0 }  set tiempo [lindex $text 1]  set reason [join [lrange $text 2 end]]  if {$tiempo ne "" &amp;&amp; ![regexp -nocase {^[1-9][0-9]*[dhms]$} $tiempo] &amp;&amp; $tiempo != 0} {    set reason [string trim "$tiempo $reason"]    set tiempo ""  }  if {$tiempo eq ""} { set tiempo "1h"  }  if {$reason eq ""} { set reason "$tiempo shun for abuse/behaviour"  }  putquick "shun $target $tiempo $reason"  return 0}</code></pre></div>first: need it work from #botop rooms only for opers/globalops<br>second: send confirm msg. to #botop channel the shun added<br>third: add option to remove shun with confirm msg to #botop the shun removed<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13021">Yusif</a> — Tue Sep 26, 2023 12:19 am</p><hr />
]]></content>
	</entry>
	</feed>
