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

	<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>2006-02-23T06:11:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[silverboy]]></name></author>
		<updated>2006-02-23T06:11:06-04:00</updated>

		<published>2006-02-23T06:11:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60597#p60597</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60597#p60597"/>
		<title type="html"><![CDATA[little help again lock chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60597#p60597"><![CDATA[
I have put it like this but it doesnt work lol<br><br><div class="codebox"><p>Code: </p><pre><code>proc partquit:ban {nick chan uhost} { global botnick partquitkick partquitkickmsg partquitpunish partquitbanmask partquitbantime  set banmask [partquit:banmask:type $nick!$uhost $partquitbanmask]  if {($partquitbantime == 0) || ($partquitbantime &lt; 1) || ($partquitbantime == "")} { set partquitbantime 60 }  if {($partquitkick == 2) &amp;&amp; ($partquitkickmsg == "")} { set partquitkickmsg "" }  if {($partquitkick == 1)} { set partquitkickmsg "0,1Part/Quit Flood1,0 - 2Unwanted characters ,2specific words, control codes 2long messages" }  if {($partquitpunish == 1)} { putserv "PRIVMSG X :ban $chan  *!*@[lindex [split $uhost @] 1] $partquitkickmsg"; return 0 }  if {($partquitpunish == 2)} { putserv "PRIVMSG X :ban $chan  *!*@[lindex [split $uhost @] 1] $partquitkickmsg"; return 0 }  if {($partquitpunish == 3)} { putserv "PRIVMSG X :ban $chan  *!*@[lindex [split $uhost @] 1] $partquitkickmsg"; return 0 }set lock_modes "mr" utimer 60 [list chan:unlock $chan] ## # unlock proc chan:unlock {chan} {   set tmp [split [string trim [lindex [split [getchanmode $chan]] 0] "+"] ""]   if {[regexp -all [join [split $::lock_modes ""] "|"] $tmp] == [string length $::lock_modes]} {     putquick "MODE $chan -$::lock_modes" -next   }   return } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7362">silverboy</a> — Thu Feb 23, 2006 6:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-02-22T00:04:18-04:00</updated>

		<published>2006-02-22T00:04:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60573#p60573</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60573#p60573"/>
		<title type="html"><![CDATA[little help again lock chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60573#p60573"><![CDATA[
Might do. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Feb 22, 2006 12:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-02-21T23:40:17-04:00</updated>

		<published>2006-02-21T23:40:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60570#p60570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60570#p60570"/>
		<title type="html"><![CDATA[little help again lock chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60570#p60570"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>set lock_modes "mr"utimer 60 [list chan:unlock $chan]### unlockproc chan:unlock {chan} {  set tmp [split [string trim [lindex [split [getchanmode $chan]] 0] "+"] ""]  if {[regexp -all [join [split $::lock_modes ""] "|"] $tmp] == [string length $::lock_modes]} {    putquick "MODE $chan -$::lock_modes" -next  }  return}### End ###</code></pre></div></div></blockquote>applying in Annual Obfuscated Tcl Code Contest? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Feb 21, 2006 11:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-02-21T20:23:31-04:00</updated>

		<published>2006-02-21T20:23:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60565#p60565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60565#p60565"/>
		<title type="html"><![CDATA[little help again lock chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60565#p60565"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set lock_modes "mr"utimer 60 [list chan:unlock $chan]### unlockproc chan:unlock {chan} {  set tmp [split [string trim [lindex [split [getchanmode $chan]] 0] "+"] ""]  if {[regexp -all [join [split $::lock_modes ""] "|"] $tmp] == [string length $::lock_modes]} {    putquick "MODE $chan -$::lock_modes" -next  }  return}### End ###</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Feb 21, 2006 8:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[silverboy]]></name></author>
		<updated>2006-02-21T07:26:19-04:00</updated>

		<published>2006-02-21T07:26:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60559#p60559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60559#p60559"/>
		<title type="html"><![CDATA[little help again lock chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60559#p60559"><![CDATA[
i have edited the partquit.tcl so that it would ban thru X... can nyone help me how to make it lock the chan for 60 secs <br><div class="codebox"><p>Code: </p><pre><code>  if {($partquitpunish == 1)} { putserv "PRIVMSG X :ban $chan  *!*@[lindex [split $uhost @] 1] $partquitkickmsg"; return 0 }  if {($partquitpunish == 2)} { putserv "PRIVMSG X :ban $chan  *!*@[lindex [split $uhost @] 1] $partquitkickmsg"; return 0 }  if {($partquitpunish == 3)} { putserv "PRIVMSG X :ban $chan  *!*@[lindex [split $uhost @] 1] $partquitkickmsg"; return 0 }</code></pre></div>how do i put these lines.. hav no idea can anyone help me ??<br>  putquick "MODE $chan +mr" -next <br>  utimer 60 [list putquick "MODE $chan -mr" -next] [/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7362">silverboy</a> — Tue Feb 21, 2006 7:26 am</p><hr />
]]></content>
	</entry>
	</feed>
