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

	<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>2008-12-17T10:28:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2008-12-17T10:28:38-04:00</updated>

		<published>2008-12-17T10:28:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86302#p86302</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86302#p86302"/>
		<title type="html"><![CDATA[sign in time missing in whois script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86302#p86302"><![CDATA[
Thanks works but the output is bit strange<br><br>Output:<br>has been idle for 2 hours 1 minute 16 seconds. signon time Mon Dec 15 16:15:21 2008 <strong class="text-strong">169840</strong><br><br>Is it possible to get the signon time like <strong class="text-strong">signed on 21mins 6secs ago</strong>?<br><br>Thank u<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Wed Dec 17, 2008 10:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2008-12-17T09:35:19-04:00</updated>

		<published>2008-12-17T09:35:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86301#p86301</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86301#p86301"/>
		<title type="html"><![CDATA[sign in time missing in whois script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86301#p86301"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set zeitdiff [unixtime] - $signon</code></pre></div>should be<div class="codebox"><p>Code: </p><pre><code>set zeitdiff [expr {[unixtime]-$signon}]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Dec 17, 2008 9:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2008-12-17T09:10:58-04:00</updated>

		<published>2008-12-17T09:10:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86299#p86299</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86299#p86299"/>
		<title type="html"><![CDATA[sign in time missing in whois script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86299#p86299"><![CDATA[
Hello. I found an old whois script  but idletime is not working. Hope u cna help me. Thanks in advance<br><br>Tcl error [whois:idle]: wrong # args: should be "set varName ?newValue?"<br><div class="codebox"><p>Code: </p><pre><code>bind pub $whois(acc) ".whois" whois:nickproc whois:nick { nickname hostname handle channel arguments } {global whois      set target [lindex [split $arguments] 0]if {$target == ""} {putquick "PRIVMSG $channel :Please choose a target first."return 0}if {[string length $target] &gt;= "14"} {putquick "PRIVMSG $channel :Sorry, That nickname is too long. Please try a user with less than 14 characters."; return}if {[regexp -all -- {[~\[\]\{\}\|\_\\]} $target]} {putquick "PRIVMSG $channel :Sorry, I can't whois a user with special characters in it."; return}putquick "WHOIS $target $target"      set ::whoischannel $channelset ::whoistarget $targetbind RAW - 401 whois:nosuchbind RAW - 311 whois:infobind RAW - 319 whois:channelsbind RAW - 301 whois:awaybind RAW - 313 whois:ircopbind RAW - 330 whois:authbind RAW - 317 whois:idle}proc whois:putmsg { channel arguments } {putquick "PRIVMSG $channel :$arguments"}proc whois:info { from keyword arguments } {set channel $::whoischannelset nickname [lindex [split $arguments] 1]set ident [lindex [split $arguments] 2]set host [lindex [split $arguments] 3]set realname [string range [join [lrange $arguments 5 end]] 1 end]whois:putmsg $channel "$nickname - $ident@$host * $realname"unbind RAW - 311 whois:info}proc whois:ircop { from keyword arguments } {set channel $::whoischannelset target $::whoistargetwhois:putmsg $channel "$target is an IRC Operator"unbind RAW - 313 whois:ircop}proc whois:away { from keyword arguments } {set channel $::whoischannelset target $::whoistargetset awaymessage [string range [join [lrange $arguments 2 end]] 1 end]whois:putmsg $channel "$target ist away: $awaymessage"unbind RAW - 301 whois:away}proc whois:channels { from keyword arguments } {set channel $::whoischannelset channels [string range [join [lrange $arguments 2 end]] 1 end]set target $::whoistargetwhois:putmsg $channel "$target in $channels"unbind RAW - 319 whois:channels}proc whois:auth { from keyword arguments } {set channel $::whoischannelset target $::whoistargetset authname [lindex [split $arguments] 2]whois:putmsg $channel "$target ist geauthed als $authname"unbind RAW - 330 whois:auth}proc whois:nosuch { from keyword arguments } {set channel $::whoischannelset target $::whoistargetwhois:putmsg $channel "Nickname nicht gefunden \"$target\""unbind RAW - 401 whois:nosuch}proc whois:idle { from keyword arguments } {set channel $::whoischannelset target $::whoistargetset idletime [lindex [split $arguments] 2]set signon [lindex [split $arguments] 3]set zeitdiff [unixtime] - $signonwhois:putmsg $channel "$target has been idle for [duration $idletime]. signon time [ctime $signon] $zeitdiff"unbind RAW - 317 whois:idle}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Wed Dec 17, 2008 9:10 am</p><hr />
]]></content>
	</entry>
	</feed>
