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

	<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>2002-09-16T15:38:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-16T15:38:02-04:00</updated>

		<published>2002-09-16T15:38:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10974#p10974</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10974#p10974"/>
		<title type="html"><![CDATA[can't hand over the var]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10974#p10974"><![CDATA[
oh yes, this could be, and how?<br><br>just as in the second?<p>Statistics: Posted by Guest — Mon Sep 16, 2002 3:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-16T13:07:02-04:00</updated>

		<published>2002-09-16T13:07:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10963#p10963</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10963#p10963"/>
		<title type="html"><![CDATA[can't hand over the var]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10963#p10963"><![CDATA[
Maybe you forgot to declare bottle global in the first proc?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Sep 16, 2002 1:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-16T12:18:35-04:00</updated>

		<published>2002-09-16T12:18:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10960#p10960</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10960#p10960"/>
		<title type="html"><![CDATA[can't hand over the var]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10960#p10960"><![CDATA[
hi there!<br><br>i've got a little problem (yep, again), and i can't find my fault (cause, I'm new to tcl coding? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">)<br><br>ok, in one tcl, I've got this code:<br><div class="codebox"><p>Code: </p><pre><code>proc pub:bottle {nick uhost hand chan text} {  set bottle $text  putserv "NOTICE $nick :Spin the bottle is now: $text."  putlog "Spin the bottle is now: $text (Set by $nick)"}</code></pre></div>and in another tcl i got this code:<br><div class="codebox"><p>Code: </p><pre><code>proc spin_bunny {nick uhost handle chan args} {global bottle  if {$bottle == "off"} {  putserv "NOTICE $nick :Spin the bottle is off."    return 0  }.........</code></pre></div>so I set bottle on, by typing: .bottle on<br>it says: ok, now it's on<br><br>but when i type: .spin (the trigger for the bottle_proc) it says: Spin the bottle is off.<br><br>But why?<br><br>Wheres my fault?<br><br>thx for your help!<p>Statistics: Posted by Guest — Mon Sep 16, 2002 12:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
