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

	<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-11-19T17:10:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Justdabomb2]]></name></author>
		<updated>2006-11-19T17:10:41-04:00</updated>

		<published>2006-11-19T17:10:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68228#p68228</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68228#p68228"/>
		<title type="html"><![CDATA[Need Help from IRC Script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68228#p68228"><![CDATA[
it thinks you are trying to use "security" as a command because it is in bewteen [ and ]. If you want the bracktes to show up on the message to the channel , use "\[" and "\]"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8244">Justdabomb2</a> — Sun Nov 19, 2006 5:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[JoKeR]]></name></author>
		<updated>2006-11-19T16:05:12-04:00</updated>

		<published>2006-11-19T16:05:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68225#p68225</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68225#p68225"/>
		<title type="html"><![CDATA[Need Help from IRC Script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68225#p68225"><![CDATA[
It doesn't found...I don't understand why...<br>Please Help  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>-------EDIT-------------<br><br>I tried and i tried...this is the result:<br><div class="codebox"><p>Code: </p><pre><code>[21:17] &lt;JoKeR&gt; .:( 21:16"17 ):. &lt;POiNT|SECURiTY&gt; [15:17] Tcl error [pub:add]: invalid command name "Security"[21:17] &lt;JoKeR&gt; .:( 21:16"26 ):. &lt;POiNT|SECURiTY&gt; [15:17] Tcl error [evnt:join]: invalid command name "Security"</code></pre></div>Why?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8382">JoKeR</a> — Sun Nov 19, 2006 4:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-11-17T13:53:12-04:00</updated>

		<published>2006-11-17T13:53:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68151#p68151</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68151#p68151"/>
		<title type="html"><![CDATA[Need Help from IRC Script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68151#p68151"><![CDATA[
Why don't you try it out and see yourself?<br><br>Also, You need to check the lsearch return for either -1 or anything else, what you use right now would also ban the *first* user on your little access list.<br><br>(Also, checking specifically by nick is stupid, very stupid. If someone uses your nick, he can use your script)<br><br>Bind the flag to a proper flag instead and make sure the eggdrop knows you at all times.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Fri Nov 17, 2006 1:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[JoKeR]]></name></author>
		<updated>2006-11-17T13:48:07-04:00</updated>

		<published>2006-11-17T13:48:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68149#p68149</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68149#p68149"/>
		<title type="html"><![CDATA[Need Help from IRC Script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68149#p68149"><![CDATA[
Ok sorry...I tried to do by myself with some guides but I don't know if it's correct or not.<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !add pub:add bind join - "#lab *" evnt:join proc pub:add {nick uhost hand chan arg} {   global access   if {[string equal -nocase $nick JoKeR] || [string equal -nocase $nick OtherNick] || [string equal -nocase $nick ThirdNick]} {      lappend access($chan) $arg  }   puthelp "PRIVMSG $chan :\00314[\00304Security\00314] \00307 $arg \00302Insertio Con Successo!\003" } proc evnt:join {nick uhost hand chan} {   global access   if {[lsearch access($chan) $nick]} {     newchanban $chan *!$uhost - "\00314[\00304Security\00314] \00302 Access not allowed \003"   } else {     puthelp "PRIVMSG $chan : \00314[\00304Security\00314] \00302 Access Allowed for \00302${nick}!\003"   } }</code></pre></div>Can you tell me if it's correct? It should set different access listes, one for each chan, and different nicks should add users to the access list.<br>One thing I can't do...the command !del<br>Now can you help me?<br>thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8382">JoKeR</a> — Fri Nov 17, 2006 1:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-11-14T15:27:34-04:00</updated>

		<published>2006-11-14T15:27:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68051#p68051</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68051#p68051"/>
		<title type="html"><![CDATA[Need Help from IRC Script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68051#p68051"><![CDATA[
This forum is not for translating mIRC to TCL, it's a "requests" forum. This means, request a script and maybe someone will implement it for you.<br><br>Also, did you try to search the <a href="http://www.egghelp.org/tcl.htm" class="postlink">Tcl Archive</a>? This seems like a blacklist script (you can also use Eggdrop's internal banlist for this).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Nov 14, 2006 3:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[JoKeR]]></name></author>
		<updated>2006-11-14T10:14:04-04:00</updated>

		<published>2006-11-14T10:14:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68045#p68045</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68045#p68045"/>
		<title type="html"><![CDATA[Need Help from IRC Script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68045#p68045"><![CDATA[
Hi, this is my first message and i know that starting with requestes it's not the right way to start, but I really need that.<br><br>So, I don't know anything about TCL scripting...I tried to see some guides but for me it's like Arabic...<br><br>I've this IRC script:<div class="codebox"><p>Code: </p><pre><code>on *:text:!add*:#chan:{   if ($nick == JoKeR) &amp;&amp; ($2 != $null) set %access $addtok(%access,$2,32)   { msg #lab 14[4Security14] 7 $2 2Succefully Added! }  } on *:join:#chan:{   { msg #lab 14[4Security14] 2Searching for your UserName... }    if ($istok(%access,$nick,32) == $false) {   mode $chan +b $address($nick,1) | msg #lab 14[4Security14] 2Access not allowed for 7 $nick 2! | kick $chan $nick Access not allowed! Info: JoKeR }   if ($istok(%access,$nick,32) != $false) { msg #lab 14[4Security14] 2Access Allowed for 7 $nick ! } }</code></pre></div>Now I want to transform to TCL script, with some modify:<br>1) More users can add user to the access list (ex User1, User2, User3)<br>2) I would use the same TCL for more channel (ex Chan1, Chan2, Chan3)<br>3) I don't want to ban users that aren't on the access list, but i want to sapart them, or, if it's impossible, to set a timed ban<br>4) Add a !del command that leave the nick from the access list<br><br>If you could do it, please also explane me how the script is maked, so next time i would try by myself.<br><br>Thx (Sorry I don't know if my English is correct, I'm from Rome!)  <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=8382">JoKeR</a> — Tue Nov 14, 2006 10:14 am</p><hr />
]]></content>
	</entry>
	</feed>
