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

	<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>2007-09-20T11:11:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-07-31T11:13:17-04:00</updated>

		<published>2007-07-31T11:13:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74873#p74873</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74873#p74873"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74873#p74873"><![CDATA[
<blockquote class="uncited"><div>An easier way would be without using isop. Simple and efficient:<br><blockquote class="uncited"><div>- Do a foreach loop for chanlist users in the channel<br>- Check string index 0 in every nick for "~", "&amp;", "@" and "%"<br>- Add that nick to a list<br><br>or you can use lsearch also for checking if you dont want to use string index, that would be faster and then lappend the nick to a list.</div></blockquote></div></blockquote>And how will you do that i the code i pastet <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><br>i'm a little n00b still <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Tue Jul 31, 2007 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TRaSH]]></name></author>
		<updated>2007-07-29T09:33:20-04:00</updated>

		<published>2007-07-29T09:33:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74827#p74827</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74827#p74827"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74827#p74827"><![CDATA[
bah,<br>thnx<br>i edited my conf and removed allot of lines and never found it when doing a search.<br>thnx again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2769">TRaSH</a> — Sun Jul 29, 2007 9:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-07-29T09:30:40-04:00</updated>

		<published>2007-07-29T09:30:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74826#p74826</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74826#p74826"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74826#p74826"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>look at "set opchars" in your bot's conf file<br>you probably want <div class="codebox"><p>Code: </p><pre><code>set opchars "@&amp;~"</code></pre></div></div></blockquote>that isn't a default option in the main bot config is it ?</div></blockquote>Look at the eggdrop.conf included with the bot. <br>You can easily find <span style="text-decoration:underline">that</span> answer on your own.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sun Jul 29, 2007 9:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TRaSH]]></name></author>
		<updated>2007-07-29T07:13:45-04:00</updated>

		<published>2007-07-29T07:13:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74825#p74825</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74825#p74825"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74825#p74825"><![CDATA[
<blockquote class="uncited"><div>look at "set opchars" in your bot's conf file<br>you probably want <div class="codebox"><p>Code: </p><pre><code>set opchars "@&amp;~"</code></pre></div></div></blockquote>that isn't a default option in the main bot config is it ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2769">TRaSH</a> — Sun Jul 29, 2007 7:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-07-29T05:03:45-04:00</updated>

		<published>2007-07-29T05:03:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74817#p74817</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74817#p74817"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74817#p74817"><![CDATA[
An easier way would be without using isop. Simple and efficient:<br><blockquote class="uncited"><div>- Do a foreach loop for chanlist users in the channel<br>- Check string index 0 in every nick for "~", "&amp;", "@" and "%"<br>- Add that nick to a list<br><br>or you can use lsearch also for checking if you dont want to use string index, that would be faster and then lappend the nick to a list.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Jul 29, 2007 5:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-07-28T17:42:10-04:00</updated>

		<published>2007-07-28T17:42:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74803#p74803</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74803#p74803"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74803#p74803"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>Looking at his code, he's using [isop] and not caring about Eggdrop flags. Fire-Fox, If you want to get the list of people with Eggdrop flags higher than o then go with nml375's suggestion</div></blockquote>What I get from the initial post is that Fire-Fox wants the bot to count channel admins and owners that some ircds support. The only way to do that is to set opchars to "@&amp;~", or whatever symbols the ircd uses, so the bot will recognize them as being operator level and/or higher.<br><br>I did not get the impression Fire-Fox was trying to get the list from eggdrop flags.</div></blockquote>You are right thats the meaning of the whole thing <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I did get it to work but not fully, there are 2 owner in the chan that means 2 ~ and we have one with % but it will not show thise two <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>I hope you can help me M8's<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Sat Jul 28, 2007 5:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-07-28T12:28:11-04:00</updated>

		<published>2007-07-28T12:28:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74800#p74800</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74800#p74800"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74800#p74800"><![CDATA[
But editing the opchars does not mean that eggdrop will be able to differentiate between the different levels of each char. It only means that [isop] will detect them as op status.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jul 28, 2007 12:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-07-28T10:42:04-04:00</updated>

		<published>2007-07-28T10:42:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74799#p74799</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74799#p74799"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74799#p74799"><![CDATA[
In either case, the main emphasis of my post (atleast intended) was to not use split, although perhaps not the main topic of the thread.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jul 28, 2007 10:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-07-28T10:38:12-04:00</updated>

		<published>2007-07-28T10:38:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74798#p74798</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74798#p74798"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74798#p74798"><![CDATA[
<blockquote class="uncited"><div>Looking at his code, he's using [isop] and not caring about Eggdrop flags. Fire-Fox, If you want to get the list of people with Eggdrop flags higher than o then go with nml375's suggestion</div></blockquote>What I get from the initial post is that Fire-Fox wants the bot to count channel admins and owners that some ircds support. The only way to do that is to set opchars to "@&amp;~", or whatever symbols the ircd uses, so the bot will recognize them as being operator level and/or higher.<br><br>I did not get the impression Fire-Fox was trying to get the list from eggdrop flags.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sat Jul 28, 2007 10:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-07-28T10:26:12-04:00</updated>

		<published>2007-07-28T10:26:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74797#p74797</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74797#p74797"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74797#p74797"><![CDATA[
Looking at his code, he's using [isop] and not caring about Eggdrop flags. Fire-Fox, If you want to get the list of people with Eggdrop flags higher than o then go with nml375's suggestion<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jul 28, 2007 10:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-07-28T10:06:50-04:00</updated>

		<published>2007-07-28T10:06:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74796#p74796</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74796#p74796"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74796#p74796"><![CDATA[
Although not exactly on the topic of this post, here's some info on the chanlist command:<blockquote class="uncited"><div>chanlist &lt;channel&gt;  [flags[&amp;chanflags]]<br>Description: flags are any global flags; the '&amp;' denotes to look for channel specific flags. Examples:<br><br>n - Global Owner<br>&amp;n - Channel Owner<br>o&amp;m - Global Op, Channel Master<br><br>Returns: list of nicknames currently on the bot's channel that have all of the flags specified;. If no flags are given, all of the nicknames are returned. Please note that if you're executing chanlist after a part or sign bind, the gone user will still be listed, so you can check for wasop, isop, etc.<br><br>Module: irc</div></blockquote>Now, as it returns a list, there is no need to use split. In fact, using split on the output of this command may produce unexpected results.<br>Flags would be matched against the first matching handle within the userlist, and does also permit the use of +/- to create more advanced filters (+ being default).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jul 28, 2007 10:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-07-28T08:46:02-04:00</updated>

		<published>2007-07-28T08:46:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74794#p74794</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74794#p74794"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74794#p74794"><![CDATA[
look at "set opchars" in your bot's conf file<br>you probably want <div class="codebox"><p>Code: </p><pre><code>set opchars "@&amp;~"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sat Jul 28, 2007 8:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-07-28T07:20:28-04:00</updated>

		<published>2007-07-28T07:20:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74791#p74791</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74791#p74791"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74791#p74791"><![CDATA[
What's higher than having op in a channel?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jul 28, 2007 7:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-20T11:11:36-04:00</updated>

		<published>2007-07-28T05:06:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74790#p74790</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74790#p74790"/>
		<title type="html"><![CDATA[help issue [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74790#p74790"><![CDATA[
How can i get this to post the staff highter then @ ? it's only showing the @ staff ?<br><br><br><div class="codebox"><p>Code: </p><pre><code>proc help.staff {nick host hand chan arg} {   foreach nicks [split [chanlist #chan]] {     if {[isop $nicks]} {       if {[string tolower $nicks]=="bob" || [string tolower $nicks]=="sitebot" || [string tolower $nicks]=="kidsbits" } {      # [string match -nocase apache* $nicks]      } else {        append o "$nicks "      }    }  }  putserv "privmsg $chan : Du høre fra en FLS'ser hurtigest muligt 02$nick"  putserv "privmsg #chan : 02$nick Anmoder om hjælp fra en af staff teamet ::: $o"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Sat Jul 28, 2007 5:06 am</p><hr />
]]></content>
	</entry>
	</feed>
