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

	<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>2003-05-29T00:42:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-29T00:42:32-04:00</updated>

		<published>2003-05-29T00:42:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20894#p20894</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20894#p20894"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20894#p20894"><![CDATA[
Yes, remove the " from the :" .. eg:<br>from:<div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG $chan :"On tähtis et kuu oleks kujul JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC. (ega kui valesti paned midagi ei juhtu kah, aga õige on nii)" </code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG $chan :On tähtis et kuu oleks kujul JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC. (ega kui valesti paned midagi ei juhtu kah, aga õige on nii)"</code></pre></div>Notice that I have removed the " after the : because there is no need of it. Do the same with all of them and will work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu May 29, 2003 12:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kaarel]]></name></author>
		<updated>2003-05-29T00:25:51-04:00</updated>

		<published>2003-05-29T00:25:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20893#p20893</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20893#p20893"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20893#p20893"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !synna synna_pub bind pub - !ops ops_pub bind pub - !reeglid rules_pub bind pub - !cyber cyber_pubproc synna_pub {nick host handle chan args} { putserv "PRIVMSG $chan :"Kui tahad oma sünnipäeva Botmani andmebaasi sisestada tee seda kujul !date &lt;kuu&gt; &lt;päev&gt; &lt;sünniaasta&gt;" putserv "PRIVMSG $chan :"On tähtis et kuu oleks kujul JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC. (ega kui valesti paned midagi ei juhtu kah, aga õige on nii)"putserv "PRIVMSG $chan :"Ja nüüd kui sünnipäev on andmebaasi sisestatud saad sa jälgida mitu päeva/nädalat su sünnipäevani on. "putserv "PRIVMSG $chan :"Selleks kasuta !date  Kui tahad oma sõbra sünnipäeva jälgida pane !date &lt;nimi&gt; "} proc ops_pub {nick host handle chan args} {putserv "PRIVMSG $chan :"Kui mina olen sulle andnud vastava staatuse siis sul on võimalik kanalis kasutada järgnevaid võimalusi-"putserv "PRIVMSG $chan :"!op Annad endale opi."putserv "PRIVMSG $chan :"!op &lt;nimi&gt; - Annad opi inimsesle."putserv "PRIVMSG $chan :"!deop &lt;nimi&gt; - Võtad opi inimseslt."putserv "PRIVMSG $chan :"!voice &lt;nimi&gt; - Annad voici inimsele."putserv "PRIVMSG $chan :"!devoice &lt;nimi&gt; - Võtad voici inimselt."putserv "PRIVMSG $chan :"!kick &lt;nimi&gt; &lt;põhjus&gt; - Kickid inimese kanalilt. Põhjus pole kohustuslik."putserv "PRIVMSG $chan :"!ban &lt;nimi&gt; &lt;põhjus&gt; - Bannid inimese kanalilt. Põhjus pole kohustuslik"putserv "PRIVMSG $chan :"!topic &lt;uus topic&gt; - Paneb sinu kirjutatud topicu kanali topicuks."} proc reeglid_pub {nick host handle chan args} { putserv "PRIVMSG $chan :"Keelatud on teiste solvamine roppude sõnadega. (Solvata võivad ainult omad tuttavad inimesed)"putserv "PRIVMSG $chan :"Keelatud on reklaamida teisi kanaleid. Vahest võib läbi lipsata vaid need kanalid mis võivad aidata inimsest. (#Ircworld #mp3 JNE)"putserv "PRIVMSG $chan :"Kui keegi soovib mingeid reegleidlisada võtku ühendust Kaareliga"} proc cyber_pub {nick host handle chan args} { putserv "PRIVMSG $chan :"Kui soovid, et teised ja sa ise teaksid  millal su sünnip2ev on kirjuta !synna (seal kõik paremini kirjas)"putserv "PRIVMSG $chan :"Kõik kes on saanud minu käest vastavad astmed v6ivad vaadata !opid"putserv "PRIVMSG $chan :"Kui soovid et Botman annaks sulle ulevaate mingist filmist kirjuta !imdb &lt;filmi nimi&gt;"putserv "PRIVMSG $chan :"Kui soovid vaadata Botmani staatust kitjuta !status või .besttimes"putserv "PRIVMSG $chan :"Reeglitega on soovitatav tutvuda kah. Selleks kirjuta !reeglid"putserv "PRIVMSG $chan :"Kui soovid teada kui palju inimsei on kanalis #cyberworld kokku olnud korraga kirjuta !visitors , samuti ilmub kiri  iga liitumise ajal mitmes külastaja sa oled. (-Botman- Tere, sa oled  475 inimene või muu olevus kes on  kanalisse #cyberworld sattunud alates 8 May 2003.)"putserv "PRIVMSG $chan :"Kui tahad vaadata millal mingi inimene viimati olnud on kirjuta kanalis !seen &lt;nimi&gt;"} </code></pre></div><br>CAn anydoby tell me what is wrong with that code, my BOT says &lt;Botman&gt; [07:24] Tcl error [cyber_pub]: extra characters after close-quote<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3078">Kaarel</a> — Thu May 29, 2003 12:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-05-28T13:11:35-04:00</updated>

		<published>2003-05-28T13:11:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20877#p20877</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20877#p20877"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20877#p20877"><![CDATA[
when caesar says "your code goes here" you have to put what you want your bot to do.<br>for example in the date_pub put a code like this:<br><div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG $chan :hi!"</code></pre></div>or<br><div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG $nick :hi!"</code></pre></div>or whatevah you want it to say.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Wed May 28, 2003 1:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kaarel]]></name></author>
		<updated>2003-05-28T12:59:23-04:00</updated>

		<published>2003-05-28T12:59:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20876#p20876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20876#p20876"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20876#p20876"><![CDATA[
<blockquote class="uncited"><div>If you have all the 3 binds (public commands) to the same proc then that's a problem. You should change them to a different one for each of them. Use something like:<div class="codebox"><p>Code: </p><pre><code>bind pub - !date date_pub bind pub - !ops ops_pub bind pub - !rules rules_pub proc date_pub {nick host handle chan args} {your code goes here..}proc ops_pub {nick host handle chan args} {your code goes here..}proc rules_pub {nick host handle chan args} {your code goes here..}</code></pre></div>Take this as an example not as a code..</div></blockquote><br>Even I try that code my bot says me &lt;Botman&gt; [19:58] Tcl error [rules_pub]: invalid command name "your"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3078">Kaarel</a> — Wed May 28, 2003 12:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-05-28T04:39:45-04:00</updated>

		<published>2003-05-28T04:39:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20839#p20839</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20839#p20839"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20839#p20839"><![CDATA[
Do as caesar said.<br><br>Tcl doesn't operate in a fasion where each file is 100% indepenant of each other.<br><br>When the files are read, they go into a single memory buffer, which is read, as if the entire contents where stored in a single files, rather than the seperate ones.<br><br>As such, any names that are the same, either overwrite each other (as in your case) or cause an error.<br><br>This means that the names of the procedures need adjusting to a unique name (making sure the binds are also changed to unique names).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed May 28, 2003 4:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-28T02:35:23-04:00</updated>

		<published>2003-05-28T02:35:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20827#p20827</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20827#p20827"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20827#p20827"><![CDATA[
If you have all the 3 binds (public commands) to the same proc then that's a problem. You should change them to a different one for each of them. Use something like:<div class="codebox"><p>Code: </p><pre><code>bind pub - !date date_pub bind pub - !ops ops_pub bind pub - !rules rules_pub proc date_pub {nick host handle chan args} {your code goes here..}proc ops_pub {nick host handle chan args} {your code goes here..}proc rules_pub {nick host handle chan args} {your code goes here..}</code></pre></div>Take this as an example not as a code..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed May 28, 2003 2:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-05-27T16:42:51-04:00</updated>

		<published>2003-05-27T16:42:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20803#p20803</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20803#p20803"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20803#p20803"><![CDATA[
what do you have in these files? I didn't understand  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Tue May 27, 2003 4:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kaarel]]></name></author>
		<updated>2003-05-27T14:38:42-04:00</updated>

		<published>2003-05-27T14:38:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20798#p20798</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20798#p20798"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20798#p20798"><![CDATA[
I have that problem that I made 3 different<br><br>date.tcl<br>ops.tcl<br>rules.tcl<br><br>But I cant use them together. Even when I use ops trigger I get rules text. Where is the problem<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3078">Kaarel</a> — Tue May 27, 2003 2:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-05-27T09:05:02-04:00</updated>

		<published>2003-05-27T09:05:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20772#p20772</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20772#p20772"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20772#p20772"><![CDATA[
Also make sure you use "set" and not "ser"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue May 27, 2003 9:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-05-27T08:58:14-04:00</updated>

		<published>2003-05-27T08:58:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20771#p20771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20771#p20771"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20771#p20771"><![CDATA[
yes you can do that but don't forget the " in the end of:<br><div class="codebox"><p>Code: </p><pre><code>set fourth "Here write the fourth command</code></pre></div>and<br><div class="codebox"><p>Code: </p><pre><code>puthelp "NOTICE $nick :$fourth</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Tue May 27, 2003 8:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kaarel]]></name></author>
		<updated>2003-05-27T08:55:15-04:00</updated>

		<published>2003-05-27T08:55:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20769#p20769</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20769#p20769"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20769#p20769"><![CDATA[
But if I want to put over 3 triggers<br><br>Do I have to use that code<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !commands com_pub proc com_pub {nick host handle chan args} { set first "Here write the first command" set second "Here write the second command" set third "Here write the third command" ser fourth "Here write the third commandputhelp "NOTICE $nick :$first" puthelp "NOTICE $nick :$second" puthelp "NOTICE $nick :$third"puthelp "NOTICE $nick :$fourthreturn 1 }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3078">Kaarel</a> — Tue May 27, 2003 8:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-05-26T13:24:51-04:00</updated>

		<published>2003-05-26T13:24:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20715#p20715</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20715#p20715"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20715#p20715"><![CDATA[
it's so easy...<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !commands com_pubproc com_pub {nick host handle chan args} {set first "Here write the first command"set second "Here write the second command"set third "Here write the third command"puthelp "NOTICE $nick :$first"puthelp "NOTICE $nick :$second"puthelp "NOTICE $nick :$third"return 1}</code></pre></div>You can do it much better if you read the tcl-commands.doc or read a guide to write your own TCL scripts  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Mon May 26, 2003 1:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kaarel]]></name></author>
		<updated>2003-05-26T11:45:22-04:00</updated>

		<published>2003-05-26T11:45:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20705#p20705</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20705#p20705"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20705#p20705"><![CDATA[
I cant`t underestand what you try to say me<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3078">Kaarel</a> — Mon May 26, 2003 11:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-05-25T09:43:07-04:00</updated>

		<published>2003-05-25T09:43:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20626#p20626</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20626#p20626"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20626#p20626"><![CDATA[
read the suninet.nl tcl guide aswell.<br>searching the forum would return 375492726348 examples :&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Sun May 25, 2003 9:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kaarel]]></name></author>
		<updated>2003-05-25T05:00:14-04:00</updated>

		<published>2003-05-25T05:00:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20617#p20617</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20617#p20617"/>
		<title type="html"><![CDATA[A little script needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20617#p20617"><![CDATA[
Still need help  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3078">Kaarel</a> — Sun May 25, 2003 5:00 am</p><hr />
]]></content>
	</entry>
	</feed>
