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

	<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>2010-08-30T12:30:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-08-30T12:30:11-04:00</updated>

		<published>2010-08-30T12:30:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94164#p94164</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94164#p94164"/>
		<title type="html"><![CDATA[whois script/seen script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94164#p94164"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Script will accept a command via /msg to the bot, to have the bot send# a     whois        to the server on the nick submitted.# Bot will watch for return from the server, and post that return, via # /notice, to the user that submitted the request.# The idea being that since the bot is a IRCop, it can get more information# via a   whois     than could the user submitting his own   whois   request.# ( To do:       eliminate use of $usernick as a global variable.... look into # the upvar command?  )bind msg - uwhois cmd:uwhoisproc cmd:uwhois {nick uhost hand usertext} {  global usernickset usernick $nick# create binds, for the appropriate raw messagesbind raw - 311 watch311bind raw - 379 watch379bind raw - 378 watch378bind raw - 319 watch319bind raw - 312 watch312bind raw - 317 watch317bind raw - 318 watch318# pausing a few seconds, before sendin the whois to the server# ( may be unnecessary ) utimer 5 [list putserv "WHOIS :[lindex [split $usertext] 0]"] proc watch311 {from key text} {global usernickputserv "notice $usernick :[join [lrange [split $text] 1 end]]"   }proc watch379 {from key text} {global usernickputserv "notice $usernick :$text"   }proc watch378 {from key text} {global usernickputserv "notice $usernick :$text"   }proc watch319 {from key text} {global usernickputserv "notice $usernick :$text"   }proc watch312 {from key text} {global usernickputserv "notice $usernick :$text"   }proc watch317 {from key text} {global usernickset text [split $text]        #re-arranging the output a little bit, to make it look better.putserv "notice $usernick : [lindex $text 1] has been idle [lindex $text 2] seconds, signed on [ctime [lindex $text 3]]"   }proc watch318 {from key text} {global usernickputserv "notice $usernick :$text"   }# removing the binds after waiting a few seconds, as the monitoring of # these is only necessary when this script is used.   utimer 5 [list unbind raw - 311 watch311 ]    utimer 5 [list unbind raw - 379 watch379 ]   utimer 5 [list unbind raw - 378 watch378 ]   utimer 5 [list unbind raw - 319 watch319 ]   utimer 5 [list unbind raw - 312 watch312 ]   utimer 5 [list unbind raw - 317 watch317 ]   utimer 5 [list unbind raw - 318 watch318 ]} </code></pre></div>Here's something to work with.<br>Again, you and I know that we've experimented with this some on your server.  Posting this here so that anyone reading along can see where we went with it, and perhaps contribute.    <br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Mon Aug 30, 2010 12:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-08-26T14:14:29-04:00</updated>

		<published>2010-08-26T14:14:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94118#p94118</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94118#p94118"/>
		<title type="html"><![CDATA[whois script/seen script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94118#p94118"><![CDATA[
All the info it recieves in the whois<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Thu Aug 26, 2010 2:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2010-08-26T13:47:25-04:00</updated>

		<published>2010-08-26T13:47:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94117#p94117</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94117#p94117"/>
		<title type="html"><![CDATA[whois script/seen script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94117#p94117"><![CDATA[
I'm a bit rusty. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> Haven't been on a IRC channel or looked at some TCL code for quite some time.<br><br>Looks like it's a 'notice' not a raw. Right. What 'information' the bot needs to send back to the person who requested the whois on a user? Are you looking for something in particular or need all the info it receives?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Aug 26, 2010 1:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-08-26T13:24:54-04:00</updated>

		<published>2010-08-26T13:24:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94115#p94115</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94115#p94115"/>
		<title type="html"><![CDATA[Re: whois script/seen script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94115#p94115"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>Hey Guys im looking to get a script that will send a whois request to my eggdrop it has opers status so recieves all the infos a normal user wouldnt get<br>....</div></blockquote>"to" your eggdrop? <br>I'm a little confused .. ... did you mean "from" your eggdrop ?<br><br><br>Further - what sort of info does a channel operater receive in a whois report, that a normal user does not?<br>This might be useful to know, before trying to figure out a way to  do it.</div></blockquote>The eggdrop is not a channel operator it has admin functionality on my server the extra info it gets is the nickname is connecting from info true ip some of the staff are unable to get this info because they are not admin but need this info if they need to make a report about a user the only way i can see around it is if they have the eggdrop do a whois username then the eggdrop notices them the output of the whois info<br><br>This is the info an ircop will see<br>Malphas229 is <a href="mailto:Malphas@edited-FE689CE3.kt.cust.t-mobile.co.uk">Malphas@edited-FE689CE3.kt.cust.t-mobile.co.uk</a> * 29 m Cheltenham<br>Malphas229 is using modes +iwx <br>Malphas229 is connecting from *@customer38819.101.Edited-mobile.co.uk 1.edited.170<br>Malphas229 using irc.cwukchat.com CwUkChat NetWork<br>Malphas229 has been idle 1min 38secs, signed on Thu Aug 26 18:19:01<br>malphas229 End of /WHOIS list.<br><br>this is what a normal user sees in a whois<br>Malphas Malphas netadmin.CwUkChat.com * Admin <br>Malphas is a registered nick <br>Malphas ~#Friendly <br>Malphas irc.cwukchat.com CwUkChat NetWork <br>Malphas is a Network Administrator <br>Malphas is available for help. <br>Malphas has been idle for 7 minutes 41 seconds <br>Malphas connected on Fri Aug 13 00:06:08 BST 2010 <br>malphas End of /WHOIS list.<br><br>&lt;- :irc.cwukchat.com NOTICE Malphas :*** Notice -- Client connecting on port 6667: Malphas229 (<a href="mailto:Malphas@customer38819.101.kt.cust.t-mobile.co.uk">Malphas@customer38819.101.kt.cust.t-mobile.co.uk</a>) [clients]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Thu Aug 26, 2010 1:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2010-08-26T13:07:04-04:00</updated>

		<published>2010-08-26T13:07:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94114#p94114</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94114#p94114"/>
		<title type="html"><![CDATA[whois script/seen script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94114#p94114"><![CDATA[
His bot seems to have IRCOP powers. I would help you out but would need your help on something first as haven't found the <a href="http://www.mirc.net/raws/" class="postlink">raw numeric</a> for that line.<br><br>If you are using mIRC auth as IRCOP and then type in your 'status' window "/debug @info" and when you see that 'Notice -- Client connecting on port ...' line note down the entire line (need something like "&lt;- :irc.server.name 123 bar foo :is using a Secure Connection") you see in the @info window, after that you can close that window and paste here that info.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Aug 26, 2010 1:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-08-26T12:13:43-04:00</updated>

		<published>2010-08-26T12:13:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94113#p94113</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94113#p94113"/>
		<title type="html"><![CDATA[Re: whois script/seen script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94113#p94113"><![CDATA[
<blockquote class="uncited"><div>Hey Guys im looking to get a script that will send a whois request to my eggdrop it has opers status so recieves all the infos a normal user wouldnt get<br>....</div></blockquote>"to" your eggdrop? <br>I'm a little confused .. ... did you mean "from" your eggdrop ?<br><br><br>Further - what sort of info does a channel operater receive in a whois report, that a normal user does not?<br>This might be useful to know, before trying to figure out a way to  do it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Aug 26, 2010 12:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-08-26T11:46:27-04:00</updated>

		<published>2010-08-26T11:46:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94112#p94112</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94112#p94112"/>
		<title type="html"><![CDATA[whois script/seen script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94112#p94112"><![CDATA[
Hey Guys im looking to get a script that will send a whois request to my eggdrop it has opers status so recieves all the infos a normal user wouldnt get<br><br>Im looking for it to do the following if a user of my eggy types /msg botnick uwhois nickname the eggy will send to the server /whois username it will then private message the user that has done the initial command with the output of the whois details it has recieved<br><br>Also looking for a seen script that will do the following my eggdrop recieves connection notices so i need for it to log all nicknames and the ips of the users connecting into a text file of some sort this would then need to beable to run a command such as /msg botnick nicklink username this will then find the username and possibly all other nicks and ips that have been linked to that same nickname it will then notice the user that has executed the command all the info available on that nickname and other possible nicknames that user has used<br><br>it recieves in fo in this form <br> *** Notice -- Client connecting on port 6667: scrawl32 (<a href="mailto:scrawl@data.searchirc.org">scrawl@data.searchirc.org</a>) [clients] <br><br>the info i want it to log is example Nickname scrawl32 connection info (<a href="mailto:scrawl@data.searchirc.org">scrawl@data.searchirc.org</a>) and also possibly log the date and time the user was logged on with this info <br><br>Thanks in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Thu Aug 26, 2010 11:46 am</p><hr />
]]></content>
	</entry>
	</feed>
