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

	<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>2004-04-28T13:53:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-04-28T13:53:48-04:00</updated>

		<published>2004-04-28T13:53:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35921#p35921</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35921#p35921"/>
		<title type="html"><![CDATA[tcl-commands.doc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35921#p35921"><![CDATA[
<blockquote class="uncited"><div>  isop &lt;nickname&gt; [channel]<br>    Returns: 1 if someone by the specified nickname is on the channel (or<br>      any channel if no channel name is specified) and has ops; 0 otherwise<br>    Module: irc</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Apr 28, 2004 1:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BrollY]]></name></author>
		<updated>2004-04-28T12:43:37-04:00</updated>

		<published>2004-04-28T12:43:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35916#p35916</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35916#p35916"/>
		<title type="html"><![CDATA[op detection]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35916#p35916"><![CDATA[
hey, sorry for the really stupid question im gonna make, but the matter of the truth is, i never bothered learning how to check the modes of users in channels ¶:P<br><br>anyhow, quite simple, all i need is the block of code that i need for my eggdrop (windrop actually) to check if a user is opped or not in a chan, but, the command is sent via PM, but ofc both the bot and the user will have to be in the same channel so the bot cn a check, but that's already taken into account (thats why i didnt put $chan in the proc arguments).<br><br>thx for the help<br><br><blockquote class="uncited"><div>proc process {nick host hand text} {<br>  set arbiter(cmd) "[string tolower [lindex $text 0]]"<br>  if {![matchattr $hand o \#channel]}  {<br>    return 0<br>  }<br>}</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3056">BrollY</a> — Wed Apr 28, 2004 12:43 pm</p><hr />
]]></content>
	</entry>
	</feed>
