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

	<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>2004-03-27T19:22:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-27T19:22:17-04:00</updated>

		<published>2004-03-27T19:22:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35001#p35001</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35001#p35001"/>
		<title type="html"><![CDATA[!word does not start the game]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35001#p35001"><![CDATA[
I figured out what the problem was. There was an error in another part of that script that I somehow failed to notice. Happy to say that everything works great now. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><br><br>Anyways, guys, sorry about wasting a bit of your time. And, thanks for trying to help out,<p>Statistics: Posted by Guest — Sat Mar 27, 2004 7:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-03-25T20:06:31-04:00</updated>

		<published>2004-03-25T20:06:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34940#p34940</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34940#p34940"/>
		<title type="html"><![CDATA[!word does not start the game]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34940#p34940"><![CDATA[
I don't think you posted the whole script, because nothing in the script ever sends any kind of word to the server, except "the game is turned off". So it's hard to say what the error is. Maybe your word list is empty? Who knows.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu Mar 25, 2004 8:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-03-25T16:14:56-04:00</updated>

		<published>2004-03-25T16:14:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34932#p34932</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34932#p34932"/>
		<title type="html"><![CDATA[!word does not start the game]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34932#p34932"><![CDATA[
Hehe it is, but in first code table <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Thu Mar 25, 2004 4:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpert]]></name></author>
		<updated>2004-03-25T12:33:16-04:00</updated>

		<published>2004-03-25T12:33:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34922#p34922</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34922#p34922"/>
		<title type="html"><![CDATA[Re: !word does not start the game]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34922#p34922"><![CDATA[
<blockquote class="uncited"><div>but the !word command typed into the channel by users doesn't start the word game.</div></blockquote>There is no command that starts the game in the code you have post <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4667">Xpert</a> — Thu Mar 25, 2004 12:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-25T10:45:21-04:00</updated>

		<published>2004-03-25T10:45:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34918#p34918</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34918#p34918"/>
		<title type="html"><![CDATA[!word does not start the game]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34918#p34918"><![CDATA[
Hi,<br>I'm curious as to why a part of a word game script won't work. Some of the commands work, but the !word command typed into the channel by users doesn't start the word game. <br><br>Here is the parts I'm having trouble with:<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !word pub_word</code></pre></div><div class="codebox"><p>Code: </p><pre><code>proc pub_word {nick uhost handle channel args} {   global wscorefile wlistfile words word_list_count answer winuse \chan letone lettwo letters specuser glonoff   if {$glonoff == 0} {putserv "PRIVMSG $channel :Sorry, wordgame is turned off, try again later"return   }    set chn [string tolower $channel]   if {$word_list_count == 0} {       if {![validuser $specuser]} {          set channels [channels]          adduser $specuser specuser!special@word.special.org          foreach chann $channels {             setuser $specuser XTRA wcount.$chann 0          }       }       set word_list_count [getuser $specuser XTRA wcount.$chn]       if {$word_list_count == ""} {          setuser $specuser XTRA wcount.$chn 0          set $word_list_count 0       }         set words ""       set fd [open $wlistfile r]       while {![eof $fd]} {          lappend words [gets $fd]       }       close $fd</code></pre></div>I'm a bit new to Eggdrop. And I hope to learn from this experience, so any help to this problem will be hugely appreciated.<br>Thanks! <br>  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Thu Mar 25, 2004 10:45 am</p><hr />
]]></content>
	</entry>
	</feed>
