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

	<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-05-21T20:37:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-21T20:37:00-04:00</updated>

		<published>2002-05-21T20:37:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7146#p7146</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7146#p7146"/>
		<title type="html"><![CDATA[whats wrong on my !onair trigger..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7146#p7146"><![CDATA[
thanks for the help..<p>Statistics: Posted by Guest — Tue May 21, 2002 8:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-05-21T06:20:00-04:00</updated>

		<published>2002-05-21T06:20:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7118#p7118</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7118#p7118"/>
		<title type="html"><![CDATA[whats wrong on my !onair trigger..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7118#p7118"><![CDATA[
Besides using the global command in the proc where the var will be used, it is also needed in the proc that read it into the var (IE, the proc at the top of you post, where you can't see the top).<br><br>Note, you may want to consider removing the update timer, and move to updating only when the trigger is called. Allthough this would only be effective, if the trigger is used less than every 10 seconds.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue May 21, 2002 6:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-20T18:16:00-04:00</updated>

		<published>2002-05-20T18:16:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7113#p7113</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7113#p7113"/>
		<title type="html"><![CDATA[whats wrong on my !onair trigger..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7113#p7113"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc pub:onairdisplay {nick uhand handle chan input} {        global onairdj onairlat        putserv "PRIVMSG $chan : Just nu sänder $onairdj med låten $onairlat"}</code></pre></div>Doesn't work.. I have a timer thats update the variables every 10 seconds.<br><p>Statistics: Posted by Guest — Mon May 20, 2002 6:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-05-20T18:05:00-04:00</updated>

		<published>2002-05-20T18:05:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7112#p7112</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7112#p7112"/>
		<title type="html"><![CDATA[whats wrong on my !onair trigger..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7112#p7112"><![CDATA[
yes, you need to global the var. actually calling the proc that updates that variable from the bind proc would help too<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Mon May 20, 2002 6:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-20T17:33:00-04:00</updated>

		<published>2002-05-20T17:33:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7110#p7110</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7110#p7110"/>
		<title type="html"><![CDATA[whats wrong on my !onair trigger..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7110#p7110"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>...                        regsub -all "&lt;/SONGTITLE&gt;" $line "" line                        set onairlat $line"                }        }        close $sock}bind pub -|- !onair pub:onairdisplayproc pub:onairdisplay {nick uhand handle chan input} {        putserv "PRIVMSG $chan : Just nu sänder $onairdj med låten $onairlat"}</code></pre></div>I dont know what to do. It's something wrong on the $onair* variabels, Do i need the global... or what.. please help a tcl noob <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by Guest — Mon May 20, 2002 5:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
