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

	<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>2004-05-20T18:12:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[KnightHawk]]></name></author>
		<updated>2004-05-20T18:12:17-04:00</updated>

		<published>2004-05-20T18:12:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36478#p36478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36478#p36478"/>
		<title type="html"><![CDATA[amendmant to previous post]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36478#p36478"><![CDATA[
guess i shoulve mentioned i use Anope-1.6.2 , and the bot is opered, (unreal-icrd-rc final). Eggdrop version is 1.6.15, tcl version is either 8.3 or 8.4, not sure which.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3490">KnightHawk</a> — Thu May 20, 2004 6:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KnightHawk]]></name></author>
		<updated>2004-05-20T17:58:35-04:00</updated>

		<published>2004-05-20T17:58:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36477#p36477</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36477#p36477"/>
		<title type="html"><![CDATA[Anope, Eggdrop and Global Notices]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36477#p36477"><![CDATA[
CrazyCat...... i am curious, what part exactly in the client:connect pulls the ctcp info, cause i have unbound the other proc ( the version proc,  but it still pulls it.<br><br>Reason i ask, is cause u have helped me to get a raw bind on mine working that i have been trying to figure out for weeks, but my server prolly uses a diff format  for the info, and i am hoping to extract other pieces of info than a version, mainly just nick from all users that connect to the server ( for oper reasons)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3490">KnightHawk</a> — Thu May 20, 2004 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KevKev]]></name></author>
		<updated>2004-02-06T04:44:54-04:00</updated>

		<published>2004-02-06T04:44:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33273#p33273</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33273#p33273"/>
		<title type="html"><![CDATA[Anope, Eggdrop and Global Notices]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33273#p33273"><![CDATA[
For no apparent reason the raw notice bind worked today when i sent a global ::shrugs:: Either i was completely insane yesterday or somethign odd was happening.<br><br>Thanks for the input.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3940">KevKev</a> — Fri Feb 06, 2004 4:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2004-02-05T10:22:18-04:00</updated>

		<published>2004-02-05T10:22:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33244#p33244</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33244#p33244"/>
		<title type="html"><![CDATA[Anope, Eggdrop and Global Notices]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33244#p33244"><![CDATA[
here's a source of one of my tcl.<br>The eggdrop binds the server notices and if it's a connection, then performs a /version.<br>Sure, it binds the version reply too.<br>Hope it'll help you.<div class="codebox"><p>Code: </p><pre><code>bind raw - NOTICE client:connectbind ctcr - VERSION client:versionset versions "./versions.txt"proc client:connect {from word text} {global botnickif {[string first "connecting" $text] &gt; 0} {putlog $textset b_nick [string first ": " $text]incr b_nick 2set e_nick [string first " (" $text $b_nick]incr e_nick -1set victim [string range $text $b_nick $e_nick]if { $botnick == $victim } {return 0} else {puthelp "PRIVMSG $victim :\001VERSION\001"return 0}} else {return 0}}proc client:version {nick uhost handle dest key text} {global botnick versionsif {$dest == ""} {set dest $botnick}set fi [open $versions a]puts $fi $textclose $fireturn 1}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Feb 05, 2004 10:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KevKev]]></name></author>
		<updated>2004-02-05T08:35:10-04:00</updated>

		<published>2004-02-05T08:35:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33235#p33235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33235#p33235"/>
		<title type="html"><![CDATA[Anope, Eggdrop and Global Notices]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33235#p33235"><![CDATA[
I'm trying to capture global notices from anope with a tcl in my eggdrop bot.<br><br>I have been completely unsucessful so far.  Here are the bindings and procs that i have tried. Any help in pointing me in teh right direction would be helpful.<br>Thanks!<br><br><div class="codebox"><p>Code: </p><pre><code>bind raw - NOTICE raw:notice:parsebind raw - *Global* raw:notice:parsebind raw - Global raw:notice:parsebind raw - NOTICE* raw:notice:parseproc raw:notice:parse {from keyword text} {#if {![string match {*!*@*} $from]} {#putlog "Server notice from ${from}: $text"#} else {#putlog "Non-Server Notice from ${from}: $text"#}putlog "raw notice parse called with notice from ${from}: $text"return 0}bind NOTC - * notcparseproc notcparse {nick uhost hand text {dest ""}} {global botnickputlog "notcparse called... From $nick: $text"if {$dest == ""} {set dest $botnickputlog "notice came direct to bot"}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3940">KevKev</a> — Thu Feb 05, 2004 8:35 am</p><hr />
]]></content>
	</entry>
	</feed>
