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

	<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-03-14T18:05:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-14T18:05:00-04:00</updated>

		<published>2002-03-14T18:05:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5397#p5397</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5397#p5397"/>
		<title type="html"><![CDATA[Need bot to change channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5397#p5397"><![CDATA[
Right, I removed that part (that gave invalid outputs) and did as you suggested -- I'll try Puthelp now.<br><br>As to the rest, i'm getting this error on eggdrop 1.6.9, so either I can't use 'need' as a valid bind, or I'm doing it wrong. How do I go about using what you suggested -- the 'set #chan need-invite'?<p>Statistics: Posted by Guest — Thu Mar 14, 2002 6:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[masskilla]]></name></author>
		<updated>2002-03-14T16:27:00-04:00</updated>

		<published>2002-03-14T16:27:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5393#p5393</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5393#p5393"/>
		<title type="html"><![CDATA[Need bot to change channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5393#p5393"><![CDATA[
Hi<br><br>Also are you _sure_ that you have to do prefix each message to chanserv with chanserv? What you have in your script <div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG chanserv :chanserv set #channel MLOCK OFF"</code></pre></div> will give an output like this: msg to chanserv: chanserv set #channel MLOCK OFF? Also I suggest using 'puthelp' instead of 'putserv' for messaging the chanserv since it's has a better/faster que.<br><br><br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=105">masskilla</a> — Thu Mar 14, 2002 4:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-03-14T08:05:00-04:00</updated>

		<published>2002-03-14T08:05:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5377#p5377</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5377#p5377"/>
		<title type="html"><![CDATA[Need bot to change channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5377#p5377"><![CDATA[
means you're running an old bot. upgrade to 1.6.x or use channel set #chan need-invite yourproc for each chan.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Thu Mar 14, 2002 8:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-13T23:34:00-04:00</updated>

		<published>2002-03-13T23:34:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5358#p5358</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5358#p5358"/>
		<title type="html"><![CDATA[Need bot to change channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5358#p5358"><![CDATA[
Gah. After looking around, I came up with this:<br><br>bind need - "% invite" need_invite<br>proc need_invite {#channel invite} {<br>  putserv "PRIVMSG chanserv :chanserv Identify #channel &lt;pass&gt;"<br>  putserv "PRIVMSG chanserv :chanserv set #channel MLOCK -i"<br>  putserv "PRIVMSG chanserv :chanserv set #channel MLOCK OFF"<br>  putserv "JOIN #channel"<br>  return 0<br>}<br><br>Which I _think_ should work, but my eggdrop (every time I run it) says that 'need' is an invalid 'type'. Does this mean that my script is bad, or that eggdrop is incorectly compiled? Any help or suggestions would be appreciated.<br><br>&lt;font size=-1&gt;[ This Message was edited by: Random on 2002-03-13 20:34 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Wed Mar 13, 2002 11:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-13T15:39:00-04:00</updated>

		<published>2002-03-13T15:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5332#p5332</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5332#p5332"/>
		<title type="html"><![CDATA[Need bot to change channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5332#p5332"><![CDATA[
Hm. I tried that, but it's too many characters for need-invite.<br><br>I've read something about binding procs if you need to, and I guess that's what I need to do. Can you point me to a webpage that will show me how to do this? I can't find anything myself. &gt;_&lt;<p>Statistics: Posted by Guest — Wed Mar 13, 2002 3:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-03-13T08:17:00-04:00</updated>

		<published>2002-03-13T08:17:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5315#p5315</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5315#p5315"/>
		<title type="html"><![CDATA[Need bot to change channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5315#p5315"><![CDATA[
you don't want to use init-server for this. you want to be using need-invite (or bind need).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Wed Mar 13, 2002 8:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-13T02:34:00-04:00</updated>

		<published>2002-03-13T02:34:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5304#p5304</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5304#p5304"/>
		<title type="html"><![CDATA[Need bot to change channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5304#p5304"><![CDATA[
I'm building a bot for a friend and I've come across a problem I can't figure out how to solve.<br><br>He wants the bot to be able to re-join the channel if it peers, but the channel is set to +i. Is it possible to have the bot (with the founder password) set the channel to MLOCK -i, join, and then remove the MLOCK?<br><br>When I try to create a script for it:<br>set init-server { putserv "PRIVMSG chanserv :identify #channel &lt;pass&gt;"<br>  putserv "PRIVMSG chanserv :SET #channel MLOCK -i"<br>  putserv "PRIVMSG chanserv :SET #channel MLOCK OFF"<br>  putserv "JOIN #channel" }<br><br>Then the error comes up that there's either a missing " or there's text after a ". I know that this is a security hole, but the friend wants the bot to do this, and the server's very low profile, but I can't get this to work. Am I doing something wrong? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":sad:" title="Sad"><br><br>&lt;font size=-1&gt;[ This Message was edited by: Random on 2002-03-13 02:17 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Wed Mar 13, 2002 2:34 am</p><hr />
]]></content>
	</entry>
	</feed>
