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

	<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>2008-08-20T15:39:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sh3ny]]></name></author>
		<updated>2008-08-20T15:39:13-04:00</updated>

		<published>2008-08-20T15:39:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84720#p84720</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84720#p84720"/>
		<title type="html"><![CDATA[unban public command with security code.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84720#p84720"><![CDATA[
it solved, thanks nor7on.<br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10112">Sh3ny</a> — Wed Aug 20, 2008 3:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sh3ny]]></name></author>
		<updated>2008-08-13T13:25:51-04:00</updated>

		<published>2008-08-13T13:25:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84575#p84575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84575#p84575"/>
		<title type="html"><![CDATA[unban public command with security code.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84575#p84575"><![CDATA[
some help?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10112">Sh3ny</a> — Wed Aug 13, 2008 1:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sh3ny]]></name></author>
		<updated>2008-08-09T18:29:35-04:00</updated>

		<published>2008-08-09T18:29:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84526#p84526</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84526#p84526"/>
		<title type="html"><![CDATA[unban public command with security code.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84526#p84526"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind join - * check:banbind msg - unban unban:nickproc check:ban {nick uhost hand chan} { global unbanc set banned 0 set hostmask [string tolower $nick!$uhost] foreach ban [banlist $chan] {  set b [lindex $ban 0]  if {[string match -nocase $b $hostmask]} {   set banned 1   break  } } if {$banned} {  set unbanc($hostmask) [randstring 5]:$chan:$b  puthelp "privmsg $nick :/msg Eggdrupy unban [lindex [split $unbanc($hostmask) :] 0]" }}proc unban:nick {nick uhost hand arg} { global unbanc set code [lindex [split $arg] 0] set hostmask [string tolower $nick!$uhost] if {[info exists unbanc($hostmask)]} {  foreach {c chan b} [split $unbanc($hostmask) :] {break}  if {[string equal $code $c]} {   killchanban $chan $b   unset $unbanc($hostmask)  } {   puthelp "privmsg $nick :Invalid code: $code"  } }}</code></pre></div>Edit: Modified code to remove the ban from the bot's internal banlist instead of channel banlist.</div></blockquote>Hi Sir_Fz.<br><br>u can insert this code in your blacklist.1.3? so i like ur tcl blacklist  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>b coz, want now remove bans puts it a bd (blacklist.txt).<br>and add to blackist with a public command, without reason (only ex: %badd nick) so my eggdrop add this host in blacklist *!*@host.domain.<br><br>so, when a user have ban in bd, my egg put kick:<br><br>* Testuser2 was KICKED by myeggdrop (you're in a blacklist, if this an error put: /msg Chasse unban)<br><br>so, when this user put:  /msg Chasse unban<br>eggdrop response in privmsg with a code generate:<br>"hi $nick, if u want unbanned put now:  /msg Chasse unban $code.<br><br>(if other user don't have ban, and put command unban, my eggdrop ignore this user.)<br><br>if user is kicked and don't put  /msg Chasse unban.<br>my eggdrop DON'T send privmsg to user.<br><br>aaaaaaaaaaahh and u can add this type to enable script?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br><br>.chanset #mychan +/-blacklist<br>and<br>.chanset #mychan +/-lockban <br><br>ex:<br>If<br>.chanset #mychan +lockban <br>only flags +n or +m can remove bans via dcc or pub command.<br><br>.chanset #mychan -lockban<br>flags +n or +m AND ONLY user banned can remove ur own ban.<br><br>sorry  for disturb you. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><img alt=":cry:" class="emoji smilies" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f622.svg"><img alt=":cry:" class="emoji smilies" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f622.svg"><img alt=":cry:" class="emoji smilies" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f622.svg"><img alt=":cry:" class="emoji smilies" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f622.svg"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10112">Sh3ny</a> — Sat Aug 09, 2008 6:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-08-09T12:10:08-04:00</updated>

		<published>2008-08-09T12:10:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84520#p84520</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84520#p84520"/>
		<title type="html"><![CDATA[unban public command with security code.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84520#p84520"><![CDATA[
<blockquote class="uncited"><div>Sir_Fz: Don't you need to remove the ban from the internal banlist aswell? Otherwise, wouldn't it just be restored by the bot when the user returns (depending on channel settings)..</div></blockquote>Yes indeed, skipped that one. I fixed it, thanks for pointing that out <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Aug 09, 2008 12:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-08-09T12:04:44-04:00</updated>

		<published>2008-08-09T12:04:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84519#p84519</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84519#p84519"/>
		<title type="html"><![CDATA[unban public command with security code.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84519#p84519"><![CDATA[
Make sure alltools.tcl is loaded before running this script, as it provides the "randstring" function used to generate the random key.<br><br>Sir_Fz: Don't you need to remove the ban from the internal banlist aswell? Otherwise, wouldn't it just be restored by the bot when the user returns (depending on channel settings)..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Aug 09, 2008 12:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-08-09T12:09:12-04:00</updated>

		<published>2008-08-09T11:50:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84518#p84518</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84518#p84518"/>
		<title type="html"><![CDATA[unban public command with security code.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84518#p84518"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join - * check:banbind msg - unban unban:nickproc check:ban {nick uhost hand chan} { global unbanc set banned 0 set hostmask [string tolower $nick!$uhost] foreach ban [banlist $chan] {  set b [lindex $ban 0]  if {[string match -nocase $b $hostmask]} {   set banned 1   break  } } if {$banned} {  set unbanc($hostmask) [randstring 5]:$chan:$b  puthelp "privmsg $nick :/msg Eggdrupy unban [lindex [split $unbanc($hostmask) :] 0]" }}proc unban:nick {nick uhost hand arg} { global unbanc set code [lindex [split $arg] 0] set hostmask [string tolower $nick!$uhost] if {[info exists unbanc($hostmask)]} {  foreach {c chan b} [split $unbanc($hostmask) :] {break}  if {[string equal $code $c]} {   killchanban $chan $b   unset $unbanc($hostmask)  } {   puthelp "privmsg $nick :Invalid code: $code"  } }}</code></pre></div>Edit: Modified code to remove the ban from the bot's internal banlist instead of channel banlist.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Aug 09, 2008 11:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sh3ny]]></name></author>
		<updated>2008-08-08T17:05:15-04:00</updated>

		<published>2008-08-08T17:05:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84502#p84502</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84502#p84502"/>
		<title type="html"><![CDATA[unban public command with security code.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84502#p84502"><![CDATA[
someone can helpme?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10112">Sh3ny</a> — Fri Aug 08, 2008 5:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sh3ny]]></name></author>
		<updated>2008-08-05T19:43:30-04:00</updated>

		<published>2008-08-05T19:43:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84420#p84420</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84420#p84420"/>
		<title type="html"><![CDATA[unban public command with security code.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84420#p84420"><![CDATA[
Hi.<br><br>can helpme pls, is a unban public msg unban command from internalbanlist.<br><br>need a little source, if user1 is banned from #channel.<br><br>* Eggdrupy set mode: +b *!*@francesca.clubeuropa.ro <br>* un-tip` was kicked by Eggdrupy (if u want be unbanned pls: /msg Eggdrupy unban)<br><br>so, when user1 put: <br>/msg Eggdrupy unban<br><br>my eggdrop respond and generate a code.<br>Hi User1, Your $host have ban in #channel, pls put: /msg Eggdrupy unban 235672<br><br>if user1 put wrong code, bot don't unban, if user1 write correct code, eggdrop put unban in #Channel.<br><br>* Eggdrupy set mode: -b *!*@francesca.clubeuropa.ro <br><br>so, if an other user don't have ban in #channel and this user put /msg myeggdrop unban; bot ignore this privmsg.<br><br>thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed">  &amp; sorry for my baaaaaad english ;****<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10112">Sh3ny</a> — Tue Aug 05, 2008 7:43 pm</p><hr />
]]></content>
	</entry>
	</feed>
