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

	<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>2022-05-25T07:37:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-05-25T07:37:17-04:00</updated>

		<published>2022-05-25T07:37:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111156#p111156</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111156#p111156"/>
		<title type="html"><![CDATA[Anyone already use picoirc package ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111156#p111156"><![CDATA[
Ok, here is the answer<blockquote class="uncited"><div>13:23:35 &lt;mjanssen&gt; CrazyCat: your eventloop is not running<br>13:23:54 &lt;mjanssen&gt; instead of directly calling test do after 10 test ; vwait forever<br>13:24:17 &lt;CrazyCat&gt; mjanssen&gt; oh ? let me try that<br>13:24:18 &lt;mjanssen&gt; after 10 test ; will schedule the call to test as soon as the eventloop starts running<br>13:24:29 &lt;mjanssen&gt; vwait forever  ; will start the event loop<br>13:26:34 &lt;CrazyCat&gt; oh yes it works !</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed May 25, 2022 7:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-05-25T05:59:21-04:00</updated>

		<published>2022-05-25T05:59:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111155#p111155</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111155#p111155"/>
		<title type="html"><![CDATA[Anyone already use picoirc package ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111155#p111155"><![CDATA[
Hi there,<br><br>I'm trying to use <a href="https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/modules/irc/picoirc.md" class="postlink">picoirc</a> but I can't have any result.<br>I probably misunderstood how it works, so if anyone knows...<br><br>My (actual) try:<div class="codebox"><p>Code: </p><pre><code>package require picoircproc test {} {   set myirc [::picoirc::connect cbirc testor "irc://irc.zeolia.net/test"]}proc cbirc {context state args} {   puts "Callback is here with $args"   switch $state {      init {         puts "Initialized with $context"      }      connect {         puts "connected ?"         ::picoirc::post $context "/join #test2"      }      close {         puts "Well, close with $args"      }      debug {         puts "D --&gt; $args"      }      default {         puts $state         }     }}</code></pre></div>And when using:<div class="codebox"><p>Code: </p><pre><code>crazycat@dev:~$ tclsh% source ircclient.tcl% testCallback is here withInitialized with ::picoirc::irc1::picoirc::irc1</code></pre></div>And nothing appear in IRC, neither in my ircd logs...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed May 25, 2022 5:59 am</p><hr />
]]></content>
	</entry>
	</feed>
