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

	<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>2005-02-15T08:30:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-02-15T08:30:24-04:00</updated>

		<published>2005-02-15T08:30:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46639#p46639</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46639#p46639"/>
		<title type="html"><![CDATA[Checking if user is registered and identified with services]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46639#p46639"><![CDATA[
There are badword scripts already in the tcl archive.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Tue Feb 15, 2005 8:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SmokeyOne]]></name></author>
		<updated>2005-02-15T06:28:25-04:00</updated>

		<published>2005-02-15T06:28:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46634#p46634</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46634#p46634"/>
		<title type="html"><![CDATA[Checking if user is registered and identified with services]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46634#p46634"><![CDATA[
if someone was to maybe add a badword list in there, wouldn't that just be annoying to modify in the code, or would it be a easy patch ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2530">SmokeyOne</a> — Tue Feb 15, 2005 6:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-22T21:17:15-04:00</updated>

		<published>2003-12-22T21:17:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31706#p31706</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31706#p31706"/>
		<title type="html"><![CDATA[Checking if user is registered and identified with services]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31706#p31706"><![CDATA[
Thanks everyone, I got it done <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Mon Dec 22, 2003 9:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TALES]]></name></author>
		<updated>2003-12-22T20:13:08-04:00</updated>

		<published>2003-12-22T20:13:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31705#p31705</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31705#p31705"/>
		<title type="html"><![CDATA[Checking if user is registered and identified with services]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31705#p31705"><![CDATA[
here is a script that detect if a nick is reg modify the code for your needs<div class="codebox"><p>Code: </p><pre><code>#set this to channelset scan(chan) "#VHOSTS"# Set this to the bot's O-Line username #set oper(username) ""# Set this to the bots O-Line password #set oper(password) ""## script starts herebind msg O oper oper-upbind join - "$scan(chan) *" tls:joinbind raw - 307 tls:identbind pub -|- !vhost tls:vhostbind evnt - init-server oper:connectproc oper:connect init-server {putserv "OPER $::oper(username) $::oper(password)"}proc oper-up {nick host chan text} {  global operid operpass owner2  putserv "OPER $::oper(username) $::oper(password)"  putserv "NOTICE $nick : I Opered up"}proc tls:join {nick host hand chan} { global tls_nick tls_ident  set tls_ident "1"  set tls_nick $nick    putserv "WHOIS $nick"  utimer 3 tls:not:ident}proc tls:vhost {nick host hand chan vhost} { global tls_nick tls_ident tls_vhost scan(chan)  if {$scan(chan) != $chan} {return 0}  set tls_ident "2"  set tls_vhost [lindex $vhost 0]  set tls_nick $nick    putserv "WHOIS $nick"  utimer 3 tls:not:ident}proc tls:ident {from key args} { global tls_ident tls_nick tls_vhost  set args [join $args]  set nick [string tolower [lindex $args 1]]  set regist [strlwr [lindex [lrange [split $args ":"] 1 end] 0]]  if {$tls_ident == "1" &amp;&amp; $regist == "is a registered nick"} {    foreach j [utimers] {        if {[lindex $j 1] == "tls:not:ident"} { killutimer [lindex $j 2] }      }   putserv "PRIVMSG #vhosts :$nick is: Registered and could change is VHOST with cmd: !vhost &lt;vhost&gt;"   }  if {$tls_ident == "2" &amp;&amp; $regist == "is a registered nick"} {    foreach j [utimers] {        if {[lindex $j 1] == "tls:not:ident"} { killutimer [lindex $j 2] }      }  putserv "CHGHOST $tls_nick $tls_vhost"  putserv "NOTICE $tls_nick : Your Vhost has been changed"  }   return 0}proc tls:not:ident {} { global tls_nick putserv "PRIVMSG #vhosts :$tls_nick is: NOT Registered first registered your nick and identify" putserv "PRIVMSG #vhosts :Type: /msg nickserv help REGISTER"}</code></pre></div>works only in 1 channel though<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4104">TALES</a> — Mon Dec 22, 2003 8:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[soul]]></name></author>
		<updated>2003-12-22T20:09:38-04:00</updated>

		<published>2003-12-22T20:09:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31704#p31704</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31704#p31704"/>
		<title type="html"><![CDATA[Checking if user is registered and identified with services]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31704#p31704"><![CDATA[
does your ircd support STATUS command?<br><br>i have a script that checks nick STATUS in services every time they execute a bind.<br><br>forcing the bot to recognize users for the time they stay on chan, might get you insecure (parts, quits, netsplits, nickchanges).<br><br>and yes, you need a bind notc to grab the NickServ status.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3075">soul</a> — Mon Dec 22, 2003 8:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-22T19:52:54-04:00</updated>

		<published>2003-12-22T19:52:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31702#p31702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31702#p31702"/>
		<title type="html"><![CDATA[Checking if user is registered and identified with services]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31702#p31702"><![CDATA[
That's very helpful, thank you.<br>I'm confused now though. I have a bind join one because it needs to check whether they're registered when they enter the room. Do I just make that function push the notice, then another bind that grabs that notice?<p>Statistics: Posted by Guest — Mon Dec 22, 2003 7:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[soul]]></name></author>
		<updated>2003-12-22T19:31:45-04:00</updated>

		<published>2003-12-22T19:31:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31701#p31701</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31701#p31701"/>
		<title type="html"><![CDATA[Checking if user is registered and identified with services]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31701#p31701"><![CDATA[
beside using raw's, some irc deamons support STATUS command.<br><br>ie : <strong class="text-strong">NickServ STATUS nick </strong>, will retrieve his/her numbered status.<br><br> · · [ NickServ (<a href="mailto:ident@network.org">ident@network.org</a>) ] STATUS &lt;somenick&gt; 3<br>online and identified<br><br> · · [ NickServ (<a href="mailto:ident@network.org">ident@network.org</a>) ] STATUS &lt;somenick&gt; 0<br>offline<br><br> · · [ NickServ (<a href="mailto:ident@network.org">ident@network.org</a>) ] STATUS &lt;somenick&gt; 1<br>online<br><br>if your ircd uses so, start with a notice binding <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>regards,<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3075">soul</a> — Mon Dec 22, 2003 7:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-22T14:48:30-04:00</updated>

		<published>2003-12-22T14:48:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31699#p31699</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31699#p31699"/>
		<title type="html"><![CDATA[Checking if user is registered and identified with services]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31699#p31699"><![CDATA[
UnrealIRCD3.2 - beta 19 <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Mon Dec 22, 2003 2:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-12-22T14:40:56-04:00</updated>

		<published>2003-12-22T14:40:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31698#p31698</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31698#p31698"/>
		<title type="html"><![CDATA[Checking if user is registered and identified with services]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31698#p31698"><![CDATA[
depends on your network...<br>qnet for example returns a raw 330 with the auth of a user on a whois, etc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Mon Dec 22, 2003 2:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-22T14:10:02-04:00</updated>

		<published>2003-12-22T14:10:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31697#p31697</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31697#p31697"/>
		<title type="html"><![CDATA[Checking if user is registered and identified with services]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31697#p31697"><![CDATA[
Hey,<br>I'm writing a little script for staff users on my server, basically I want the bot to be able to do things if they're a staff member.<br>What I want to be able to do it check either their IRC flags, or their whois to check that they have +r (or NICK is registered) to make sure that they are who they say they are. (i.e. to stop another user coming in with their name and access the bot functions before the 30seconds no identify protection kicks it).<br><br>Any suggestions would be appreciated. Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Mon Dec 22, 2003 2:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
