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

	<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-08-20T23:12:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[incith]]></name></author>
		<updated>2006-08-20T23:12:10-04:00</updated>

		<published>2006-08-20T23:12:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65704#p65704</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65704#p65704"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65704#p65704"><![CDATA[
The correct word is <a href="http://dictionary.reference.com/browse/tabulate" class="postlink">tabulate</a>.  Tabulate your code.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6130">incith</a> — Sun Aug 20, 2006 11:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-08-15T18:36:59-04:00</updated>

		<published>2006-08-15T18:36:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65502#p65502</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65502#p65502"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65502#p65502"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>It would be helpful if you tabinate.. This is unreadable as it is.</div></blockquote>what do you mean by <strong class="text-strong">tabinate</strong></div></blockquote>Edit your code and <strong class="text-strong">indent </strong>as per the example given. It makes code reading far easier.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Aug 15, 2006 6:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-08-15T16:32:43-04:00</updated>

		<published>2006-08-15T16:32:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65496#p65496</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65496#p65496"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65496#p65496"><![CDATA[
A hint... there is something wrong with this<div class="codebox"><p>Code: </p><pre><code>if {[lindex $list end == ""]} {</code></pre></div>Actually, there's several things wrong with it...<br>Check the manual-page for lindex, and you'll see that argument 2 and following arguments should be list indexes ("start", "end", integers are some, == and "" are not)<br>Also, if you check the various operators supported in tcl (another manual-page), you'll find that == only works on numbers, not strings<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Aug 15, 2006 4:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[monie089]]></name></author>
		<updated>2006-08-15T16:22:15-04:00</updated>

		<published>2006-08-15T16:22:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65495#p65495</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65495#p65495"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65495#p65495"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#########################################100% made by monie                    ##tested to work on windrop             ##v1.0 soon to be more updated          ##email me for comments ,hate , or help ##monie @ XG.Monie089@gmail.com         #########################################set wififile "wifi/wifi.txt"set mphfile "wifi/mph.txt"set mkdsfile "wifi/mkds.txt"set acwwfile "wifi/acww.txt"set thasfile "wifi/thas.txt"set starfoxfile "wifi/starfox.txt"bind pub -|- &amp;wifi pub:wifiproc pub:wifi {nickname uhost hostname  arguments handle  } {putquick "PRIVMSG $nickname :Welcome to The WiFi Gaming Center"putquick "PRIVMSG $nickname :Games Currently supported are"putquick "PRIVMSG $nickname :MKDS MPH THAS ACWW STARFOX More coming soon"putquick "PRIVMSG $nickname :Commands are as Following"putquick "PRIVMSG $nickname :&amp;list - lists the current games open"putquick "PRIVMSG $nickname :&amp;join &lt;name&gt; - Joins the game thats open"putquick "PRIVMSG $nickname :&amp;create &lt;name&gt; -creates a game"putquick "PRIVMSG $nickname :&amp;leave &lt;name&gt; - Parts you from that game"putquick "PRIVMSG $nickname :&amp;add - adds your code for any game"putquick "PRIVMSG $nickname :&amp;find - finds you or a friends code"}bind pub -|- &amp;add pub:addproc pub:add { nick uhost text channel arg } {global mphfile mkdsfile thasfile acwwfile starfoxfileset game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="mph"&amp;&amp; $code !=""} {set fd [open $::mphfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""]} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="mkds"&amp;&amp; $code !=""} {set fd [open $::mkdsfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""]} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="acww"&amp;&amp; $code !=""} {set fd [open $::acwwfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""]} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="thas"&amp;&amp; $code !=""} {set fd [open $::thasfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""]} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="starfox"&amp;&amp; $code !=""} {set fd [open $::starfoxfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""]} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}}bind pub -|- &amp;find pub:findproc pub:find {nick uhost hand chan arg} {global mphfile mkdsfile thasfile acwwfile starfoxfileset name [lindex [split $arg] 0]if {$name != ""} {set fd [open $::mphfile r]while {! [eof $fd]} {lappend list [gets $fd]}close $fdif {[set le [lsearch -glob $list "*$name*"]] != -1} {set line [lindex $list $le]set code [string map {"" ""} [lindex $line 2]]putserv "NOTICE $nick :$names mphcode is $code"} else { putserv "NOTICE $nick :Name not found."}} else {putserv "NOTICE $nick :Usage: &amp;find nick"}set name [lindex [split $arg] 0]if {$name != ""} {set fd [open $::mkdsfile r]while {! [eof $fd]} {lappend list [gets $fd]}close $fdif {[set le [lsearch -glob $list "*$name*"]] != -1} {set line [lindex $list $le]set code [string map {"" ""} [lindex $line 2]]putserv "NOTICE $nick :$names mkdscode is $code"} else { putserv "NOTICE $nick :Name not found."}} else {putserv "NOTICE $nick :Usage: &amp;find nick"}set name [lindex [split $arg] 0]if {$name != ""} {set fd [open $::thasfile r]while {! [eof $fd]} {lappend list [gets $fd]}close $fdif {[set le [lsearch -glob $list "*$name*"]] != -1} {set line [lindex $list $le]set code [string map {"" ""} [lindex $line 2]]putserv "NOTICE $nick :$names thascode is $code"} else { putserv "NOTICE $nick :Name not found."}} else {putserv "NOTICE $nick :Usage: &amp;find nick"}set name [lindex [split $arg] 0]if {$name != ""} {set fd [open $::acwwfile r]while {! [eof $fd]} {lappend list [gets $fd]}close $fdif {[set le [lsearch -glob $list "*$name*"]] != -1} {set line [lindex $list $le]set code [string map {"" ""} [lindex $line 2]]putserv "NOTICE $nick :$names acwwcode is $code"} else { putserv "NOTICE $nick :Name not found."}} else {putserv "NOTICE $nick :Usage: &amp;find nick"}set name [lindex [split $arg] 0]if {$name != ""} {set fd [open $::starfoxfile r]while {! [eof $fd]} {lappend list [gets $fd]}close $fdif {[set le [lsearch -glob $list "*$name*"]] != -1} {set line [lindex $list $le]set code [string map {"" ""} [lindex $line 2]]putserv "NOTICE $nick :$names starfoxcode is $code"} else { putserv "NOTICE $nick :Name not found."}} else {putserv "NOTICE $nick :Usage: &amp;find nick"}}bind pub -|- &amp;create pub:createproc pub:create { nick uhost hand chan arg } {set table [lindex [split $arg] 0]if {$table != ""} {set fd [open $::wififile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end] == ""} {set list [lreplace $list end end]}lappend list "\[$table\]"seek $fd 0puts -nonewline $fd [join $list \n]close $fdputquick "PRIVMSG $chan :$table was created"} else {putserv "PRIVMSG $nick :Usage: &amp;create game."}}bind pub - &amp;join pub:joinproc pub:join { nick chan hand arg text} {set join [lindex [split $arg] 0]if {$join != ""} {set fd [open $::wififile r+]While {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end] = ""} {set list [lreplace $list end end]}lappend list "\[$join\] $nick"seek $fd 0puts -nonewline $fd [join $list \n]close $fdputquick "PRIVMSG $nick :You have joined $join"} else {putserv "PRIVMSG $nick :Usage: &amp;join name"}}</code></pre></div>i found the missing brackets but now it says something bout  "==" and interger<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8036">monie089</a> — Tue Aug 15, 2006 4:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-08-14T15:50:14-04:00</updated>

		<published>2006-08-14T15:50:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65471#p65471</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65471#p65471"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65471#p65471"><![CDATA[
&lt;note&gt;One should know how to debug it's own stuff.&lt;/note&gt;<br><br>&lt;off topic&gt;<br>I've searched the <a href="http://dictionary.reference.com/browse/tabinate" class="postlink">dictionary</a> and haven't found that word.<br>&lt;/off topic&gt;<br><br>Anyway, he probably meant to use some sort of application to arrange your code. Something like this (and I quote):<div class="codebox"><p>Code: </p><pre><code>bind pub -|- &amp;add pub:addproc pub:add {nick uhost hostname text arg handle channel} {  global mphfile mkdsfile thasfile acwwfile starfoxfile  set game [lindex [split $arg] 0]  set code [lindex [split $arg] 1]  if {$game !="mph"&amp;&amp; $code !=""} { [...]  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Aug 14, 2006 3:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[monie089]]></name></author>
		<updated>2006-08-14T15:34:56-04:00</updated>

		<published>2006-08-14T15:34:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65467#p65467</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65467#p65467"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65467#p65467"><![CDATA[
i dont even see errors in my script<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8036">monie089</a> — Mon Aug 14, 2006 3:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-08-14T15:29:04-04:00</updated>

		<published>2006-08-14T15:29:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65465#p65465</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65465#p65465"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65465#p65465"><![CDATA[
<a href="http://forum.egghelp.org/viewtopic.php?t=10215" class="postlink">http://forum.egghelp.org/viewtopic.php?t=10215</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Aug 14, 2006 3:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[monie089]]></name></author>
		<updated>2006-08-14T12:40:15-04:00</updated>

		<published>2006-08-14T12:40:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65461#p65461</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65461#p65461"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65461#p65461"><![CDATA[
<blockquote class="uncited"><div>It would be helpful if you tabinate.. This is unreadable as it is.</div></blockquote>what do you mean by <strong class="text-strong">tabinate</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8036">monie089</a> — Mon Aug 14, 2006 12:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-08-14T12:33:23-04:00</updated>

		<published>2006-08-14T12:33:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65459#p65459</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65459#p65459"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65459#p65459"><![CDATA[
It would be helpful if you tabinate.. This is unreadable as it is.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Aug 14, 2006 12:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[monie089]]></name></author>
		<updated>2006-08-14T11:26:26-04:00</updated>

		<published>2006-08-14T11:26:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65456#p65456</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65456#p65456"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65456#p65456"><![CDATA[
ok thanks<br>EDIT:it still says TCL [pub:add]: missing close bracket<div class="codebox"><p>Code: </p><pre><code>bind pub -|- &amp;add pub:addproc pub:add {nick uhost hostname text arg handle channel } {global mphfile mkdsfile thasfile acwwfile starfoxfileset game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="mph"&amp;&amp; $code !=""} {set fd [open $::mphfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="mkds"&amp;&amp; $code !=""} {set fd [open $::mkdsfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="acww"&amp;&amp; $code !=""} {set fd [open $::acwwfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="thas"&amp;&amp; $code !=""} {set fd [open $::thasfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="starfox"&amp;&amp; $code !=""} {set fd [open $::starfoxfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}}</code></pre></div>thats what im having trouble with please help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8036">monie089</a> — Mon Aug 14, 2006 11:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-08-14T11:04:23-04:00</updated>

		<published>2006-08-14T11:04:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65455#p65455</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65455#p65455"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65455#p65455"><![CDATA[
get rid of the [close [open]] nonsense and read <a href="http://forum.egghelp.org/viewtopic.php?p=65356#65356" class="postlink">here</a> how you should deal with files<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Aug 14, 2006 11:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[monie089]]></name></author>
		<updated>2006-08-14T10:19:19-04:00</updated>

		<published>2006-08-14T10:19:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65452#p65452</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65452#p65452"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65452#p65452"><![CDATA[
i did this<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8036">monie089</a> — Mon Aug 14, 2006 10:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-08-14T10:15:41-04:00</updated>

		<published>2006-08-14T10:15:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65450#p65450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65450#p65450"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65450#p65450"><![CDATA[
sigh.<br><br>also, why does it say "100% made by monnie" when half or more of this ''script'' has been made by others here.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Aug 14, 2006 10:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[monie089]]></name></author>
		<updated>2006-08-14T10:20:07-04:00</updated>

		<published>2006-08-14T10:00:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65448#p65448</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65448#p65448"/>
		<title type="html"><![CDATA[help with add]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65448#p65448"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#########################################tested to work on windrop             ##v1.0 soon to be more updated          ##email me for comments ,hate , or help ##monie @ XG.Monie089@gmail.com         #########################################set wififile "wifi/wifi.txt"set mphfile "wifi/mph.txt"set mkdsfile "wifi/mkds.txt"set acwwfile "wifi/acww.txt"set thasfile "wifi/thas.txt"set starfoxfile "wifi/starfox.txt"if {![file exists $wififile]} {   catch {close [open $wififile w]}}if {![file exists $mphfile]} {   catch {close [open $mphfile w]}}if {![file exists $mkdsfile]} {   catch {close [open $mkdsfile w]}}if {![file exists $acwwfile]} {   catch {close [open $acwwfile w]}}if {![file exists $thasfile]} {   catch {close [open $thasfile w]}}if {![file exists $starfoxfile]} {   catch {close [open $starfoxfile w]}}bind pub -|- &amp;wifi pub:wifiproc pub:wifi {nickname uhost hostname  arguments handle  } {putquick "PRIVMSG $nickname :Welcome to The WiFi Gaming Center"putquick "PRIVMSG $nickname :Games Currently supported are"putquick "PRIVMSG $nickname :MKDS MPH THAS ACWW STARFOX More coming soon"putquick "PRIVMSG $nickname :Commands are as Following"putquick "PRIVMSG $nickname :&amp;list - lists the current games open"putquick "PRIVMSG $nickname :&amp;join &lt;name&gt; - Joins the game thats open"putquick "PRIVMSG $nickname :&amp;create &lt;name&gt; -creates a game"putquick "PRIVMSG $nickname :&amp;leave &lt;name&gt; - Parts you from that game"putquick "PRIVMSG $nickname :&amp;add - adds your code for any game"putquick "PRIVMSG $nickname :&amp;find - finds you or a friends code"}bind pub -|- &amp;add pub:addproc pub:add {nick uhost hostname text arg handle channel } {global mphfile mkdsfile thasfile acwwfile starfoxfileset game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="mph"&amp;&amp; $code !=""} {set fd [open $::mphfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="mkds"&amp;&amp; $code !=""} {set fd [open $::mkdsfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="acww"&amp;&amp; $code !=""} {set fd [open $::acwwfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="thas"&amp;&amp; $code !=""} {set fd [open $::thasfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}set game [lindex [split $arg] 0]set code [lindex [split $arg] 1]if {$game !="starfox"&amp;&amp; $code !=""} {set fd [open $::starfoxfile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end == ""} {set list [lreplace $list end end]}lappend list "\[$nick\] $game $code"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;add game code"}}bind pub -|- &amp;find pub:findproc pub:find {nick uhost hand chan arg} {global mphfile mkdsfile thasfile acwwfile starfoxfileset name [lindex [split $arg] 0]if {$name != ""} {set fd [open $::mphfile r]while {! [eof $fd]} {lappend list [gets $fd]}close $fdif {[set le [lsearch -glob $list "*$name*"]] != -1} {set line [lindex $list $le]set code [string map {"" ""} [lindex $line 2]]putserv "NOTICE $nick :$names mphcode is $code"} else { putserv "NOTICE $nick :Name not found."}} else {putserv "NOTICE $nick :Usage: &amp;find nick"}set name [lindex [split $arg] 0]if {$name != ""} {set fd [open $::mkdsfile r]while {! [eof $fd]} {lappend list [gets $fd]}close $fdif {[set le [lsearch -glob $list "*$name*"]] != -1} {set line [lindex $list $le]set code [string map {"" ""} [lindex $line 2]]putserv "NOTICE $nick :$names mkdscode is $code"} else { putserv "NOTICE $nick :Name not found."}} else {putserv "NOTICE $nick :Usage: &amp;find nick"}set name [lindex [split $arg] 0]if {$name != ""} {set fd [open $::thasfile r]while {! [eof $fd]} {lappend list [gets $fd]}close $fdif {[set le [lsearch -glob $list "*$name*"]] != -1} {set line [lindex $list $le]set code [string map {"" ""} [lindex $line 2]]putserv "NOTICE $nick :$names thascode is $code"} else { putserv "NOTICE $nick :Name not found."}} else {putserv "NOTICE $nick :Usage: &amp;find nick"}set name [lindex [split $arg] 0]if {$name != ""} {set fd [open $::acwwfile r]while {! [eof $fd]} {lappend list [gets $fd]}close $fdif {[set le [lsearch -glob $list "*$name*"]] != -1} {set line [lindex $list $le]set code [string map {"" ""} [lindex $line 2]]putserv "NOTICE $nick :$names acwwcode is $code"} else { putserv "NOTICE $nick :Name not found."}} else {putserv "NOTICE $nick :Usage: &amp;find nick"}set name [lindex [split $arg] 0]if {$name != ""} {set fd [open $::starfoxfile r]while {! [eof $fd]} {lappend list [gets $fd]}close $fdif {[set le [lsearch -glob $list "*$name*"]] != -1} {set line [lindex $list $le]set code [string map {"" ""} [lindex $line 2]]putserv "NOTICE $nick :$names starfoxcode is $code"} else { putserv "NOTICE $nick :Name not found."}} else {putserv "NOTICE $nick :Usage: &amp;find nick"}}bind pub -|- &amp;create pub:createproc pub:create { nick uhost hand chan arg } {set table [lindex [split $arg] 0]if {$table != ""} {set fd [open $::wififile r+]while {![eof $fd]} {lappend list [gets $fd]}if {[lindex $list end] == ""} {set list [lreplace $list end end]}lappend list "\[$table\]"seek $fd 0puts -nonewline $fd [join $list \n]close $fd} else {putserv "PRIVMSG $nick :Usage: &amp;create game."}}</code></pre></div>everything works but the add and how do i make the join leave and list part please help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8036">monie089</a> — Mon Aug 14, 2006 10:00 am</p><hr />
]]></content>
	</entry>
	</feed>
