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

	<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>2011-07-24T05:28:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[heartbroken]]></name></author>
		<updated>2011-07-24T05:28:36-04:00</updated>

		<published>2011-07-24T05:28:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97275#p97275</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97275#p97275"/>
		<title type="html"><![CDATA[timed unban not working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97275#p97275"><![CDATA[
hi <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>i found a code and i edit somethings. but it has some problems like this code should be remove ban of user in a timed period. i set ban for chan-ignore and its been working nicely but when time comes for remove it that mode is not working..i tried  different type of timing sets  for remove that mode when timer finished but nope.. <br><br>and i wanna ask you something how can we set user-nick in msg part i tried like : hi $nick welcome etc.. but $nick shows botnick <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>need your help ..thank you..<div class="codebox"><p>Code: </p><pre><code>#########################################################################set canales "#muy-chan"set badidents {"1020*""1030*""1040*""2050*""1042*""1031*"}########################################################set tiempoban 15set noflagban "fmo|omf"set mensaje "my first msg"set mensaje1 "this is my second one*"set mensaje2 "i'm still talking"##########################################################bind join - * join:bbadidentproc join:bbadident {nick host hand chan} { global botnick badidents canales noflagban tiempoban mensaje mensaje1 mensaje2  if {(([lsearch -exact [string tolower $canales] [string tolower $chan]] != -1) || ($canales== "*")) &amp;&amp; ($nick != $botnick)} {    foreach bbadident [string tolower $badidents] {     set badidban "*!*$bbadident*@*"     set userident "[string trimleft [string tolower [lindex [split $host "@"] 0]] "~"]"    if {[string match *$bbadident* [string tolower $userident]]} {      if {([botisop $chan]) &amp;&amp; (![isop $nick $chan]) &amp;&amp; (![isvoice $nick $chan]) &amp;&amp; (![matchattr $hand $noflagban $chan]) &amp;&amp; ([onchan $nick $chan])} {  putquick "MODE $chan +b ~q:$badidban"  putserv "NOTICE $nick :$mensaje"  putserv "NOTICE $nick :$mensaje1"          putserv "NOTICE $nick :$mensaje2"        timer $tiempoban "pushmode $chan -b ~q:$badidban"        return 0        }      }    }  }}putlog "-= Loaded: BadIdban.tcl By Chino_^ =-"return</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11703">heartbroken</a> — Sun Jul 24, 2011 5:28 am</p><hr />
]]></content>
	</entry>
	</feed>
