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

	<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>2008-04-07T16:50:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-04-07T16:50:45-04:00</updated>

		<published>2008-04-07T16:50:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82209#p82209</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82209#p82209"/>
		<title type="html"><![CDATA[set cmd using in another proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82209#p82209"><![CDATA[
You have to declare qauthed global. For example<div class="codebox"><p>Code: </p><pre><code>proc pub:connect {event} { global servhost botlogin botpass vhost global qauthed ;# this makes qauthed global and usable in other procs putquick "PRIVMSG $servhost :AUTH $botlogin $botpass" set qauthed 1 if {$vhost} {  putquick "MODE $::botnick +x" }}proc example {} { global qauthed # you can get the value of $qauthed here}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Apr 07, 2008 4:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2008-04-07T13:23:55-04:00</updated>

		<published>2008-04-07T13:23:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82206#p82206</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82206#p82206"/>
		<title type="html"><![CDATA[set cmd using in another proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82206#p82206"><![CDATA[
Sry for asking proberly a simple question, butt i have been looking through some scripts. And i really cant find it. <br><br>So i would like too ask you guys for some advice! <br><br>My problem is : <br><br>When i use a "set" commando like this <br><br>Code: <br><div class="codebox"><p>Code: </p><pre><code>proc pub:connect {event} { global servhost botlogin botpass vhost   putquick "PRIVMSG $servhost :AUTH $botlogin $botpass"   set qauthed 1   if {$vhost} {     putquick "MODE $::botnick +x"   } } </code></pre></div> <br><br><br>And i like too recall "qauthed" in another proc. Butt i really dont know how! <br><br>Thx for helpig<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Mon Apr 07, 2008 1:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
