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

	<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>2007-08-18T20:09:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2007-08-18T20:09:27-04:00</updated>

		<published>2007-08-18T20:09:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75371#p75371</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75371#p75371"/>
		<title type="html"><![CDATA[TxTGreet 1.0 by darles needs fix [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75371#p75371"><![CDATA[
Thanks speechles that trick did work  <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=7220">cache</a> — Sat Aug 18, 2007 8:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2007-08-18T19:56:19-04:00</updated>

		<published>2007-08-18T19:56:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75370#p75370</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75370#p75370"/>
		<title type="html"><![CDATA[TxTGreet 1.0 by darles needs fix [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75370#p75370"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set text [lrange [split $arg] 0 end] </code></pre></div>If I'm reading correctly, this right here is your offender.<br><div class="codebox"><p>Code: </p><pre><code>set text [join [lrange [split $arg] 0 end]]</code></pre></div>To correct the offender use something like this possibly.<br><br>Learned this <a href="http://forum.egghelp.org/viewtopic.php?t=9559&amp;start=2" class="postlink">trick</a> from Sir_Fz <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br>The guide on how to write eggdrop scripts that won't choke on special characters <a href="http://www.peterre.info/characters.html" class="postlink">is here</a> as well.<br><br>Edit: Haw, I had a phone call during my post, and appears I was beaten to the punch, literally.  At least my post is still relevant, but your better off using rosc2112's script, she r0x.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Aug 18, 2007 7:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2007-08-18T19:53:56-04:00</updated>

		<published>2007-08-18T19:53:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75369#p75369</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75369#p75369"/>
		<title type="html"><![CDATA[TxTGreet 1.0 by darles needs fix [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75369#p75369"><![CDATA[
Thanks rosc <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sat Aug 18, 2007 7:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-08-18T19:47:13-04:00</updated>

		<published>2007-08-18T19:47:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75367#p75367</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75367#p75367"/>
		<title type="html"><![CDATA[TxTGreet 1.0 by darles needs fix [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75367#p75367"><![CDATA[
Complete re-write, handles tcl special chars, etc..<br><br><a href="http://members.dandy.net/~fbn/greet.tcl.txt" class="postlink">http://members.dandy.net/~fbn/greet.tcl.txt</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Aug 18, 2007 7:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2007-08-18T20:09:48-04:00</updated>

		<published>2007-08-18T19:39:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75366#p75366</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75366#p75366"/>
		<title type="html"><![CDATA[TxTGreet 1.0 by darles needs fix [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75366#p75366"><![CDATA[
I need help fixing this, it works but only one problem.. if you type <strong class="text-strong">!greet This is my "greet' message!! /cool\!</strong> as you noticed I used special characters like "" and / \ ... these characters are being added to txt file like \greet\ {cool} replacing the " with \ and others with { }<br><br>Can someone help me or show me a sample please? <br><br>p.s. tried to contact as stated in header but no such domains anymore.<div class="codebox"><p>Code: </p><pre><code>######################################################TxTGreet 1.0 by darles (TCL script for eggdrop 1.x)##TxTGreet released: 09.08.2005                      ##---------------------------------------------------##  Homepage: http://egghelp.nasa-team.net           ##  e-mail: darles@takas.lt                          ##  IRC: irc.data.lt:6667 @ Aitvaras.net #egghelp    ##---------------------------------------------------#  #  Please don't change my nick to your...           ##  Thanks, darles                                   #######################################################  Commands:                                        ##                                                   ##  !greet &lt;greet text&gt; - add greet or change it     ##  !remgreet - remove greet                         ##  !mygreet - show greet                            ##                                                   #######################################################                                                   ##  THANKS FOR:                                      #             #  www.rulex.net - (For shell)                      ##  irc.quakenet.org @ QuakeNet #tcl (help)          ##                                                   ######################################################### Necessary configuration ###set patch "patch/to/your/greet/dir" # Example: "home/darles/eggdrop/greet"set greetsize "100"# Greet limit (symbols)set floodtimer "20"# Time after which person can change it's greet### End of necessary configuration ###### Other configuration ### set floodtext "Don't flood!!! You could set greet after $floodtimer seconds"# This is message will be showed for floodersset greetok "Your greet has been successfully set"# This message will be showed, when greet is OKset greetbad "Your greet is longer than $greetsize symbols"# This error message will be showed then greet is longer than it should beset greetdel "Your greet successfully deleted"# This message will be showed then greet will be successfully deletedset greetdelerr "Your greet not found"# This error message will be showed then greet file not foundset yourgreet "Your greet is:"# This is message using in !mygreet command######################################################                                                   ##        PLEASE DO NOT EDIT LINES BELOW!!!          ##                                                   ######################################################              bind pub - !greet addgreetbind pub - !remgreet remgreetbind pub - !mygreet mygreetbind pub - !help helpbind join - * showgreetproc addgreet {nick uhost hand chan arg} {global file greetsize patch greetbad greetok floodtext floodtimerset file "$nick.txt2"if {[file exist /$patch/$file]} {set file2 [open /$patch/$file r]gets $file2 ignoreclose $file2putserv "NOTICE $nick :$ignore"} else {set file3 [open /$patch/$nick.txt w+]set text [lrange [split $arg] 0 end]if {[string length $text] &gt;= $greetsize} {putserv "NOTICE $nick :$greetbad"return 1} else {puts $file3 "$text"close $file3putserv "NOTICE $nick :$greetok"set file4 [open /$patch/$file w+]puts $file4 $floodtextclose $file4utimer $floodtimer del}}}proc del {} {global file patchfile delete "/$patch/$file"}proc showgreet {nick uhost hand chan} {global patchif {[file exist /$patch/$nick.txt]} {set file5 [open /$patch/$nick.txt r+]gets $file5 textclose $file5putserv "PRIVMSG $chan :\[$nick\] $text"}}proc mygreet {nick uhost hand chan arg} {global patchif {[file exist /$patch/$nick.txt]} {set file6 [open /$patch/$nick.txt r]gets $file6 textclose $file6putserv "NOTICE $nick :$yourgreet: \[$nick\] $text"}}proc remgreet {nick uhost hand chan arg} {global patch greetdel greetdelerrif {[file exist /$patch/$nick.txt]} {file delete "/$patch/$nick.txt"file delete "/$patch/$nick.txt2"putserv "NOTICE $nick :$greetdel"} else {putserv "NOTICE $nick :$greetdelerr"}}proc help {nick uhost hand chan arg} {putserv "NOTICE $nick :My commands is:"putserv "NOTICE $nick :!greet &lt;text&gt; - set your greet, !remgreet - remove your greet, !mygreet - show your greet, !help - show this help"putserv "NOTICE $nick :Greet script by darles."}putlog "TxTGreet 1.0 by darles successfully loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sat Aug 18, 2007 7:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
