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

	<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>2025-11-30T10:19:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2025-11-30T10:19:41-04:00</updated>

		<published>2025-11-30T10:19:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113395#p113395</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113395#p113395"/>
		<title type="html"><![CDATA[Re: not working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113395#p113395"><![CDATA[
And ?<br>Does it work or not ? If not, what are the errors ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun Nov 30, 2025 10:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pektek]]></name></author>
		<updated>2025-11-30T09:29:53-04:00</updated>

		<published>2025-11-30T09:29:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113394#p113394</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113394#p113394"/>
		<title type="html"><![CDATA[Re: not working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113394#p113394"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - "idle" do:whoissetudef flag idleproc do:whois {nick uhost handle chan text} {    global workingchan    if {$text eq ""} {        putserv "PRIVMSG $chan :Use: idle &lt;nick&gt;"        return    }    bind raw - 317 watch:317    bind raw - 402 watch:402    putserv "WHOIS $text $text"    set workingchan $chan}proc watch:317 {from keyword text} {    global workingchan    if {[info commands duration] eq ""} {        set idle "[lindex [split $text] 2] is seconds idle"    } else {        set idle "[duration [lindex [split $text] 2]]"    }    if {[info commands ctime] eq ""} {        set signon "[lindex [split $text] 3]"    } else {        set signon "[ctime [lindex [split $text] 3]]"    }    putserv "PRIVMSG $workingchan :\002Nick:\002 [lindex [split $text] 1]"    putserv "PRIVMSG $workingchan :\002Idle:\002 $idle  —  \002Signon:\002 $signon"    unbind raw - 317 watch:317    unbind raw - 402 watch:402}proc watch:402 {from keyword text} {    global workingchan    putserv "PRIVMSG $workingchan :Nick not found: [lindex $text 2]"    unbind raw - 317 watch:317    unbind raw - 402 watch:402}   </code></pre></div>example :<br><br>idle Nick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13010">pektek</a> — Sun Nov 30, 2025 9:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2025-07-22T00:57:37-04:00</updated>

		<published>2025-07-22T00:57:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113338#p113338</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113338#p113338"/>
		<title type="html"><![CDATA[Re: not working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113338#p113338"><![CDATA[
What do you intend to do ?<br>Actually you just added a custom flag to the channel but it's not used anywhere.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Jul 22, 2025 12:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[abah]]></name></author>
		<updated>2025-07-21T23:36:07-04:00</updated>

		<published>2025-07-21T23:36:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113337#p113337</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113337#p113337"/>
		<title type="html"><![CDATA[not working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113337#p113337"><![CDATA[
I tried to modify this TCL<blockquote class="uncited"><div># Dec. 25, 2010<br># forum request<br>#<br># <a href="http://forum.egghelp.org/viewtopic.php?t=18208" class="postlink">http://forum.egghelp.org/viewtopic.php?t=18208</a><br>#<br># I'm simply looking for eggdrop to grep the idle time that is reported by '/whois &lt;nick &lt;nick&gt;' <br># (twice, if users are on different servers on network). I.e. how long the user has been idle on the server as such. <br>#<br># In my desired script, I would be to type in a channel:<br># &lt;Gewan&gt; !idle Ajnag<br># <br># This would then give something say like:<br># &lt;Eggdrop&gt; Ajnag has been idle for 0 days 0 hours 41 mins 32 secs [signon: Sat Dec 25 04:52:53 2010] <br>#<br>#<br><br> <br><br>bind pub - "idle" do:whois<br>setudef flag idle<br><br>proc do:whois {nick uhost handle chan text} {<br>global workingchan<br><br>if {"$text" == ""} {<br>putserv "privmsg $chan :Syntax: idle &lt;nick&gt; "<br>return<br>   }<br><br>bind raw - 317 watch:317<br>bind raw - 402 watch:402<br><br>putserv "whois [split $text 0] [split $text 0]"<br>set workingchan $chan<br>}<br><br><br>proc watch:317 {from keyword text} {<br>global workingchan<br><br>putserv "privmsg #gadis :\[4Idle Checking\] 50Nickname 12- 55[lindex [split $text] 1]"<br>putserv "privmsg #gadis :\[4Idle Checking\] 50Idle 12- 56[duration [lindex [split $text] 2]] \[60signon [ctime [lindex [split $text] 3]]\]"<br><br>unbind raw - 317 watch:317<br>unbind raw - 402 watch:402<br>}<br><br><br>proc watch:402 {from keyword text} {<br>global workingchan<br><br>putserv "privmsg $workingchan :\"[string trimleft [lindex $text 2] :] [lrange [split $text] 3 end]\""<br><br>unbind raw - 317 watch:317<br>unbind raw - 402 watch:402<br>}<br><br><br>putlog "Loaded Idle Time determined from WHOIS   ...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">     see:  <a href="http://forum.egghelp.org/viewtopic.php?t=18208" class="postlink">http://forum.egghelp.org/viewtopic.php?t=18208</a> "</div></blockquote>I can use the #Chan +idle chanset, is it because I tried it not going well<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12299">abah</a> — Mon Jul 21, 2025 11:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
