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

	<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-07-13T01:33:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2005-07-13T01:33:20-04:00</updated>

		<published>2005-07-13T01:33:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52386#p52386</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52386#p52386"/>
		<title type="html"><![CDATA[raw:330 - authnick on qnet - problem - pls help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52386#p52386"><![CDATA[
If you want to retrieve the auth info you might aswell use RAW 354 as it's much more specific.<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- !123 get:authbind raw -|- 354 raw:authproc get:auth {nick host hand chan args} { if {[lindex [split $args] 0] == ""} {  putquick "WHO $nick n%na" } else {  putquick "WHO [lindex [split $args] 0] n%na" } set ::return $chan}proc raw:auth {server raw args} {  if {[info exists ::return]} {  putquick "PRIVMSG $::return :[lindex [split $args] 0] is authed as [lindex [split $args] 1]" unset ::return }}</code></pre></div>Something like this should do the trick, you can use !123 &lt;nothing&gt; to get your own auth or !123 &lt;nickname&gt; to get someone's authname<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Wed Jul 13, 2005 1:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-07-12T17:24:48-04:00</updated>

		<published>2005-07-12T17:24:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52365#p52365</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52365#p52365"/>
		<title type="html"><![CDATA[raw:330 - authnick on qnet - problem - pls help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52365#p52365"><![CDATA[
Ahh well spotted mr fz <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> I should really debug my own work ;P<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Tue Jul 12, 2005 5:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[edze]]></name></author>
		<updated>2005-07-12T09:19:44-04:00</updated>

		<published>2005-07-12T09:19:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52327#p52327</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52327#p52327"/>
		<title type="html"><![CDATA[raw:330 - authnick on qnet - problem - pls help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52327#p52327"><![CDATA[
Thank you!<br>It's work now.<br><br>MfG EdZe<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6469">edze</a> — Tue Jul 12, 2005 9:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-07-12T09:06:44-04:00</updated>

		<published>2005-07-12T09:06:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52326#p52326</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52326#p52326"/>
		<title type="html"><![CDATA[raw:330 - authnick on qnet - problem - pls help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52326#p52326"><![CDATA[
That will not work since there's no $chan in the raw proc. Try:<div class="codebox"><p>Code: </p><pre><code>bind pub - !123 123 bind raw - "330" get_whois proc 123 {nick uhost hand chan arg} {  putserv "WHOIS $nick" set ::requested $chan} proc get_whois { from keyword arg } {  set uname [lindex [split $arg] 2] if {[info exists ::requested]} {  puthelp "PRIVMSG $::requested :$uname"  unset ::requested }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Jul 12, 2005 9:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-07-12T08:59:49-04:00</updated>

		<published>2005-07-12T08:59:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52325#p52325</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52325#p52325"/>
		<title type="html"><![CDATA[raw:330 - authnick on qnet - problem - pls help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52325#p52325"><![CDATA[
You almost had it right. I just re-juggled your procs around a bit <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><div class="codebox"><p>Code: </p><pre><code>bind pub - !123 123bind raw - "330" get_whois proc 123 {nick uhost hand chan arg} {   putserv "WHOIS $nick"}proc get_whois { from keyword arg } {    set uname [lindex [split $arg] 2]          puthelp "PRIVMSG $chan :$uname"}</code></pre></div>This should do the trick although I haven't tested it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Tue Jul 12, 2005 8:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[edze]]></name></author>
		<updated>2005-07-12T08:52:48-04:00</updated>

		<published>2005-07-12T08:52:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52322#p52322</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52322#p52322"/>
		<title type="html"><![CDATA[raw:330 - authnick on qnet - problem - pls help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52322#p52322"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !123 123set uname " "proc 123 {nick host hand chan rest args} {global unameputserv "WHOIS $nick"puthelp "PRIVMSG $chan :$uname"}proc get_whois { from keyword args } { global uname set largs [split $args " "] set uname [lindex $largs 2] }bind raw - "330" get_whois</code></pre></div>I've written this script, where I want to get the auth of qnet.<br><br>But now I have this problem:<br>[14:46] &lt;[DuL]edze&gt; !123<br>[14:47] &lt;edze-bot&gt;  <br>[14:47] &lt;[DuL]edze&gt; !123<br>[14:47] &lt;edze-bot&gt; edze<br><br>The bot shows only every second instruction the right authnick.<br><br>How can I correct this?<br><br>P.S. Sorry for my bad English.<br><br>MfG edze<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6469">edze</a> — Tue Jul 12, 2005 8:52 am</p><hr />
]]></content>
	</entry>
	</feed>
