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

	<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>2007-01-28T11:33:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-01-28T11:33:30-04:00</updated>

		<published>2007-01-28T11:33:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70013#p70013</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70013#p70013"/>
		<title type="html"><![CDATA[Adding auto identify to existing autoop.tcl script! (Solved)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70013#p70013"><![CDATA[
Why not just use a different Tcl, there are a lot of Tcl scripts that auto identify your bot and more. I can suggest Chanservneed.tcl by De Kus.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Jan 28, 2007 11:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[chadrt]]></name></author>
		<updated>2007-01-28T11:31:02-04:00</updated>

		<published>2007-01-28T11:31:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70012#p70012</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70012#p70012"/>
		<title type="html"><![CDATA[Adding auto identify to existing autoop.tcl script! (Solved)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70012#p70012"><![CDATA[
No it would not identify and it would shoot errors like cannot read $variable and the like.  I got frustrated enough to leave it alone for awhile and use a different method.  I still need to get the script working though, if you can help that would be great!  Thanks a bunch...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7522">chadrt</a> — Sun Jan 28, 2007 11:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-01-27T08:31:23-04:00</updated>

		<published>2007-01-27T08:31:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69974#p69974</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69974#p69974"/>
		<title type="html"><![CDATA[Adding auto identify to existing autoop.tcl script! (Solved)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69974#p69974"><![CDATA[
You didn't say what the problem actually is; is your bot not identifying or what?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jan 27, 2007 8:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[chadrt]]></name></author>
		<updated>2007-01-26T22:26:37-04:00</updated>

		<published>2007-01-26T22:26:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69967#p69967</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69967#p69967"/>
		<title type="html"><![CDATA[Adding auto identify to existing autoop.tcl script! (Solved)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69967#p69967"><![CDATA[
This is my first time doing anything with TCL I have been reading and I thought I would do something simple so I am modifying someone else's script to add a function to the main script.<br><br>Below is my code then I will post my problem and hopefully someone can help. (This is only a partial I am leaving out the credits and other junk so I dont fill the page.)<br><div class="codebox"><p>Code: </p><pre><code>set idnick "NickServ"set idpass "NickServPasswordHere"set servicenick "ChanServ"set punish "3"set deopkickreason "12{Anti Deop Protection} 5Kindly Dont Deop Me Next Time"bind mode - "*-*o*" RanaUsman:autoreopproc RanaUsman:autoreop {nick uhost hand chan mode target} {global botnick servicenick punish deopkickreasonif {($target == $botnick) &amp;&amp; ($nick != $botnick)} {if {($nick == "X") || ($nick == "Q") || ($nick == "L") || ($nick == "chanserv")} { return 0 }putlog "\002BOT DEOPED ON $chan by $nick"putlog "\002REOPING BOT ON $chan"putserv "PRIVMSG $servicenick :op $chan $botnick"putlog "\002REOP SUCCESSFULL"utimer 2 [list RanaUsman:punish $nick $uhost $chan]  }}proc RanaUsman:punish {nick uhost chan} {global punish deopkickreasonif {($punish == 0)} { return 0 }if {($punish == 1)} { if {($nick == "X") || ($nick == "Q") || ($nick == "L") || ($nick == "chanserv")} { return 0 }putquick "KICK $chan $nick :$deopkickreason"putlog "\002$nick Kicked from $chan for Deoping me on $chan " }if {($punish == 2)} { if {($nick == "X") || ($nick == "Q") || ($nick == "L") || ($nick == "chanserv")} { return 0 }putquick "MODE $chan +b *!*@[lindex [split $uhost @] 1]"putquick "KICK $chan $nick :$deopkickreason"putlog "\002 $nick BAN N KICKED FROM $chan FOR DEOPING ME ON $chan"}if {($punish == 3)} { putquick "MODE $chan -o $nick"putlog "\002$nick DEOPED FOR DEOPING ME ON $chan" }}  proc evnt:init-server {type} { global idnick idpassputquick "PRIVMSG $idnick :IDENTIFY $idpass"}putlog "=- \002DEOP PROTECTION BY RANA USMAN (www.ranausman.tk) LOADED SUCCESSFULLY \002 -="</code></pre></div>(Edit: I have changed my code to the above and hopefully it is a little closer to what should be!  But now the script loads but wont perform the function required of it.)<br><br>My addition to the base code is:<div class="codebox"><p>Code: </p><pre><code>proc evnt:init-server {type} {global idnick idpassputquick "PRIVMSG $idnick :IDENTIFY $idpass"}</code></pre></div>I also added the two set's idnick and idpass hoping to make it so that you can set those variables from the top in configuration.<br><br>I am so new to this code stuff that I am hoping that I even have the brackets in the right place <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">  Thank you and please dont flame me here I have racked my brain for hours on this one, and I am just hoping to take some knowledge away from this experience.  Thanks again...[/quote]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7522">chadrt</a> — Fri Jan 26, 2007 10:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
