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

	<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-11-25T05:54:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2008-11-25T05:54:46-04:00</updated>

		<published>2008-11-25T05:54:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85959#p85959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85959#p85959"/>
		<title type="html"><![CDATA[[Help] setting need-invite/key/op/unban in every channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85959#p85959"><![CDATA[
Your split+join is pointless. My first reply was correct.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Nov 25, 2008 5:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Djoezy]]></name></author>
		<updated>2008-11-23T17:16:04-04:00</updated>

		<published>2008-11-23T17:16:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85949#p85949</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85949#p85949"/>
		<title type="html"><![CDATA[[Help] setting need-invite/key/op/unban in every channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85949#p85949"><![CDATA[
Allright i'm futher right now<br>thanks user for pointing me the right way <br><div class="codebox"><p>Code: </p><pre><code>channel set $channel need-invite [join [list putserv "PRIVMSG Q :invite $channel "]]</code></pre></div>he's taking over the $channel now butt not the "" in front of putserv. so it gives faults. <br><br>Any ideas<br><br>** UPDATE ** <br><br>Problem solved .. <br><div class="codebox"><p>Code: </p><pre><code>channel set $channel need-invite [join [split [list putserv "PRIVMSG Q :invite $channel "]]]</code></pre></div>will return in channelinfo <br><blockquote class="uncited"><div>(08:34:22) ((Dizzle) To regain op's (need-op):<br>(08:34:22) ((Dizzle) putserv {PRIVMSG Q : op #djoezy }</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9826">Djoezy</a> — Sun Nov 23, 2008 5:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Djoezy]]></name></author>
		<updated>2008-11-23T16:57:16-04:00</updated>

		<published>2008-11-23T16:57:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85948#p85948</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85948#p85948"/>
		<title type="html"><![CDATA[[Help] setting need-invite/key/op/unban in every channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85948#p85948"><![CDATA[
Sorry butt this doesnt work <br><blockquote class="uncited"><div>channel set $channel need-invite [list putserv "PRIVMSG Q :invite $channel"]</div></blockquote>This return <br><blockquote class="uncited"><div>(21:39:37) ((Dizzle) To regain op's (need-op):<br>(21:39:37) ((Dizzle) putserv</div></blockquote>And if i try something else like <br><blockquote class="uncited"><div>channel set $channel need-invite { putserv "PRIVMSG Q :invite [list $channel] }</div></blockquote>returns : <br><blockquote class="uncited"><div><br>(22:00:17) ((Dizzle) To regain op's (need-op):<br>(22:00:17) ((Dizzle) putserv "PRIVMSG Q :op [list $channel]</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9826">Djoezy</a> — Sun Nov 23, 2008 4:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2008-11-21T10:41:22-04:00</updated>

		<published>2008-11-21T10:41:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85918#p85918</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85918#p85918"/>
		<title type="html"><![CDATA[[Help] setting need-invite/key/op/unban in every channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85918#p85918"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>channel set $channel need-invite [list putserv "PRIVMSG Q :invite $channel"]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Nov 21, 2008 10:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Djoezy]]></name></author>
		<updated>2008-11-21T09:48:03-04:00</updated>

		<published>2008-11-21T09:48:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85916#p85916</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85916#p85916"/>
		<title type="html"><![CDATA[[Help] setting need-invite/key/op/unban in every channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85916#p85916"><![CDATA[
hello guys, i'm working om my own script right now. <br><br>I dont know if this is the right forum because it are eggdrop commands in a tcl script. So i thought this was the best place.<br><br>The script contains a little protection from some modes from channelusers. Like -o/kick. This works quite allright. <br><br>And i also want's too have the bot too msg Q (quakenet channel service) <br>too grant him op/invite/unban on the channel. <br>Well this is possible because i have checked it out (i set the commands in chanlist manually) <br><br>This is what is have in my script <br><blockquote class="uncited"><div>if {[channel get $channel bot:masterflags]} {<br>channel set $channel need-invite {putserv "PRIVMSG Q :invite $channel"}<br>channel set $channel need-key {putserv "PRIVMSG Q :clearchan $channel"}<br>channel set $channel need-unban {putserv "PRIVMSG Q :banclear $channel"}<br>channel set $channel need-op {putserv "PRIVMSG Q :op $channel"}</div></blockquote>This is a part of a script who's setting channelsetting every 6 hours.. the rest of the "channel set" works. <br><br>I want this too be like this ( this is manually done !! )<br><blockquote class="uncited"><div>(14:38:00) ((Dizzle) To get key (need-key):<br>(14:38:00) ((Dizzle) putserv "PRIVMSG Q :clearchan #gather-network.chat"</div></blockquote>Butt if i do it like the first quote, then he doesnt fill in the $channel variable. then its like this<br><blockquote class="uncited"><div>(14:38:00) ((Dizzle) To get key (need-key):<br>(14:38:00) ((Dizzle) putserv "PRIVMSG Q :clearchan $channel"</div></blockquote>I have tried several thinks like, replacing the {} for [] and "". Butt that doenst work either. <br><br>Can this be done, or should i let it slip ??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9826">Djoezy</a> — Fri Nov 21, 2008 9:48 am</p><hr />
]]></content>
	</entry>
	</feed>
