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

	<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-05-22T16:52:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-05-22T16:52:21-04:00</updated>

		<published>2004-05-22T16:52:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36534#p36534</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36534#p36534"/>
		<title type="html"><![CDATA[Re: A &quot;Ticket System&quot; - Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36534#p36534"><![CDATA[
<blockquote class="uncited"><div>Hello guys, I am new @ TCL,<br>1. Who can give me guides to learn TCL? I know mirc scripting...<br>2. Who can help me to build a system, that if someone say in #channel      !help its msgs #channel2 nick is need help, please help him and msgs the user, please wait while some admin will help you, and admins can write to the bot !online or !offline and if there is no admin online the bot says I am sorry there is no admin avilable<br>3. Who can give me the basic code for on *:text:*Bla*:#: { //msg $channel or $nick hey hello and bye }<br>?<br>10x.<br><br>btw... I can put many scripts on 1 eggdrop?<br>what are the basic commands that come with eggdrop?</div></blockquote>Well, this is answer for 3th question:<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- "bla" pub:blaproc pub:bla {nick host handle chan arg} {  putquick "PRIVMSG $chan :hey, hello and bye"} </code></pre></div>(it could be done in many other ways too...)<br><br>Well, and this one is for second  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> <br><div class="codebox"><p>Code: </p><pre><code>set chan1 "#channel1"# Here you put chan, on which you want !help to workset chan2 "#channel2" # Here you put on which bot will msg request for help...bind pub -|- "!help" pub:helpbind pub -|- "!online" pub:onbind pub -|- "!offline" pub:offproc pub:help {nick host handle chan arg} {global chan1 chan2if { $chan == $chan1 } {  putquick "PRIVMSG $chan2 :$nick in $chan1 need help.Please help him :)"  putquick "PRIVMSG $nick :Please wait a while, help is comming :P"  return 0 } }proc pub:on {nick host handle chan arg} {global chan1 chan2if { $chan == $chan2 } {  putquick "PRIVMSG $chan1 :Few moments and help will be there :P"  return 0 }} proc pub:off {nick host handle chan arg} {global chan1 chan2if { $chan == $chan2 } {  putquick "PRIVMSG $chan1 :Admins are busy atm, plz try again in some time..."  return 0 }} </code></pre></div>I'm not sure if is working, i didn't test it...But it should work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><br><br>-Update:I just test the script.It works ok <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=3559">]Kami[</a> — Sat May 22, 2004 4:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-22T15:25:57-04:00</updated>

		<published>2004-05-22T15:25:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36529#p36529</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36529#p36529"/>
		<title type="html"><![CDATA[A &quot;Ticket System&quot; - Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36529#p36529"><![CDATA[
Some Links that will help you out.<br><a href="http://www.suninet.nl/tclguide/index.php" class="postlink">SUNiNET's Guide to TCL scripting for Eggdrop 1.6</a> - a great primer<br><a href="http://www.tclscript.com/tutor.shtml" class="postlink">tclscript.com tutorials</a><br><a href="http://wiki.tcl.tk/" class="postlink">The tcl wiki</a> - huge plethora of information<br><a href="http://www.tcl.tk/doc/" class="postlink">tcl.tk documentation</a> - a great starting spot for learning tcl<br><br>Download the eggdrop source to your computer and extract the documentation from the tar(\eggdrop1.6.x\doc\html), its invaluable to a beginner.  And all the eggdrop tcl commands are in it which you will need when you progress further then the beginner tutorials.<br><br>I would recommend you stop right now from thinking there is a simularity between mIRC scripting and tcl scripting, it will only get you into trouble.<p>Statistics: Posted by Guest — Sat May 22, 2004 3:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-22T14:00:58-04:00</updated>

		<published>2004-05-22T14:00:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36528#p36528</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36528#p36528"/>
		<title type="html"><![CDATA[A &quot;Ticket System&quot; - Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36528#p36528"><![CDATA[
Hello guys, I am new @ TCL,<br>1. Who can give me guides to learn TCL? I know mirc scripting...<br>2. Who can help me to build a system, that if someone say in #channel      !help its msgs #channel2 nick is need help, please help him and msgs the user, please wait while some admin will help you, and admins can write to the bot !online or !offline and if there is no admin online the bot says I am sorry there is no admin avilable<br>3. Who can give me the basic code for on *:text:*Bla*:#: { //msg $channel or $nick hey hello and bye }<br>?<br>10x.<br><br>btw... I can put many scripts on 1 eggdrop?<br>what are the basic commands that come with eggdrop?<p>Statistics: Posted by Guest — Sat May 22, 2004 2:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
