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

	<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>2012-01-27T13:45:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2012-01-27T13:45:32-04:00</updated>

		<published>2012-01-27T13:45:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98623#p98623</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98623#p98623"/>
		<title type="html"><![CDATA[Re: 2 TCL Files. 1 Trigger.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98623#p98623"><![CDATA[
<blockquote class="uncited"><div>Hi,<br><br>I am running eggdrop1.8 as i need ssl <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Anyway.. this will probably happen on all versions.<br><br>I am wondering.. i need to trigger 2 scripts from one !trigger.<br>But at the moment. Only one will operate at a time and I cannot combine scripts <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> Anyway to fix this?<br><br>Thanks,<br><br>Louis</div></blockquote><div class="codebox"><p>Code: </p><pre><code>bind pub - !test wrapProcsproc wrapProcs {nick uhost hand chan text} {  proc1 $nick $uhost $hand $chan $text  proc2 $nick $uhost $hand $chan $text}proc proc1 {nick uhost hand chan text} {  putserv "privmsg $chan :procedure 1 is active!"}proc proc2 {nick uhost hand chan text} {  putserv "privmsg $chan :procedure 2 is active!"}</code></pre></div>You merely write a wrapper that will call both procedures in the order you want. Associate the bind then to this wrapper. The wrapper will ensure both procedures run. There are other ways to do this involving "return codes" that can accomplish it as well. But "wrapping" the two together is the easier way.. Enjoy <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Fri Jan 27, 2012 1:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stormshadow]]></name></author>
		<updated>2012-01-27T01:05:00-04:00</updated>

		<published>2012-01-27T01:05:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98622#p98622</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98622#p98622"/>
		<title type="html"><![CDATA[details]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98622#p98622"><![CDATA[
What do you mean by "trigger two scripts?"<br>Are you referring to procs?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11600">stormshadow</a> — Fri Jan 27, 2012 1:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[squeege]]></name></author>
		<updated>2012-01-25T17:50:39-04:00</updated>

		<published>2012-01-25T17:50:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98617#p98617</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98617#p98617"/>
		<title type="html"><![CDATA[2 TCL Files. 1 Trigger.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98617#p98617"><![CDATA[
Hi,<br><br>I am running eggdrop1.8 as i need ssl <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Anyway.. this will probably happen on all versions.<br><br>I am wondering.. i need to trigger 2 scripts from one !trigger.<br>But at the moment. Only one will operate at a time and I cannot combine scripts <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> Anyway to fix this?<br><br>Thanks,<br><br>Louis<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11886">squeege</a> — Wed Jan 25, 2012 5:50 pm</p><hr />
]]></content>
	</entry>
	</feed>
