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

	<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>2013-06-21T01:40:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[gembels]]></name></author>
		<updated>2013-06-21T01:40:16-04:00</updated>

		<published>2013-06-21T01:40:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101706#p101706</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101706#p101706"/>
		<title type="html"><![CDATA[Help for return raw]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101706#p101706"><![CDATA[
<blockquote class="uncited"><div>You need to catch the RAW response if you want that result. In mIRC do <em class="text-italics">/debug @test</em> then do that <em class="text-italics">/raw p gembels</em> and copy/paste what you see in the @test window.</div></blockquote><div class="codebox"><p>Code: </p><pre><code>-&gt; server1 p gembels&lt;- :server1  NOTICE dono :Hi, Your latency check for gembels is 37 ms.&lt;- :server1  NOTICE dono :Server: server1&lt;- :server1  NOTICE dono :Fri, 21 June 2013 12:38:09&lt;- :server1  NOTICE dono :Modded by gembels</code></pre></div>dono is my nick<br>gembels is the person I ping..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12028">gembels</a> — Fri Jun 21, 2013 1:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-06-21T00:28:07-04:00</updated>

		<published>2013-06-21T00:28:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101705#p101705</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101705#p101705"/>
		<title type="html"><![CDATA[Help for return raw]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101705#p101705"><![CDATA[
You need to catch the RAW response if you want that result. In mIRC do <em class="text-italics">/debug @test</em> then do that <em class="text-italics">/raw p gembels</em> and copy/paste what you see in the @test window.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jun 21, 2013 12:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gembels]]></name></author>
		<updated>2013-06-20T20:11:34-04:00</updated>

		<published>2013-06-20T20:11:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101703#p101703</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101703#p101703"/>
		<title type="html"><![CDATA[Help for return raw]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101703#p101703"><![CDATA[
<blockquote class="uncited"><div>The /raw command in mIRC is merely used to send a string directly to the server without parsing; in eggdrops you use the puthelp, putserv, or putquick commands. So in your case, that part of the code would be something like this<div class="codebox"><p>Code: </p><pre><code>bind pub - !ping ping_meproc ping_me {nick host handle channel text} {  puthelp "P $nick"}</code></pre></div>You would still have to parse the response from the irc server, which is done using a binding. Exactly how to do this depends on what kind of message/command your irc server uses to send the response. If it is a server-notice, you're pretty much stuck with the RAW binding, which can be somewhat dangerous if you don't know what you are doing...</div></blockquote>how to get var from puthelp "P $nick" ?<br><br>set result "puthelp "P $nick""<br>regxp ... $result <br>then I got the 2ms ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12028">gembels</a> — Thu Jun 20, 2013 8:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2013-06-20T18:46:50-04:00</updated>

		<published>2013-06-20T18:46:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101702#p101702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101702#p101702"/>
		<title type="html"><![CDATA[Help for return raw]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101702#p101702"><![CDATA[
The /raw command in mIRC is merely used to send a string directly to the server without parsing; in eggdrops you use the puthelp, putserv, or putquick commands. So in your case, that part of the code would be something like this<div class="codebox"><p>Code: </p><pre><code>bind pub - !ping ping_meproc ping_me {nick host handle channel text} {  puthelp "P $nick"}</code></pre></div>You would still have to parse the response from the irc server, which is done using a binding. Exactly how to do this depends on what kind of message/command your irc server uses to send the response. If it is a server-notice, you're pretty much stuck with the RAW binding, which can be somewhat dangerous if you don't know what you are doing...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Jun 20, 2013 6:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gembels]]></name></author>
		<updated>2013-06-20T18:28:27-04:00</updated>

		<published>2013-06-20T18:28:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101701#p101701</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101701#p101701"/>
		<title type="html"><![CDATA[Help for return raw]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101701#p101701"><![CDATA[
<blockquote class="uncited"><div>You can use this script for PING <a href="http://tclhelp.net/unb/130" class="postlink">http://tclhelp.net/unb/130</a><br>You dont need to reinvent the wheel</div></blockquote>thanks Madalin, but this IRCD are bit different, there is no ctcr, the IRCD commands are bit different. To get a ping, the reply was not /ping $nick but /raw p $nick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12028">gembels</a> — Thu Jun 20, 2013 6:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-06-20T07:58:33-04:00</updated>

		<published>2013-06-20T07:58:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101700#p101700</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101700#p101700"/>
		<title type="html"><![CDATA[Help for return raw]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101700#p101700"><![CDATA[
You can use this script for PING <a href="http://tclhelp.net/unb/130" class="postlink">http://tclhelp.net/unb/130</a><br>You dont need to reinvent the wheel<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Thu Jun 20, 2013 7:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gembels]]></name></author>
		<updated>2013-06-19T21:40:55-04:00</updated>

		<published>2013-06-19T21:40:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101699#p101699</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101699#p101699"/>
		<title type="html"><![CDATA[Help for return raw]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101699#p101699"><![CDATA[
This what I got from mirc if I did /raw p gembels<div class="codebox"><p>Code: </p><pre><code>[11:35] -server1- Hi, Your latency check for gembels is 2 ms.-[11:35] -server1- Server: server1-[11:35] -server1- Thu, 20 June 2013 08:35:39-[11:35] -server1- Modded by gembels</code></pre></div>How to do like<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !ping ping_meproc ping_me {nick uhost hand chan arg} {putquick "PRIVMSG $chan :$arg ping $result"}</code></pre></div>How to grep the "2 ms" in eggdrop and do the "raw p" command<br><br>and how to set the $result  ?<br><br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12028">gembels</a> — Wed Jun 19, 2013 9:40 pm</p><hr />
]]></content>
	</entry>
	</feed>
