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

	<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-10T02:06:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-10T02:06:48-04:00</updated>

		<published>2006-11-10T02:06:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67863#p67863</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67863#p67863"/>
		<title type="html"><![CDATA[more bugs - doesn't close open files ;/]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67863#p67863"><![CDATA[
Gah, just noticed while debugging a different script that this hangman script does not close open files..Lovely.. There are 4 "open" calls, and only 2 closes, so whoever uses the script might want to grep through the file and find the opens, then also add in appropriate "catch {close $in}"  and "catch {close $out}" lines where they belong <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Fri Nov 10, 2006 2:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-08T22:56:39-04:00</updated>

		<published>2006-11-08T22:56:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67839#p67839</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67839#p67839"/>
		<title type="html"><![CDATA[hangman - sort guessed letters fix]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67839#p67839"><![CDATA[
I made another small fix for the hangman101 script, this is to make it sort the guessed letters:<br><br>in proc hangman_show, just before the line with "switch $hangman(level)"<div class="codebox"><p>Code: </p><pre><code>#################################################################################################set hangman(guessed) [string trim [join [lsort [lrange [split $hangman(guessed) {}] 0 end]] {}]]</code></pre></div>I just noticed the script also bugs out if you hammer guesses at it (heh another false claim by the original author <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz">) I suspect that's cos it messes up the timers.<br><br>It also considers non-alpha chars as guesses, i'll prolly fix it so it doesn't.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Wed Nov 08, 2006 10:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scope]]></name></author>
		<updated>2006-11-06T09:39:07-04:00</updated>

		<published>2006-11-06T09:39:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67792#p67792</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67792#p67792"/>
		<title type="html"><![CDATA[starting a game [hangman]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67792#p67792"><![CDATA[
well mate that is a massive improvement. thanks<br><br>seeing the last release date was in 2002 i wouldent of thought the author would of minded and probably would welcome the bug fixes.<br>but im not up on copyrights lol.<br><br>the mods you made though are spot on. works great now.<br><br>cheers again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8352">scope</a> — Mon Nov 06, 2006 9:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-05T22:52:46-04:00</updated>

		<published>2006-11-05T22:52:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67778#p67778</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67778#p67778"/>
		<title type="html"><![CDATA[patchfile]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67778#p67778"><![CDATA[
I posted a patch file here:<br><br><a href="http://members.dandy.net/~fbn/hangman.diff.txt" class="postlink">http://members.dandy.net/~fbn/hangman.diff.txt</a><br><br>Main changes were to create a msg bind to allow people to do <br>/msg botnick hangcust My Custom puzzle, added more of a helpfile, fixed a few bugs, fixed ugly colors, formatting and spelling errors, etc.<br><br>I have not figured out how the "hint" stuff was meant to be formatted, and there is an unused proc in the script "proc hangman_fake" that I have no clue about.. And obviously the scripts instructions were wrong, as typing "!hangman" does not start the game..<br><br>I wonder if this script could be considered abandoned so someone else could re-release it.<br><br>Anyway, the above changes work for me, although they're not pretty (I'd just as soon re-write the script, but...)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Nov 05, 2006 10:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scope]]></name></author>
		<updated>2006-11-05T19:49:02-04:00</updated>

		<published>2006-11-05T19:49:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67769#p67769</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67769#p67769"/>
		<title type="html"><![CDATA[starting a game [hangman]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67769#p67769"><![CDATA[
you can post it if you like mate. thanks<br><br>i did some mods to, like correcting the spelling mistakes lol.<br><br>i got the !hangmanstart cmd to work for all people on the channel but i would like to set the .hangman cmd to so others can start there custom games.<br>not found out how to do this yet though <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8352">scope</a> — Sun Nov 05, 2006 7:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-05T16:43:23-04:00</updated>

		<published>2006-11-05T16:43:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67762#p67762</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67762#p67762"/>
		<title type="html"><![CDATA[starting a game [hangman]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67762#p67762"><![CDATA[
I did some mods to that game myself, but haven't published it since such is specifically prohibited by the script author. There's a few problems with the script. Maybe I can post a diff file, if you know how to use 'diff' to apply the changes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Nov 05, 2006 4:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scope]]></name></author>
		<updated>2006-11-05T11:19:18-04:00</updated>

		<published>2006-11-05T11:19:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67737#p67737</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67737#p67737"/>
		<title type="html"><![CDATA[starting a game [hangman]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67737#p67737"><![CDATA[
it ok now. sorted!<br>was bind flag.<br>thanks for you help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8352">scope</a> — Sun Nov 05, 2006 11:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scope]]></name></author>
		<updated>2006-11-05T06:54:49-04:00</updated>

		<published>2006-11-05T06:54:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67734#p67734</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67734#p67734"/>
		<title type="html"><![CDATA[starting a game [hangman]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67734#p67734"><![CDATA[
the game is hangman.<br>here is the tcl script: <a href="http://scope.ath.cx/hangman101.rar" class="postlink">hangman</a><br>it's my first game and im not entirely sure what im looking for.<br><br>thanks for your reply<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8352">scope</a> — Sun Nov 05, 2006 6:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-05T03:08:16-04:00</updated>

		<published>2006-11-05T03:08:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67727#p67727</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67727#p67727"/>
		<title type="html"><![CDATA[starting a game [hangman]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67727#p67727"><![CDATA[
What game? What are the bind's flags for it? Does it have any "if's" that make it check matchattr? etc..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Nov 05, 2006 3:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scope]]></name></author>
		<updated>2006-11-05T00:15:01-04:00</updated>

		<published>2006-11-05T00:15:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67726#p67726</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67726#p67726"/>
		<title type="html"><![CDATA[starting a game [hangman]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67726#p67726"><![CDATA[
hi all<br><br>my first post here because ive never had a problem with eggdrop untill now lol.<br>i decided to spice my bot up a bit and add a game script.<br>the problem is i can start the game by using the command !startgame but my guests that join the channel cant. i want it so my guests can start the game too<br>it must be a simple solution but i cant think what it is. ive added public commands but to no avail.<br>would be grateful for any help.<br>thanks<br><br><em class="text-italics">topic moved from Scripting Help and script name appended to title - slennox</em><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8352">scope</a> — Sun Nov 05, 2006 12:15 am</p><hr />
]]></content>
	</entry>
	</feed>
