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

	<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>2005-04-18T18:17:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-18T18:17:13-04:00</updated>

		<published>2005-04-18T18:17:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48283#p48283</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48283#p48283"/>
		<title type="html"><![CDATA[tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48283#p48283"><![CDATA[
I would suggest to keep you binds at a reasonable amount to structure the proc like that:<br><div class="codebox"><p>Code: </p><pre><code>bind pubm - * theprocproc theproc {n u h c t} {  switch -glob -- $t {    "*first match" -    "*first match alternate" {puthelp "PRIVMSG $c :first text"}    "*second match" {puthelp "PRIVMSG $c :second text"}  }}</code></pre></div>for actions, you have to use:<br>bind ctcp - ACTION theproc2<br>and put them via:<br>puthelp "PRIVMSG $c :\001ACTION is cool\001"<br><br>refer <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/</a> and the TCL-Commands.doc for more informations about the commands. Believe me, looking for 2min into these will help you faster than waiting for replys on the board.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon Apr 18, 2005 6:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-04-18T17:45:05-04:00</updated>

		<published>2005-04-18T17:45:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48281#p48281</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48281#p48281"/>
		<title type="html"><![CDATA[tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48281#p48281"><![CDATA[
First of all this post should of been in the TCL help or Script request section. So yes you are lazy for not reading the forum rules.<br><div class="codebox"><p>Code: </p><pre><code>bind  pub   -   theword  theprocproc theproc {n u h c t} {putserv "PRIVMSG $c :blah blah blah"}</code></pre></div>Here is a simple script on the trigger 'theword' it calls theproc procedure and prints 'blah blah blah' to the channel the !trigger was typed in. Add as many as you need. Be warned tho that anyone can use this command and therefor if a lot of people all at once decide to hammer your bot with all the commands it uses it could flood your bot. If you want only ops that are in your bots userlist to have access to this command change the - in the bind to o|o<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Mon Apr 18, 2005 5:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Corlet]]></name></author>
		<updated>2005-04-18T15:20:09-04:00</updated>

		<published>2005-04-18T15:20:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48273#p48273</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48273#p48273"/>
		<title type="html"><![CDATA[tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48273#p48273"><![CDATA[
Right, i'm not lazy, just dont have alot of time. Just i created a script for an eggdrop, but i did it in irc script, not in tcl. So the question is, is anyone willing to convert it inot tcl for me, as i dont know the language, and yes i would do it, if i knew it and had the time to do it. I expect most of you to say no, but must be atleast one kind person who would do this for me.<br><br>on *:text:rastabot:#:/msg $chan ya mon<br>on *:text:*hello rastabot:#:/msg $chan peace<br>on *:text:*lo rastabot:#:/msg $chan peace<br>on *:text:*hi rastabot:#:/msg $chan peace <br>on *:text:*hey rastabot:#:/msg $chan peace<br>on *:text:*where do you live*:#:/msg $chan in da good land of jamaica<br>on *:text:*you smell rastabot*:#:/msg $chan only of ganja<br>on *:text:*u smell rastabot*:#:/msg $chan only of ganja<br>on *:text:*how do you smoke yours*:#:/msg $chan in a fat blunt<br>on *:text:*joint*:#:/msg $chan i could do with a joint right now<br>on *:invite:#:/join $chan |  /timer 1 3 /describe $chan  skins up and passes the joint around in $chan<br>on *:text:*weed*:#:/describe $chan sniffs around..... | /timer 1 2 /msg $chan ok, whos got a bag of ganja.... hand it over<br>on *:text:*bong*:#:/msg $chan bongs are the [censored], you see my 8 ft bong<br>on *:text:*website*:#:/msg $chan someone say website? hmmmm <a href="http://www.tokeonthis.co.uk" class="postlink">www.tokeonthis.co.uk</a><br>on *:text:*rastabot say*:#:/msg $chan $3-<br>on *:action:steels rastabots ganja:#:/msg $chan oi $nick give me my ganja back<br>on *:action:is goin to steel rastabots ganja:#:/describe $chan wags finger at $nick<br>on *:text:*bb rastabot*:#:/msg $chan peace<br>on *:text:*nn rastabot*:#:/msg $chan peace<br>on *:text:*i want a rastabot*:#:/msg $chan go to #tokeonthis to find out how to get me in your channel<br>on *:text:*how do i get a rastabot*:#:/msg $chan go to #tokeonthis to find out how to get me in your channel<br>on *:text:*how do you get a rastabot*:#:/msg $chan go to #tokeonthis to find out how to get me in your channel<br>on *:text:*how do u get a rastabot*:#:/msg $chan go to #tokeonthis to find out how to get me in your channel<br>on *:text:*where do u get the rastabot from*:#:/msg $chan go to #tokeonthis to find out how to get me in your channel<br>on *:text:*where do you get the rastabot from*:#:/msg $chan go to #tokeonthis to find out how to get me in your channel<br>on *:text:*where did u get the rastabot from*:#:/msg $chan go to #tokeonthis to find out how to get me in your channel<br>on *:text:*where did you get the rastabot from*:#:/msg $chan go to #tokeonthis to find out how to get me in your channel<br>on *:text:*herb*:#:/msg $chan i smoke da herb<br>on *:text:*mashed*:#:/msg $chan mashed? get some more precious herb into your lungs<br>on *:action:steels rastabots weed:#:/msg $chan oi $nick give me my weed back<br>on *:action:is goin to steel rastabots weed:#:/describe $chan wags finger at $nick<br>on *:action:is gunna steel rastabots weed:#:/describe $chan wags finger at $nick<br>on *:action:steels rastabots ganja:#:/msg $chan oi $nick give me my ganja back<br>on *:action:is goin to steel rastabots ganja:#:/describe $chan wags finger at $nick<br>on *:action:is gunna steel rastabots ganja:#:/describe $chan wags finger at $nick<br>on *:text:*marley*:#:/msg $chan marley is me main mon<br>on *:text:*!time*:#:/msg $chan who needs time when you live in jamaica, when everyday is a good day<br>on *:text:*ganja*:#:/msg $chan of all the words for ganja, this be me favourite<br>on *:text:*cannabis*:#:/msg $chan cannabis is the root of all that is good<br>on *:text:*marijuana*:#:/msg $chan give me hope joanna<br>on *:text:*copy*:#:/msg $chan monkey see, monkey do<br>on *:text:*effort*:#:/msg $chan One coco full basket<br>on *:text:*toke it*:#:/msg $chan if you can toke it..... smoke it <a href="http://www.tokeonthis.co.uk" class="postlink">www.tokeonthis.co.uk</a><br>on *:text:*tokeit*:#:/msg $chan if you can toke it..... smoke it <a href="http://www.tokeonthis.co.uk" class="postlink">www.tokeonthis.co.uk</a><br>on *:text:*smoke*:#:/describe $chan skins up another joint | /describe admires tokeonthis.co.uk as he smokes<br>on *:text:*:?:/describe $nick is to busy smoking a fat blunt, go to #tokeonthis for more info<br>on *:text:*rastabot smells*:#:/msg $chan only of ganja<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6108">Corlet</a> — Mon Apr 18, 2005 3:20 pm</p><hr />
]]></content>
	</entry>
	</feed>
