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

	<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>2018-06-12T10:53:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2018-06-12T10:53:11-04:00</updated>

		<published>2018-06-12T10:53:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106896#p106896</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106896#p106896"/>
		<title type="html"><![CDATA[ident ban instead of hostban if irccloud user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106896#p106896"><![CDATA[
tested and seems to work fine <br><br>nice work SpiKe^^<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Jun 12, 2018 10:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2018-06-11T20:22:29-04:00</updated>

		<published>2018-06-11T20:22:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106894#p106894</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106894#p106894"/>
		<title type="html"><![CDATA[irccloud_kb.tcl v0.1]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106894#p106894"><![CDATA[
Great. An error we can fix <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Found a cut n paste error in three of my expressions. <br><br>Please check this next version.<br><br>..<div class="codebox"><p>Code: </p><pre><code>## &gt;&gt; irccloud_kb.tcl v0.1 &lt;&lt; ##################  Use the default kick reason:  Requested  ################# !kb ted          :kick &amp; ban ted  (this script doesn't remove this ban)# !kb ted 20       :kick &amp; ban ted  (remove ban in 20 minutes)# !kb ted 20m      :kick &amp; ban ted  (remove ban in 20 minutes)# !kb ted 90s      :kick &amp; ban ted  (remove ban in 90 seconds)# !kb ted 4h       :kick &amp; ban ted  (remove ban in 4 hours)# !kb ted 1d       :kick &amp; ban ted  (remove ban in 24 hours)################  Use a custom kick reason  ################# !kb ted Damn spammer   :kick &amp; ban ted  (kick reason:  Damn spammer)# !kb ted 20 stop that   :kick with reason: stop that (ban for 20 minutes)################  Do just a kick, or just a ban  ################# !k ted                :kick ted with default reason:  Requested# !k ted Damn spammer   :kick ted with reason:  Damn spammer# !b ted                :ban ted  (this script doesn't remove this ban)# !b ted 1h             :ban ted  (remove this ban in 1 hour)bind pub o|o !kb pubm:kickbanbind pub o|o !k pubm:kickbind pub o|o !b pubm:banproc pubm:kick {nick host hand chan text} {  pubm:kickban $nick $host $hand $chan $text k Kick}proc pubm:ban {nick host hand chan text} {  pubm:kickban $nick $host $hand $chan $text b Ban}proc pubm:kickban {nick host hand chan text {do kb} {say "Kick and Ban"} } {  set text [split [string trim $text]]  if {![llength $text]} {    puthelp "NOTICE $nick :Must provide a target nick to $say."    return 0  }  set text [lassign $text whom]  if {[isbotnick $whom] || ![botisop $chan] || [matchattr [nick2hand $whom $chan] mn]} {    return 0  }  if {[set chost [getchanhost $whom $chan]] eq ""} {     puthelp "NOTICE $nick :$whom is not on $chan"     return 0  }  append say " $whom"  if {[string match *b $do]} {    if {[string match "*.irccloud.com" $chost]} {      set mask *![lindex [split $chost @] 0]@*    } else {  set mask [maskhost "$whom!$chost" 2]  }    append say " ($mask"    if {[llength $text]} {      set rest [lassign $text exp]      if {[regexp {^([1-9][0-9]{0,3})([smhd]?)$} $exp - num dur]} {        if {$dur eq ""} {  set dur m  }        set tcall [list timed:unban $mask $chan $nick $num $dur]        if {$dur eq "d"} {  timer [expr {$num * 1440}] $tcall        } elseif {$dur eq "h"} {  timer [expr {$num * 60}] $tcall        } elseif {$dur eq "s"} {  utimer $num $tcall        } else {  utimer [expr {$num * 60}] $tcall  }        append say " for $num$dur"        set text $rest      }    }    append say ")"  }  if {[string match k* $do]} {  set reason "Requested"    if {[llength $text]} {  set reason [join $text]  }    append say " --&gt; With Reason: $reason"  }  putquick "NOTICE $nick :$say"  if {[string match *b $do]} {  putserv "MODE $chan +b $mask"  }  if {[string match k* $do]} {  putserv "KICK $chan $whom :$reason"  }}proc timed:unban {mask chan nick num dur} {  if {[botisop $chan] &amp;&amp; [ischanban $mask $chan]} {    putserv "MODE $chan -b $mask"  }}putlog "irccloud_kb.tcl v0.1 Loaded."</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Mon Jun 11, 2018 8:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stefano1990]]></name></author>
		<updated>2018-06-11T15:12:21-04:00</updated>

		<published>2018-06-11T15:12:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106893#p106893</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106893#p106893"/>
		<title type="html"><![CDATA[Hello]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106893#p106893"><![CDATA[
now i check it the problem , can't use non-numeric string as operand of "*"<br>only timed doesnt work, without timed ban works fine<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12745">Stefano1990</a> — Mon Jun 11, 2018 3:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2018-06-11T00:10:51-04:00</updated>

		<published>2018-06-11T00:10:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106892#p106892</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106892#p106892"/>
		<title type="html"><![CDATA[ident ban instead of hostban if irccloud user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106892#p106892"><![CDATA[
Early testing shows this script working here. :)<br><br>I'll look more tomorrow.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Mon Jun 11, 2018 12:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stefano1990]]></name></author>
		<updated>2018-06-10T18:45:37-04:00</updated>

		<published>2018-06-10T18:45:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106891#p106891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106891#p106891"/>
		<title type="html"><![CDATA[ident ban instead of hostban if irccloud user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106891#p106891"><![CDATA[
i think it is working cozz we have the same command on bot channel when quit out the channel bot is not work <br> nothing from this command is now work dont get make no one action and is not show me any notice what and why is not work any of all commands on script<br>example i  make <br>!kb Test2 out<br>!k test2 out<br>!b test2 <br><br>no one of this work and egddrop dont react to the comand of the script<br>and dont show me notice what is not work or what is wrong <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>can eggdrrop give the command to the Channel Bot to give ban on irccloud ident and normal user without irccloud to hostmask like normaly on ip<br><br>here ur script is not recognise the command of eggdrop script u make only the channel bot<br><br>[18:53:07] &lt;Alb&gt; !k Test2<br>[18:53:11] &lt;Alb&gt; !kb Test2<br>[18:53:15] &lt;Alb&gt; !b Test2<br>[18:53:26] &lt;~aL&gt; !k test2 5<br>[18:53:27] * Test2 was kicked from #TEST by TEST (5)<br><br>[19:51:14] &lt;~aL&gt; !kb test2 20<br>[19:51:15] * Test2 was kicked from #TEST by TEST (20)<br>[19:51:15] * TEST sets mode: +b *!*@test-339B913C.irccloud.com<br><br>this is the first script with !kb2 is work<br><br>[18:54:08] &lt;@aL&gt; !kb2 Test2 Out<br>[18:54:09] * Rocky sets mode: +b *!uid290495@*<br>[18:54:09] &gt;&gt;  BAN for nick  Test2 &lt;&lt;<br>[18:54:10] * Test2 was kicked from #TEST by Rocky (Out)<br><br>Rocky is the eggdrop name <br>TEST channel name<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12745">Stefano1990</a> — Sun Jun 10, 2018 6:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2018-06-10T17:34:27-04:00</updated>

		<published>2018-06-10T17:34:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106890#p106890</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106890#p106890"/>
		<title type="html"><![CDATA[ident ban instead of hostban if irccloud user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106890#p106890"><![CDATA[
You said the script worked fine then "is not work anymore why ?"<br><br>Please explain what it is doing that it should not be doing.<br>Also explain what it isn't doing that it should be doing.<br><br>Paste all errors that the script may have generated.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Sun Jun 10, 2018 5:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stefano1990]]></name></author>
		<updated>2018-06-10T12:35:45-04:00</updated>

		<published>2018-06-10T12:35:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106888#p106888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106888#p106888"/>
		<title type="html"><![CDATA[Hello]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106888#p106888"><![CDATA[
Spike^^^ the last script for eggdrop u make it !kb !k !b nick is not work anymore why ?<br><br>and the first with !kb2 is work perfectly can u see the last script why is not work like !kb2 nick <br><br>maybe need to be the $whom = $whom3 and the $mask = $mask3 ?<br>thx in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12745">Stefano1990</a> — Sun Jun 10, 2018 12:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stefano1990]]></name></author>
		<updated>2018-06-07T15:07:49-04:00</updated>

		<published>2018-06-07T15:07:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106883#p106883</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106883#p106883"/>
		<title type="html"><![CDATA[Hello]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106883#p106883"><![CDATA[
Spike^^  yes my friend is work great  and thx again for ur help ur amazing<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12745">Stefano1990</a> — Thu Jun 07, 2018 3:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2018-06-07T09:33:53-04:00</updated>

		<published>2018-06-07T09:33:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106880#p106880</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106880#p106880"/>
		<title type="html"><![CDATA[ident ban instead of hostban if irccloud user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106880#p106880"><![CDATA[
Yes i understand , but the script needs to be tested as it stands now.<br><br>This forum thread is about a kick/ban script.<br>Please check all of the included functions.<br><br>Working with the ircd as an oper is a different script and forum thread.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Thu Jun 07, 2018 9:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stefano1990]]></name></author>
		<updated>2018-06-07T09:30:32-04:00</updated>

		<published>2018-06-07T09:30:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106879#p106879</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106879#p106879"/>
		<title type="html"><![CDATA[ident ban instead of hostban if irccloud user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106879#p106879"><![CDATA[
Yes i understand , but i need like kb ban u make it and for gline with command example !g ted 1h Adversiting can u do it pls thx again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12745">Stefano1990</a> — Thu Jun 07, 2018 9:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2018-06-07T09:31:42-04:00</updated>

		<published>2018-06-07T09:27:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106878#p106878</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106878#p106878"/>
		<title type="html"><![CDATA[ident ban instead of hostban if irccloud user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106878#p106878"><![CDATA[
Stefano1990<br><br>This is a kick/ban script.<br><br>Please check all of the included functions.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Thu Jun 07, 2018 9:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stefano1990]]></name></author>
		<updated>2018-06-07T08:37:23-04:00</updated>

		<published>2018-06-07T08:37:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106877#p106877</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106877#p106877"/>
		<title type="html"><![CDATA[Hello]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106877#p106877"><![CDATA[
can u write on this script and for the gline command !g nick 1h or 1d and gline goes to irccloud ident to quit user  without infecting other user with same ip irccloud and other regular user with regular ip take gline on their real ip :<br>example: user with ircloud take a gline on *!ident@* and regular user  on *@IP<br>ty in advance for ur help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12745">Stefano1990</a> — Thu Jun 07, 2018 8:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2018-06-06T17:55:32-04:00</updated>

		<published>2018-06-06T17:55:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106876#p106876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106876#p106876"/>
		<title type="html"><![CDATA[ident ban instead of hostban if irccloud user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106876#p106876"><![CDATA[
<blockquote class="uncited"><div>Can u do it to make this script eggdrrop to ban only with command !b nick 5 <br>to put the time of ban 5 10 30m 1h 2h</div></blockquote>Try this..<div class="codebox"><p>Code: </p><pre><code>################  Use the default kick reason:  Requested  ################# !kb ted          :kick &amp; ban ted  (this script doesn't remove this ban)# !kb ted 20       :kick &amp; ban ted  (remove ban in 20 minutes)# !kb ted 20m      :kick &amp; ban ted  (remove ban in 20 minutes)# !kb ted 90s      :kick &amp; ban ted  (remove ban in 90 seconds)# !kb ted 4h       :kick &amp; ban ted  (remove ban in 4 hours)# !kb ted 1d       :kick &amp; ban ted  (remove ban in 24 hours)################  Use a custom kick reason  ################# !kb ted Damn spammer   :kick &amp; ban ted  (kick reason:  Damn spammer)# !kb ted 20 stop that   :kick with reason: stop that (ban for 20 minutes)################  Do just a kick, or just a ban  ################# !k ted                :kick ted with default reason:  Requested# !k ted Damn spammer   :kick ted with reason:  Damn spammer# !b ted                :ban ted  (this script doesn't remove this ban)# !b ted 1h             :ban ted  (remove this ban in 1 hour)bind pub o|o !kb pubm:kickbanbind pub o|o !k pubm:kickbind pub o|o !b pubm:banproc pubm:kick {nick host hand chan text} {  pubm:kickban $nick $host $hand $chan $text k Kick}proc pubm:ban {nick host hand chan text} {  pubm:kickban $nick $host $hand $chan $text b Ban}proc pubm:kickban {nick host hand chan text {do kb} {say "Kick and Ban"} } {  set text [split [string trim $text]]  if {![llength $text]} {    puthelp "NOTICE $nick :Must provide a target nick to $say."    return 0  }  set text [lassign $text whom]  if {[isbotnick $whom] || ![botisop $chan] || [matchattr [nick2hand $whom $chan] mn]} {    return 0  }  if {[set chost [getchanhost $whom $chan]] eq ""} {     puthelp "NOTICE $nick :$whom is not on $chan"     return 0  }  append say " $whom"  if {[string match *b $do]} {    if {[string match "*.irccloud.com" $chost]} {      set mask *![lindex [split $chost @] 0]@*    } else {  set mask [maskhost "$whom!$chost" 2]  }    append say " ($mask"    if {[llength $text]} {      set rest [lassign $text exp]      if {[regexp {^([1-9][0-9]{0,3})([smhd]?)$} $exp - num dur]} {        if {$dur eq ""} {  set dur m  }        set tcall [list timed:unban $mask $chan $nick $num $dur]        if {$dur eq "d"} {  timer [expr {$dur * 1440}] $tcall        } elseif {$dur eq "h"} {  timer [expr {$dur * 60}] $tcall        } elseif {$dur eq "s"} {  utimer $num $tcall        } else {  utimer [expr {$dur * 60}] $tcall  }        append say " for $num$dur"        set text $rest      }    }    append say ")"  }  if {[string match k* $do]} {  set reason "Requested"    if {[llength $text]} {  set reason [join $text]  }    append say " --&gt; With Reason: $reason"  }  putquick "NOTICE $nick :$say"  if {[string match *b $do]} {  putserv "MODE $chan +b $mask"  }  if {[string match k* $do]} {  putserv "KICK $chan $whom :$reason"  }}proc timed:unban {mask chan nick num dur} {  if {[botisop $chan] &amp;&amp; [ischanban $mask $chan]} {    putserv "MODE $chan -b $mask"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Wed Jun 06, 2018 5:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stefano1990]]></name></author>
		<updated>2018-06-05T07:00:06-04:00</updated>

		<published>2018-06-05T07:00:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106864#p106864</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106864#p106864"/>
		<title type="html"><![CDATA[ident ban instead of hostban if irccloud user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106864#p106864"><![CDATA[
And for ban with time command !b nick 5 on min<br>and for gline !g nick Out ....... user quit from server<br>can u write the code pls , thx in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12745">Stefano1990</a> — Tue Jun 05, 2018 7:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stefano1990]]></name></author>
		<updated>2018-06-04T18:05:44-04:00</updated>

		<published>2018-06-04T18:05:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106863#p106863</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106863#p106863"/>
		<title type="html"><![CDATA[Hello]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106863#p106863"><![CDATA[
Can u do it to make this script eggdrrop to ban only with command !b nick 5<br>to put the time of ban 5 10 30m 1h 2h<br><br>and how to make to give gline  on ident of irccloud like u make it for kb and to quit user from server with command channel !g nick Out<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12745">Stefano1990</a> — Mon Jun 04, 2018 6:05 pm</p><hr />
]]></content>
	</entry>
	</feed>
