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

	<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>2024-02-07T19:12:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-02-07T19:12:15-04:00</updated>

		<published>2024-02-07T19:12:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112507#p112507</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112507#p112507"/>
		<title type="html"><![CDATA[Re: public command with nickserv auth check]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112507#p112507"><![CDATA[
So, 2 solutions:<br>1. leave dalnet for a real network (joking, the only real network is french and named zeolia)<br>2. you have to do a /whois $nick and catch the server response to get the good "is registered" raw. Means to remember nicks in a variable to check if a raw bind matches the nick you're checking<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Feb 07, 2024 7:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2024-02-07T18:35:31-04:00</updated>

		<published>2024-02-07T18:35:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112506#p112506</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112506#p112506"/>
		<title type="html"><![CDATA[Re: public command with nickserv auth check]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112506#p112506"><![CDATA[
Dalnet doesn't have that afaik<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Feb 07, 2024 6:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-02-07T16:40:46-04:00</updated>

		<published>2024-02-07T16:40:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112505#p112505</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112505#p112505"/>
		<title type="html"><![CDATA[Re: public command with nickserv auth check]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112505#p112505"><![CDATA[
If the network has the CAP account-notify, you can use getaccount to know if the user is identified or not.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Feb 07, 2024 4:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2024-02-07T16:03:27-04:00</updated>

		<published>2024-02-07T16:03:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112504#p112504</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112504#p112504"/>
		<title type="html"><![CDATA[public command with nickserv auth check]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112504#p112504"><![CDATA[
greetingz,<br><br>i had a request to add a auth check  if the nick is auth via nickserv and is validated in eggdrop users file<br>in this code im not sure how to integrate this in a 307 numeric raw check if the nick is identified as on some network like dalnet where we plan to use this users dont have a static IP but rather their IP keeps changing so we cant use the internal auth in eggdrop as that usually  uses nick!ident@host<br><br> this is what we work  with so far:<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- !v pub:voiceproc pub:voice {nick host hand chan text} {if {![botisop $chan]} {puthelp "NOTICE $nick :I'm not oped on $chan." ; return 0 }  if {![isvoice $nick $chan] &amp;&amp; $text == "" &amp;&amp; ([matchattr $hand on|on $chan] || [isop $nick $chan] || [ishalfop $nick $chan])} { pushmode $chan +v $nick }if {![matchattr $hand o|o $chan] &amp;&amp; ![isop $nick $chan] &amp;&amp; ![ishalfop $nick $chan]} { return 0 }set users [list]     foreach user [split $text] {       set user "[string trimleft $user "!~&amp;@"]"       set user "[string trimright $user ":"]"if {![onchan $user $chan]} {putserv "NOTICE $nick :$user is not on channel $chan"} else {if {![isvoice $user $chan] &amp;&amp; ![string match -nocase "*$::botnick*" $user]} {  pushmode $chan +v $user }}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Feb 07, 2024 4:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
