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

	<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>2006-11-27T17:27:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-11-27T17:27:51-04:00</updated>

		<published>2006-11-27T17:27:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68519#p68519</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68519#p68519"/>
		<title type="html"><![CDATA[Script for checking Quakenet channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68519#p68519"><![CDATA[
Always use<br><div class="codebox"><p>Code: </p><pre><code>if {[string match *c* [lindex [getchanmode $chan] 0]]} {  # mode +c is set} else {  #mode +c is not set}</code></pre></div>Or it will report that +c is set when the key contains the letter c.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Nov 27, 2006 5:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Coixi]]></name></author>
		<updated>2006-11-27T05:25:24-04:00</updated>

		<published>2006-11-27T05:25:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68512#p68512</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68512#p68512"/>
		<title type="html"><![CDATA[Script for checking Quakenet channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68512#p68512"><![CDATA[
"WTF" is what i wanna say now.<br><br>I can't even count how many different 'variations' of getchanmode + string match check i tried and none of them worked. This one does <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8377">Coixi</a> — Mon Nov 27, 2006 5:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2006-11-27T04:10:31-04:00</updated>

		<published>2006-11-27T04:10:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68509#p68509</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68509#p68509"/>
		<title type="html"><![CDATA[Script for checking Quakenet channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68509#p68509"><![CDATA[
You got half of it right with the getchanmode, but you need to use string match to find it within the returned string of modes.<br><div class="codebox"><p>Code: </p><pre><code>if {[string match *c* [getchanmode $chan]]} {  # mode +c is set} else {  #mode +c is not set}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Mon Nov 27, 2006 4:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Coixi]]></name></author>
		<updated>2006-11-27T03:33:56-04:00</updated>

		<published>2006-11-27T03:33:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68508#p68508</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68508#p68508"/>
		<title type="html"><![CDATA[Script for checking Quakenet channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68508#p68508"><![CDATA[
Hi,<br><br>I'd like if someone could tell me how to check if +c is on in Quakenet channel.<br><br>I've tried <em class="text-italics">getchanmode &lt;channel&gt;</em> and <em class="text-italics">channel get &lt;name&gt; &lt;setting&gt;</em> so far - without any luck.<br><br>What i've understood after reading this forum quite a bit is that Quakenet doesn't follow RFC and won't report /WHO nor channel modes in right format.<br><br>I tried to seach for hardcoded and bind raw but you really couldn't understood them.<br><br>I need a script which checks if +c is on in $channel. If not, do thing A, if it is on do thing B.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8377">Coixi</a> — Mon Nov 27, 2006 3:33 am</p><hr />
]]></content>
	</entry>
	</feed>
