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

	<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-12-07T03:22:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[SIrJoKer]]></name></author>
		<updated>2011-12-07T03:22:33-04:00</updated>

		<published>2011-12-07T03:22:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98350#p98350</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98350#p98350"/>
		<title type="html"><![CDATA[AC.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98350#p98350"><![CDATA[
There is nobody who can help me with this script ?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10796">SIrJoKer</a> — Wed Dec 07, 2011 3:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SIrJoKer]]></name></author>
		<updated>2011-11-25T11:29:19-04:00</updated>

		<published>2011-11-25T11:29:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98252#p98252</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98252#p98252"/>
		<title type="html"><![CDATA[AC.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98252#p98252"><![CDATA[
I have sent a pm to him about 3 days ago but no reply. There is enyone who can help me with this issue please ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10796">SIrJoKer</a> — Fri Nov 25, 2011 11:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SIrJoKer]]></name></author>
		<updated>2011-11-23T13:13:37-04:00</updated>

		<published>2011-11-23T13:13:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98240#p98240</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98240#p98240"/>
		<title type="html"><![CDATA[AC.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98240#p98240"><![CDATA[
No i have no contact with him so far. I thought i will find an answer for my problem here. Thanks anyway!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10796">SIrJoKer</a> — Wed Nov 23, 2011 1:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-11-20T10:44:17-04:00</updated>

		<published>2011-11-20T10:44:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98233#p98233</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98233#p98233"/>
		<title type="html"><![CDATA[AC.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98233#p98233"><![CDATA[
You get that error cos the <em class="text-italics">user_names</em> variable isn't created (doesn't exist) prior to using it. Have you contacted <a href="http://forum.egghelp.org/profile.php?mode=viewprofile&amp;u=5982" class="postlink">iamdeath</a> to let him know about this error?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Nov 20, 2011 10:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SIrJoKer]]></name></author>
		<updated>2011-11-18T08:59:40-04:00</updated>

		<published>2011-11-18T08:59:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98229#p98229</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98229#p98229"/>
		<title type="html"><![CDATA[AC.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98229#p98229"><![CDATA[
Hey guys,<br>I just installed AC.tcl on my egg but doesn't wanna work properly and it gives me an error in telnet: Tcl error [ac:check]: can't read "user_names": no such variable<br><br>The code:<div class="codebox"><p>Code: </p><pre><code>############ BINDS #################set counter ""bind dcc n adduser ac:adduserbind dcc n remuser ac:remuserbind dcc n listusers ac:list# bind notc - "*does not wish to be added to channels*" ac:noadduserbind notc - "USER: * ACCESS: *" ac:get_userbind notc - "*SUSPENDED*" ac:block_userbind notc - "LAST SEEN: *" ac:last_seenbind notc - "LAST MODIFIED: * ago*" ac:modify_checkbind time - "* * * * *" ac:checkproc ac:list { handle idx text } {global ac botnick user_namesputdcc $idx "Current users: $user_names"}proc ac:check { min hour day month year } {global ac user_names counterac:get_listif {$counter == ""} { set counter "-1" }if {[lindex $user_names $counter] == ""} { set counter "-1" }incr counterif {[lindex $user_names $counter] == ""} { return }puthelp "PRIVMSG X :ACCESS $ac(chan) [lindex $user_names $counter] -modif"}proc ac:get_user {nick uhost hand text dest } {global botnick ac xaccess xusernameif {$nick != "X"} { puthelp "PRIVMSG $ac(chan) :Nickanme: $nick"; return }set text [split $text]set xusername [lindex $text 1]set xaccess [lindex $text 3]}proc ac:block_user {nick uhost hand text dest} {set xaccess "399"}proc ac:last_seen {nick uhost hand text dest} {global lastseenset text [split $text]set lastseen [lindex $text 2]} proc ac:modify_check {nick uhost hand text dest } {global botnick ac xaccess xusername who_main day_main lastseenset text [split $text]set who_mod [lindex $text 2]set day_mod [lindex $text 4]set prim_1 $who_mod$day_modset prim_1 [split $prim_1 ")("]set prim_1_1 [lindex $prim_1 0]set day_main [lindex $prim_1 3]set who_main [lindex $prim_1 1]ac:recap $xaccess $xusername $who_main $day_main $lastseen}proc ac:recap { xaccess xusername who_main day_main lastseen } {global ac user_names notifyusersif {[string tolower $who_main] != [string tolower $ac(bot_username)] &amp;&amp; [string tolower $who_main] != [string tolower $ac(owner_username)]} { return }if {$lastseen &gt;= 2} { return }if {$xaccess == "399"} { return }if {$day_main == "0"} { return }puthelp "PRIVMSG X :MODINFO $ac(chan) ACCESS $xusername [expr $xaccess + 1]"if {$notifyusers != "" &amp;&amp; $notifyusers != " "} {foreach notfuser $notifyusers {sendnote IDA_SYSTEM $notfuser "Modified +1 Access Level to $text in $ac(chan)."}}}proc ac:noadduser { nick uhost hand text dest } {global noadduserset text [split $text]set noadduser [lrange $text 1 end]}proc ac:adduser { handle idx text } {ac:get_listglobal ac user_names notifyusers oprules reason noadduserif {$text == ""} { putdcc $idx "Syntax: .adduser &lt;CService username&gt;"; return }foreach arg $user_names {if {[string tolower $arg] == [string tolower $text]} {putdcc $idx "Username $text already exists!"return}if {$arg == ""} { continue }}set victim " " set maskhost *@$text.users.undernet.org foreach nick [chanlist $ac(chan)] { if [string match -nocase $maskhost [getchanhost $nick $ac(chan)]] { set victim $nick break } } if {![llength $victim]} { putdcc $idx "$text with host $maskhost is not on $ac(chan) or not logged in X with +x mode." } { lappend user_names $text puthelp "PRIVMSG X :ADDUSER $ac(chan) $text 1"# if {[string match "*wish to be added to channels at this*" $noadduser]} { putdcc $idx "$text does not wish to be added to channels at this time. Turn the noadduser off."; return} adduser $text *!*@$text.users.undernet.org chattr $text +fp|+fo $ac(chan) chattr $text |+fo $ac(backchan)putkick $ac(chan) $victim $reason        putdcc $idx "Username $text added!" foreach line $oprules { puthelp "PRIVMSG $victim :$line" }sendnote IDA_SYSTEM $notifyusers "Added Username $text in $ac(chan) by $handle."}ac:write_acdb}proc ac:remuser { handle idx text } {ac:get_listglobal ac user_names found notifyusersif {$text == ""} { putdcc $idx "Syntax: .remuser &lt;CService username&gt;"; return }foreach arg $user_names {if {[string tolower $arg] != [string tolower $text]} {lappend user_names2 $argset found 0continue}if {[string tolower $arg] == [string tolower $text]} {set found 1continue}if {$arg == ""} { continue }}if {!$found} { putdcc $idx "Username $text does not exist!"; unset user_names2; return }set user_names $user_names2unset user_names2puthelp "PRIVMSG X :REMUSER $ac(chan) $text"deluser $textputdcc $idx "Username $text deleted!"if {$notifyusers != "" &amp;&amp; $notifyusers != " "} {foreach notfuser $notifyusers {sendnote IDA_SYSTEM $notfuser "Removed Username $text in $ac(chan) by $handle."}}ac:write_acdb}proc ac:get_list { } {global user_namesif {[file exists acdb.dat]} {set acdb [open acdb.dat r]while {![eof $acdb]} {gets $acdb ac_lineif {$ac_line == ""} { continue }set user_names $ac_lineclose $acdbbreak}}}proc ac:write_acdb { } {global ac user_namesset acdb2 [open acdb.dat w]puts $acdb2 $user_namesclose $acdb2}putlog "Access increasing script v1.0 by iamdeath loaded! \[ac.tcl\]"# End of code</code></pre></div><br>Can you please help me out with this error ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10796">SIrJoKer</a> — Fri Nov 18, 2011 8:59 am</p><hr />
]]></content>
	</entry>
	</feed>
