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

	<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>2002-08-26T11:10:23-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-26T11:10:23-04:00</updated>

		<published>2002-08-26T11:10:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10039#p10039</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10039#p10039"/>
		<title type="html"><![CDATA[notify script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10039#p10039"><![CDATA[
Notify works like this:<br><br>1) User sends an ISON &lt;nicks&gt; command<br>2) Server sends a raw 303 with online entries of &lt;nicks&gt; in body<br><br>Example transaction:<div class="codebox"><p>Code: </p><pre><code>&gt; ISON Engineer Developer Tester Mapherick:slack.mk.dev 303 Mapherick :Developer Mapherick</code></pre></div>Script for doing the above every 5 minutes:<div class="codebox"><p>Code: </p><pre><code>set ntfy_nickstocheck {EngineerDeveloperTesterMapherick}proc ntfy_settimer {args} {  timer 5 ntfy_check}proc ntfy_check {args} {  global ntfy_nickstocheck  set intc [join $ntfy_nickstocheck]  putserv "ISON $intc"  ntfy_settimer}proc ntfy_process {from keyw args} {  global ntfy_nickstocheck  set ionl [split [lindex [split [lindex $args 0] ":"] 1]]  foreach nick $ionl {lappend ionll [string tolower $nick]}  foreach nick $ntfy_nickstocheck {    if {[lsearch $ionll [string tolower $nick]] == -1} {      lappend iofl $nick    }  }  putlog "NTFY: ONLINE: [join $ionl]"  putlog "NTFY: OFFLINE: $iofl"}bind raw - 303 ntfy_process</code></pre></div><p>Statistics: Posted by Guest — Mon Aug 26, 2002 11:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-21T07:45:25-04:00</updated>

		<published>2002-08-21T07:45:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9948#p9948</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9948#p9948"/>
		<title type="html"><![CDATA[notify script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9948#p9948"><![CDATA[
is it possible to make a tcl script that notify that a user has online/connected to IRC, like notify feature on mIRC. someone told me that using RAW command will help. but still i dont have any idea how to using it, anyone can help me? thx.<p>Statistics: Posted by Guest — Wed Aug 21, 2002 7:45 am</p><hr />
]]></content>
	</entry>
	</feed>
