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

	<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>2019-05-19T12:21:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2019-05-14T19:35:23-04:00</updated>

		<published>2019-05-14T19:35:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107657#p107657</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107657#p107657"/>
		<title type="html"><![CDATA[enforce kick matching nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107657#p107657"><![CDATA[
basicly this is what i want this is the msl version<br><br><a href="https://pastebin.com/y48eYFcL" class="postlink">https://pastebin.com/y48eYFcL</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue May 14, 2019 7:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2019-05-10T16:58:07-04:00</updated>

		<published>2019-05-10T16:58:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107650#p107650</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107650#p107650"/>
		<title type="html"><![CDATA[enforce kick matching nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107650#p107650"><![CDATA[
so far this is what i got it loops thro channel list to see if any nick matches the wildcard but i cant seem to stop kick if no one matches the wildcard and if user is protected<br><br>not sure if this is proper tho<br><br><br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- .n pub:kicker31proc pub:kicker31 {nick host hand chan text} {   if {![isatleasthalfop2017ewa $nick $chan]} { return 0 }if {![botisop $chan]} {puthelp "NOTICE $nick :I'm not oped on $chan."return}set users [list]set umasks [list]set reason [join [lrange [split $text "."] 1 end] "."]set text  [lindex [split $text "."] 0]if {$reason eq ""} { set reason "This nick is not allowed please choose a more proper one thank you"  }              set userListx [chanlist $chan]foreach user $text {                        if {[matchattr [nick2hand $user $chan] mno] || [isop $user $chan] || [ishalfop $user $chan]} { putserv "notice $nick :$user is a protected user"break} lappend umasks *$user*!*@* foreach n [chanlist $chan] {  if {[string match -nocase *$user* $n]} {lappend users $n  } }}set count [llength $umasks]putquick "MODE $chan +[string repeat "b" $count] [join $umasks]"putquick "KICK $chan [join $users ","] :$reason"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Fri May 10, 2019 4:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2019-05-19T12:21:38-04:00</updated>

		<published>2019-05-09T09:24:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107645#p107645</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107645#p107645"/>
		<title type="html"><![CDATA[enforce kick matching nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107645#p107645"><![CDATA[
could this be modified to check for part of a wildcard is in any nick in channel and store them in list to mass kick and mass ban <br><div class="codebox"><p>Code: </p><pre><code>bind pub o|o .n pub:kicker31proc pub:kicker31 {nick host hand chan text} { if {![botisop $chan]} {puthelp "NOTICE $nick :I'm not oped on $chan."return}set users [list]set umasks [list]set reason [join [lrange [split $text "."] 1 end] "."]set text  [lindex [split $text "."] 0]if {$reason eq ""} { set reason "This nick is not allowed please choose a more proper one thank you"  }foreach user $text {lappend umasks *$user*!*@*if {![onchan $user $chan]} {putserv "NOTICE $nick $user is not on channel $chan"} else {lappend users $user}}set count [llength $umasks]putquick "MODE $chan +[string repeat "b" $count] [join $umasks]"putquick "KICK $chan [join $users ","] :$reason"}</code></pre></div><br>for example:<br><blockquote class="uncited"><div>15:26:16 (simo)  : .n doz edw aldr<br>15:26:16 -TCL-Tester- : doz is not on channel #testing <br>15:26:16 -TCL-Tester- : edw is not on channel #testing <br>15:26:16 -TCL-Tester- : aldr is not on channel #testing <br>15:26:16  ~TCL-Tester  Sets Mode on  #testing  to:  +bbb *doz*!*@* *edw*!*@* *aldr*!*@* <br>15:26:16  (3 Users) Are Banned  Dozier Edward Aldrich </div></blockquote>to kick all matching nicks but not using bind mode tho but rather searching thro nicklist for matching nicks but to make sure matching nicks arent in any access list of eggdrop and arent current opped halfopped and such in channel to protect those that need protection<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu May 09, 2019 9:24 am</p><hr />
]]></content>
	</entry>
	</feed>
