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

	<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>2005-12-28T09:00:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-12-28T09:00:54-04:00</updated>

		<published>2005-12-28T09:00:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58747#p58747</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58747#p58747"/>
		<title type="html"><![CDATA[if $botnick !isop $chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58747#p58747"><![CDATA[
You seem to wish to know Tcl mindflow, so here's a link for you to bookmark. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br><a href="http://www.tcl.tk/man/tcl8.4/TclCmd/" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Dec 28, 2005 9:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[IRCNick]]></name></author>
		<updated>2005-12-28T08:22:42-04:00</updated>

		<published>2005-12-28T08:22:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58746#p58746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58746#p58746"/>
		<title type="html"><![CDATA[if $botnick !isop $chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58746#p58746"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>   if [botisop $chan] {   #do something   } else {   #if the bot is not oped do something else   }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6849">IRCNick</a> — Wed Dec 28, 2005 8:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mindflow]]></name></author>
		<updated>2005-12-28T05:56:14-04:00</updated>

		<published>2005-12-28T05:56:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58743#p58743</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58743#p58743"/>
		<title type="html"><![CDATA[if $botnick !isop $chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58743#p58743"><![CDATA[
and if it's not oped? plz point me to the right doc about this info <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><br>This is what i get from tcl-commands.doc<br><br>botisop [channel]<br>    Returns: 1 if the bot has ops on the specified channel (or any channel<br>      if no channel is specified); 0 otherwise<br>    Module: irc<br><br><br>but that dosent tell me anything on how to see if the bot is oped or not, <br><br>if [botisop $chan] {<br><br>trigger the script if the bot have op, and halt it if the bot dosent have op.. but i want to be able to send one line of text to the channel when the bot dosent have op, then halt the script, now it only halt if the bot dosent have ops.. :/ so what do i miss here?<br><br>this is what i have so far:<br><br>proc UnReal {nick uhost hand chan arg} {<br> set mess "[string tolower [lindex $arg 0]]"<br>  set messa "[string tolower [lindex $arg 0]]"<br> if {[botisop $chan] == 0} {<br> puthelp "PRIVMSG $chan :$nick, message"<br> return 0<br> # working ok if bot is deoped<br> if [botisop $chan] {<br> # do the rest of the code dosent work, same with if i change it to if {[botisop $chan] == 1} still no luck ??? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6052">mindflow</a> — Wed Dec 28, 2005 5:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-28T05:48:19-04:00</updated>

		<published>2005-12-28T05:48:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58742#p58742</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58742#p58742"/>
		<title type="html"><![CDATA[if $botnick !isop $chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58742#p58742"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if [botisop $chan] {...</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Dec 28, 2005 5:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mindflow]]></name></author>
		<updated>2005-12-28T05:28:11-04:00</updated>

		<published>2005-12-28T05:28:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58741#p58741</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58741#p58741"/>
		<title type="html"><![CDATA[if $botnick !isop $chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58741#p58741"><![CDATA[
Hi, i was trying to make my bot see if it have ops on a channel, but i cant sove how the code should look like, it will be inplanted in a working TCL..<br><br>proc UnReal {nick uhost hand chan arg} {<br>  global botnick<br>  check if bot is oped here { do this if bot arent oped then a halt }<br>  rest of code here, if bot is oped in the channel the script is triggered in<br>  it should only keep on reading the TCL<br>}<br><br>hope you understand what i want to do, someone that can help me with this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6052">mindflow</a> — Wed Dec 28, 2005 5:28 am</p><hr />
]]></content>
	</entry>
	</feed>
