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

	<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-03-12T06:44:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-12T06:44:34-04:00</updated>

		<published>2004-03-12T06:44:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34508#p34508</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34508#p34508"/>
		<title type="html"><![CDATA[i need help whit a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34508#p34508"><![CDATA[
Ok, it's realy works<br>Thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by Guest — Fri Mar 12, 2004 6:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2004-03-12T04:56:09-04:00</updated>

		<published>2004-03-12T04:56:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34504#p34504</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34504#p34504"/>
		<title type="html"><![CDATA[i need help whit a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34504#p34504"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set addqpubprefix !set addqchan "#somethinghere"set addqfile scripts/questions.txtif { ![info exists toolbox_loaded] } {   source scripts/alltools.tcl}bind pub - [string trim $addqpubprefix]addquestion addq:pub:addquestionproc addq:pub:addquestion {nick uhost hand chan arg} {   if {[string tolower $chan] != [string tolower $::addqchan]} {      putserv "NOTICE $nick :You're not in the good channel, try it in $::addqchan"      return 0   }   if { $arg == "" } {      putserv "NOTICE $nick :Usage: !addquestion &lt;Question here&gt;"      return 0   }   set file [open $::addqfile a]   puts $file "$arg"   close $file   putserv "NOTICE $nick :Added Question...$arg"   return 1}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri Mar 12, 2004 4:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-12T02:00:30-04:00</updated>

		<published>2004-03-12T02:00:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34502#p34502</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34502#p34502"/>
		<title type="html"><![CDATA[i need help whit a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34502#p34502"><![CDATA[
i need help with a little script, the script works but for all channels and<br>i want to make it work just for 1 channel, but i made somethig wrong and I don't no where is the mistake<br><br>here is the code, maybe you can help me  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> <br><div class="codebox"><p>Code: </p><pre><code>set addqpubprefix !set addqchan "#somethinghere"set addqfile scripts/questions.txt########################################           THIS IS CODE              ########################################if { ![info exists toolbox_loaded] } { source scripts/alltools.tcl }bind pub - [string trim $addqpubprefix]addquestion addq:pub:addquestionproc addq:pub:addquestion {nick uhost hand chan arg} { global addqchan addqfile  if { $arg == "" } {  putnotc $nick "Usage: !addquestion &lt;Question here&gt;"  return 0 } set file [open $addqfile a] puts $file "$arg" close $file putnotc $nick "Added Question...$arg" return 1}</code></pre></div>Thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by Guest — Fri Mar 12, 2004 2:00 am</p><hr />
]]></content>
	</entry>
	</feed>
