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

	<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>2019-01-07T08:20:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[l.kleijn]]></name></author>
		<updated>2019-01-07T08:20:15-04:00</updated>

		<published>2019-01-07T08:20:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107326#p107326</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107326#p107326"/>
		<title type="html"><![CDATA[Bar script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107326#p107326"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc pub:pay {nick host hand chan arg} {  global botnick  set searchstring $arg  set fname "bar.txt"  set fp [open $fname "r"]  set data [read -nonewline $fp]  close $fp  if {[string match *topic* [join $line]]} {     lappend searchresult $line  }  if {[topic == "[lindex [split [join $searchresult] "|"] 0]"} {  putserv "PRIVMSG Fujin :De prijs van de topic verandering is [lindex [split [join $searchresult] "|"] 1]"  }  set product [lindex $arg 0 end]  set topic [lrange $arg 1 end]  if {$product == "topic"} {     if {[string tolower [lindex [split [join $$searchresult] "|"] 1]} {        putserv "NOTICE $nick :You don't have enough money"        return 0  }  set topicpay [lindex [split [join $searchresult] "|"] 1]  set searchresult2 $arg  set fname2 "money.txt"  set fp2 [open $fname2 "r"]  set data2 [read -nonewline $fp2]  close $fp2  if {[string match *$topicpay* [join $line2]]} {     lappend searchresult2 $line2  }  putserv "PRIVMSG $nick :Calc $topicpay - [lindex [split [join $searchresult2] "|"] 1]"}</code></pre></div>The people get money when they join. in a txt file<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12392">l.kleijn</a> — Mon Jan 07, 2019 8:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2019-01-07T03:53:11-04:00</updated>

		<published>2019-01-07T03:53:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107325#p107325</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107325#p107325"/>
		<title type="html"><![CDATA[Bar script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107325#p107325"><![CDATA[
You will have to provide more info if want to see any results. For example how do you get the money in the fist place? What other stuff you want to "sell" ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Jan 07, 2019 3:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[l.kleijn]]></name></author>
		<updated>2019-01-06T13:30:33-04:00</updated>

		<published>2019-01-06T13:30:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107318#p107318</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107318#p107318"/>
		<title type="html"><![CDATA[Bar script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107318#p107318"><![CDATA[
I'm searching for a script that if you say --&gt; .pay cola &lt;-- and the price is 1,50<br>and you have more money that it give cola so i need a script for this and then if you have 1,50 equal or higher that you can get it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12392">l.kleijn</a> — Sun Jan 06, 2019 1:30 pm</p><hr />
]]></content>
	</entry>
	</feed>
