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

	<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-05-06T11:10:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-05-06T11:10:41-04:00</updated>

		<published>2004-05-06T11:10:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36150#p36150</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36150#p36150"/>
		<title type="html"><![CDATA[how to 'if nick is not on channel?']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36150#p36150"><![CDATA[
if nick is on chan try docu <span style="color:red">onchan</span> command <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><blockquote class="uncited"><div>onchan &lt;nickname&gt; [channel] <br>Returns: 1 if someone by that nickname is on the specified channel (or any channel if none is specified); 0 otherwise<br><br>Module: irc</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu May 06, 2004 11:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bruhv]]></name></author>
		<updated>2004-05-06T08:22:30-04:00</updated>

		<published>2004-05-06T08:22:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36145#p36145</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36145#p36145"/>
		<title type="html"><![CDATA[how to 'if nick is not on channel?']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36145#p36145"><![CDATA[
anyone help with the code i need to add to check if a user is on the channel?<br>i know the manual is there but i find i learn better by example  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> <br><div class="codebox"><p>Code: </p><pre><code>proc servebeer {nick uhost hand chan rest} {  global botnick  set cmd [string tolower [lindex $rest 0]]  if {$cmd == "orac"} {    putserv "PRIVMSG $chan :\00310thanks $nick, but i don't drink alcohol\003" ;return 0}  if {$cmd == "bruhv"} {    putserv "PRIVMSG $chan :\001ACTION \00310draws a pint of the finest english ale for $cmd\003\001" ;return 0}  if {$cmd == ""} {    putserv "PRIVMSG $chan :\001ACTION \00310pours a jug of warm beer and slides it over to $nick\003\001" ;return 0}  putserv "PRIVMSG $chan :\001ACTION \00310pours a jug of warm beer and slides it over to  $rest\003\001"}bind pub - !beer servebeer</code></pre></div>if a nick isn't on the channel i want the bot to say 'dumbass, he's not here' or similar<br><br>thanks in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4804">bruhv</a> — Thu May 06, 2004 8:22 am</p><hr />
]]></content>
	</entry>
	</feed>
