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

	<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-06-18T13:10:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-18T13:10:15-04:00</updated>

		<published>2004-06-18T13:10:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37556#p37556</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37556#p37556"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37556#p37556"><![CDATA[
Hmm... well technically it wouldn't crash.<br>The bind would not trigger and would give you a tcl error in partyline.<br><br>Personally I think if you would have loaded the script with which you came up with, those syntax errors would have undoubtedly and surely crashed your bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri Jun 18, 2004 1:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scorchin]]></name></author>
		<updated>2004-06-18T08:50:52-04:00</updated>

		<published>2004-06-18T08:50:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37549#p37549</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37549#p37549"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37549#p37549"><![CDATA[
so what awyeah posted was wrong code? as when i loaded it up, it did crash my eggdrop :s<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5030">scorchin</a> — Fri Jun 18, 2004 8:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-15T07:53:04-04:00</updated>

		<published>2004-06-15T07:53:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37400#p37400</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37400#p37400"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37400#p37400"><![CDATA[
Hmm... okay there you have it.<br>The bold line.<br><blockquote class="uncited"><div>PUBM (stackable) <br><br>bind pubm &lt;flags&gt; &lt;mask&gt; &lt;proc&gt; <br>procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt; &lt;text&gt; <br><br>Description: just like MSGM, except it's triggered by things said on a channel instead of things /msg'd to the bot. <strong class="text-strong">The mask is matched against the channel name followed by the text and can contain wildcards.</strong> Also, if a line triggers a PUB bind, it will not trigger a PUBM bind.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Jun 15, 2004 7:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-06-14T18:53:10-04:00</updated>

		<published>2004-06-14T18:53:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37382#p37382</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37382#p37382"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37382#p37382"><![CDATA[
Hehe.. you even posted the description, and you STILL missed it...<br>oy vay.... do you read what you paste?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br>Hint: "The mask is matched against..........................."<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Mon Jun 14, 2004 6:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-06-14T14:15:20-04:00</updated>

		<published>2004-06-14T14:15:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37357#p37357</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37357#p37357"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37357#p37357"><![CDATA[
<blockquote class="uncited"><div>I think I have read the tcl-commands.doc more<br>times than you dollar, besides I have the whole tcl manual<br>on my system and I look into it frequently now and then.</div></blockquote>And? You still make mistakes, so read it some more! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Mon Jun 14, 2004 2:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-14T14:06:57-04:00</updated>

		<published>2004-06-14T14:06:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37355#p37355</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37355#p37355"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37355#p37355"><![CDATA[
Well erm... no need for criticism...<br>have to test it out, myself if all work...<br><br>I think I have read the tcl-commands.doc more<br>times than you dollar, besides I have the whole tcl manual<br>on my system and I look into it frequently now and then.<br><br>Maybe some have<br><br>% matches 0 or more non-space characters (can be used to match a single word)<br> <br>~ matches 1 or more space characters (can be used for whitespace between words)<br><br>%  ~ ? <br><br>In the beginning which need to be changed.<br>I use pubm but with a word list and string match<br>makes it perfect for me.<br><br><blockquote class="uncited"><div>PUBM (stackable)<br><br>bind pubm &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt; &lt;text&gt;<br><br>Description: just like MSGM, except it's triggered by things said on a channel instead of things /msg'd to the bot. The mask is matched against the channel name followed by the text and can contain wildcards. Also, if a line triggers a PUB bind, it will not trigger a PUBM bind.</div></blockquote>Okay so leme.. see erm..<br><div class="codebox"><p>Code: </p><pre><code>bind pubm - "bye" pub:bye proc pub:bye {nick uhost handle chan text} { putquick "PRIVMSG $chan :Cya Soon $nick" } bind pubm - "nn" pub:nn proc pub:nn {nick uhost handle chan text} { putquick "PRIVMSG $chan :Night Night $nick" } bind pubm - "yooooooooo" pub:yo proc pub:yo {nick uhost handle chan text} { putquick "PRIVMSG $chan :yo0o0o0o0o!" } </code></pre></div>These might be the ones, with only the first matching word<br>so ithen changing to 'pub' would do it...  okay so maybe I did <br>things hastedly heh, there were so many I didn't look at them in detail.<br><br>Anyway after all I think he got the idea, how to fix most<br>of the syntax errors in the codes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Jun 14, 2004 2:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-06-13T16:19:30-04:00</updated>

		<published>2004-06-13T16:19:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37310#p37310</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37310#p37310"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37310#p37310"><![CDATA[
<blockquote class="uncited"><div>I only left these on 'pub' because they match the first<br>word of the text only.<br><br>bind pub - !commands pub:commands <br>bind pub - !server pub:server <br>bind pub - !website pub:website <br>bind pub - !members pub:members </div></blockquote>I said your <strong class="text-strong">pubm</strong> bindings, not <strong class="text-strong">pub</strong> ... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Jun 13, 2004 4:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-06-13T16:17:21-04:00</updated>

		<published>2004-06-13T16:17:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37309#p37309</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37309#p37309"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37309#p37309"><![CDATA[
<blockquote class="uncited"><div>I only left these on 'pub' because they match the first<br>word of the text only.<br><br>bind pub - !commands pub:commands <br>bind pub - !server pub:server <br>bind pub - !website pub:website <br>bind pub - !members pub:members <br><br><br>Rest as you see are matching more than 1 word<br>with wildcards as well, so they are binded to 'pubm'<br>instead of 'pub'.</div></blockquote>Instead of trying to be a smartass, go read the doc as strikelight said...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Sun Jun 13, 2004 4:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-13T14:53:55-04:00</updated>

		<published>2004-06-13T14:53:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37303#p37303</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37303#p37303"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37303#p37303"><![CDATA[
I only left these on 'pub' because they match the first<br>word of the text only.<br><br>bind pub - !commands pub:commands <br>bind pub - !server pub:server <br>bind pub - !website pub:website <br>bind pub - !members pub:members <br><br><br>Rest as you see are matching more than 1 word<br>with wildcards as well, so they are binded to 'pubm'<br>instead of 'pub'.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Jun 13, 2004 2:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-06-13T12:46:09-04:00</updated>

		<published>2004-06-13T12:46:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37297#p37297</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37297#p37297"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37297#p37297"><![CDATA[
Your patterns to match against for the pubm bindings are incorrect on most of them still, awyeah...<br><br>  Again, see <strong class="text-strong">tcl-commands.doc</strong> to find what pubm bindings are matched against.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Jun 13, 2004 12:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-13T09:05:42-04:00</updated>

		<published>2004-06-13T09:05:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37289#p37289</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37289#p37289"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37289#p37289"><![CDATA[
Try these now I have fixed all, well I think.<br><br>You had alot of errors.<br>- Syntax errors: missing "<br>- Incorrect number of arguments used in procedures<br>- Some useless return 0's, which dont need to be used<br>- Incorrect binding types<br><br><div class="codebox"><p>Code: </p><pre><code>bind pubm - "cs anyone?" pub:cs proc pub:cs {nick uhost handle chan text}  { putquick "PRIVMSG $chan :I like CS! Play with me! My steams not working though"} bind pubm - "Ah snake a snake! Snake, a snake! Ooooh, it's a snake!" pub:snake proc pub:snake {nick uhost handle chan text} { putquick "PRIVMSG $chan :You sissy girl Fishbot!"}bind pubm - "There is no spoon." pub:spoon proc pub:spoon {nick uhost handle chan text} { putquick "PRIVMSG $chan :Ill just put this back into the drawer then shall i?"}bind pubm - "No-one can be told what the matrix is. You have to see it for yourself." pub:matrix proc pub:matrix {nick uhost handle chan text} { putquick "PRIVMSG $chan :Its a movie ffs! you numpty fishbot!"}bind pubm - "Show me." pub:show proc pub:show {nick uhost handle chan text} { putquick "PRIVMSG $chan :Ill just get my samuari sword then shall i?"}bind pubm - "Nope, too sober for vinegar. Try later." pub:sober proc pub:sober {nick uhost handle chan text} { putquick "PRIVMSG $chan :Your not sober fishbot, you can't even stand up straight!"}bind pubm - "% Who are you [707]Oobie\?" pub:oob proc pub:oob {nick uhost handle chan text} { putquick "PRIVMSG $chan :His name is Oobie Doo benoobie, he has the silliest name in the entire galaxy"}bind pubm - "bye" pub:bye proc pub:bye {nick uhost handle chan text} { putquick "PRIVMSG $chan :Cya Soon $nick"}bind pubm - "fish go moo" pub:fish1 proc pub:fish1 {nick uhost handle chan text} { putquick "PRIVMSG $chan :FISH DON'T GO MOO YOU FOOL SO STFU!!!"}bind pubm - "yooooooooo" pub:yo proc pub:yo {nick uhost handle chan text} { putquick "PRIVMSG $chan :yo0o0o0o0o!"}bind pubm - "stfu Bird-Plop" pub:stfubp proc pub:stfubp {nick uhost handle chan text} { putquick "PRIVMSG $chan :\;'("}bind pubm - "nn" pub:nn proc pub:nn {nick uhost handle chan text} { putquick "PRIVMSG $chan :Night Night $nick"}bind pubm - "% where are we bird-plop\?" pub:where proc pub:where {nick uhost handle chan text} { putquick "PRIVMSG $chan :Ask Oobie. He knows much about the galaxy."}bind pubm - "I don't want to know" pub:know proc pub:know {nick uhost handle chan text} { putquick "PRIVMSG $chan :If your playing me keep it on the low....sings along..."}bind pubm - "La La La" pub:la proc pub:la {nick uhost handle chan text} { putquick "PRIVMSG $chan :Bird-Plop always smokin that la la la, Scorchin always smokin that la la la, Freeway always smokin that la la la"}bind pubm - "~ ffs you let them get away!!" pub:getawayproc pub:getaway {nick uhost handle chan text} { putquick "PRIVMSG $chan :well, wtf did you do to keep them in fishbot! exactly, nothing so stop complaining."} set reply_chans "#chan1 #chan2 #chan3" set reply_vxd "#chan1 #chan2 #chan3" bind join - * greet_msg bind join - * greet_vxd bind pub - !commands pub:commands bind pub - !server pub:server bind pub - !website pub:website bind pub - !members pub:members proc pub:commands {nick uhost handle chan text} {  global reply_chans  if {(([lsearch -exact [split [string tolower $reply_chans]] [string tolower $chan]] != -1) || ($reply_chans == "*"))} {  putquick "NOTICE $nick :Avalible commands:"  putquick "NOTICE $nick :!server, !website, !members"} proc pub:server {nick host handle chan text} {  global reply_chans  if {(([lsearch -exact [split [string tolower $reply_chans]] [string tolower $chan]] != -1) || ($reply_chans == "*"))} {  putquick "NOTICE $nick :Our CS Server can be found at: 80.253.122.163:27065" } proc pub:website {nick uhost handle chan text} {  global reply_chans  if {(([lsearch -exact [split [string tolower $reply_chans]] [string tolower $chan]] != -1) || ($reply_chans == "*"))} {  putquick "NOTICE $nick :Our website address is...will put domain here" } proc pub:members {nick uhost handle chan text} {  global reply_chans  if {(([lsearch -exact [split [string tolower $reply_chans]] [string tolower $chan]] != -1) || ($reply_chans == "*"))} {  putquick "NOTICE $nick :Our Current Members are as Follows..." putquick "NOTICE $nick :line 2"  putquick "NOTICE $nick :line 3"  putquick "NOTICE $nick :line 4" } proc greet_msg {nick uhost handle chan} {  putquick "NOTICE $nick :Hello $nick type !commands for channel commands." } proc greet_vxd {nick uhost handle chan} {  global reply_vxd  if {(([lsearch -exact [split [string tolower $reply_vxd]] [string tolower $chan]] != -1) || ($reply_vxd == "*"))} {  putquick "NOTICE $nick :Hello $nick please make sure you check out the Forums at domain here and check on enemydown.co.uk for any matches" } </code></pre></div>If I have hopefully corrected all, they should work<br>correctly. If not you can check in DCC partyline which<br>procedures give error.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Jun 13, 2004 9:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-06-12T14:27:15-04:00</updated>

		<published>2004-06-12T14:27:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37257#p37257</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37257#p37257"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37257#p37257"><![CDATA[
Not to mention your excessive incorrect usage of the pub binding...<br>The pub binding is used to match against the first word said in a channel..<br><br>You have multiple words, pattern matching, etc.. etc... You want to use the pubm binding... <br><br>Also you are supplying the wrong number of parameters in your procedure declarations anyways...<br><br>See tcl-commands.doc that comes with your eggdrop.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sat Jun 12, 2004 2:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-06-12T14:00:59-04:00</updated>

		<published>2004-06-12T14:00:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37254#p37254</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37254#p37254"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37254#p37254"><![CDATA[
For the first code I see that you have lots of missing " and a lot of unneeded returns (I mean a lot of "return 0") when the proc ends after your action. As for the second one, I'm kinda lazy right now to look closely.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jun 12, 2004 2:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scorchin]]></name></author>
		<updated>2004-06-12T12:26:03-04:00</updated>

		<published>2004-06-12T12:26:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37253#p37253</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37253#p37253"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37253#p37253"><![CDATA[
it says that i havn't given a vaild argument, and that the string is wron,g its not the fault of the eggdrop as i just loaded up a new tcl script and it was fine<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5030">scorchin</a> — Sat Jun 12, 2004 12:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-06-12T11:46:32-04:00</updated>

		<published>2004-06-12T11:46:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37252#p37252</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37252#p37252"/>
		<title type="html"><![CDATA[Script will just not load....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37252#p37252"><![CDATA[
what are the errors you get when you try to load these ?<p>Statistics: Posted by Guest — Sat Jun 12, 2004 11:46 am</p><hr />
]]></content>
	</entry>
	</feed>
