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

	<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>2003-02-24T14:44:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-02-24T14:44:47-04:00</updated>

		<published>2003-02-24T14:44:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17018#p17018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17018#p17018"/>
		<title type="html"><![CDATA[hmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17018#p17018"><![CDATA[
i suggest you let the bot a bit time to join the channel and download the /name list. usually all messages go out after script has finished, so bot will join channel after you check if he has op.<br>so try after channel add to make a <em class="text-italics">bind join -|- "$chan1 BOTNAME!*" procname</em> and check there if the user has op. you would only have to save the ownership for the chan. if it causes troubles make an <em class="text-italics">utimer 5 [list procname $chan1 $nick]</em> to forward the neccessary variables.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon Feb 24, 2003 2:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2003-02-24T04:59:49-04:00</updated>

		<published>2003-02-24T04:59:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16999#p16999</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16999#p16999"/>
		<title type="html"><![CDATA[Re: need some help (Again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16999#p16999"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>if {[onchan $nick $chan1] &amp; [isop $nick $chan1]} {}</code></pre></div></div></blockquote>"&amp;" has to be "&amp;&amp;" for an "and"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Mon Feb 24, 2003 4:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-02-23T14:20:11-04:00</updated>

		<published>2003-02-23T14:20:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16983#p16983</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16983#p16983"/>
		<title type="html"><![CDATA[need some help (Again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16983#p16983"><![CDATA[
Well i started this week on a request script but since this the first script i made i dont know some command or how to put then on the right place.<br><br>I just finished yesterday v1.0 just a simple one that when you type : <br>!request BOTNAME #channel<br><br>the requestbot says to the chan BOTNAME join #channel <br>So i used Stormbot for that part.<br>but know i want to make the TCL a bit more difficult by making a checking voor the requested channel. Like when I type : !request BOTNAME #channel<br>Will my requesbot join that channel and need to check if the person who requested is on the channel and has op. So for that part I made  <div class="codebox"><p>Code: </p><pre><code>if {$bot != ""} {if {$chan1 != ""} { putserv "NOTICE $nick : Je hebt aanvraag is ontvangen. De bot zal komen zodra uw kanaal is gecontroleerd door mij."channel add $chan1if {[onchan $nick $chan1] &amp; [isop $nick $chan1]} {putserv "PRIVMSG $chan :Ja $nick is $chan1 en hij is geopped"} else {if {[onchan $nick $chan1] &amp; ![isop $nick $chan1]} {putserv "PRIVMSG $chan :Jammer $nick is wel op $chan1 maar hij heeft geen +o"} else {putserv "PRIVMSG $chan :Jammer $nick is niet op $chan1"}}utimer 20 "channel remove $chan1"return 0 }}</code></pre></div>then i tested the script but when i'm in the channel and opped he always say i'm not in that channel. also when i'm not in the channel or has no op he say that i'm not in the channel.<br><br>maybe some1 can help me fix this little/big bug ?<p>Statistics: Posted by Guest — Sun Feb 23, 2003 2:20 pm</p><hr />
]]></content>
	</entry>
	</feed>
