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

	<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>2009-06-10T21:57:23-04:00</updated>

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

		<entry>
		<author><name><![CDATA[holycrap]]></name></author>
		<updated>2009-06-09T19:33:26-04:00</updated>

		<published>2009-06-09T19:33:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89150#p89150</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89150#p89150"/>
		<title type="html"><![CDATA[!wb public command [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89150#p89150"><![CDATA[
Thanks guys! And much thanks to you speechles, I never knew "PutServ-O-Matic" existed.<br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9651">holycrap</a> — Tue Jun 09, 2009 7:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2009-06-09T18:00:32-04:00</updated>

		<published>2009-06-09T18:00:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89149#p89149</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89149#p89149"/>
		<title type="html"><![CDATA[Re: mIRC to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89149#p89149"><![CDATA[
<blockquote class="uncited"><div>Hi,<br><br>I have a simple mIRC code below which does the following:<br><br>&lt;holycrap&gt; !wb test<br>&lt;bot&gt; Welcome back, test!<br><br>How do I go about doing this in TCL?  I want to add more commands, for exe in the code below I can just copy and paste the entire block and change *wb* to something else and I have another command. Can someone show me how to do this in TCL?<br><br>Thank you!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><div class="codebox"><p>Code: </p><pre><code>on *:text:*wb*:#: {  if $1 == %c $+ wb {    if $2 == $null { msg $chan 13Welcome Back $nick $+ ! | halt }    else { msg $chan 13Welcome Back $2 $+ ! }  }}</code></pre></div></div></blockquote>If they all are simply mirc remotes returning message to the channel. Why not just use the <a href="http://forum.egghelp.org/viewtopic.php?t=15889&amp;start=17" class="postlink">Putserv-O-Matic</a> script and alter it's triggers, they are simply wildcard triggers the same as mirc would use. Change the flags in the bind below from it's present -|- of none to your flavor of control.<div class="codebox"><p>Code: </p><pre><code>bind pubm -|- "*" mycommands_proc </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Tue Jun 09, 2009 6:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2009-06-08T10:40:57-04:00</updated>

		<published>2009-06-08T10:40:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89130#p89130</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89130#p89130"/>
		<title type="html"><![CDATA[!wb public command [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89130#p89130"><![CDATA[
not sure if i understand all that msl code, but i think you are trying to make people get a response from the bot when they say !wb in channel.<br><br>!wb + argument makes the bot respond with welcome back + argument<br>and<br>!wb without argument makes the bot respond with welcome back + nick<br><br>if thats the case you might try the code below, untested btw:<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !wb wb_procproc wb_proc { nick uhost handle chan text } {set text [split $text]if { $text == "" } {putserv "PRIVMSG $chan :Welcome back $nick!"} else {putserv "PRIVMSG $chan :Welcome back [lindex $text 0]!"}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9589">raider2k</a> — Mon Jun 08, 2009 10:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[holycrap]]></name></author>
		<updated>2009-06-10T21:57:23-04:00</updated>

		<published>2009-06-08T09:11:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89128#p89128</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89128#p89128"/>
		<title type="html"><![CDATA[!wb public command [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89128#p89128"><![CDATA[
Hi,<br><br>I have a simple mIRC code below which does the following:<br><br>&lt;holycrap&gt; !wb test<br>&lt;bot&gt; Welcome back, test!<br><br>How do I go about doing this in TCL?  I want to add more commands, for exe in the code below I can just copy and paste the entire block and change *wb* to something else and I have another command. Can someone show me how to do this in TCL?<br><br>Thank you!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><div class="codebox"><p>Code: </p><pre><code>on *:text:*wb*:#: {  if $1 == %c $+ wb {    if $2 == $null { msg $chan 13Welcome Back $nick $+ ! | halt }    else { msg $chan 13Welcome Back $2 $+ ! }  }}</code></pre></div><span style="color:red"><span style="font-size:75%;line-height:116%">Edit: Changed subject to be more relevant. (Sir_Fz)</span></span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9651">holycrap</a> — Mon Jun 08, 2009 9:11 am</p><hr />
]]></content>
	</entry>
	</feed>
