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

	<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>2013-01-31T16:45:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-01-31T16:45:06-04:00</updated>

		<published>2013-01-31T16:45:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100869#p100869</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100869#p100869"/>
		<title type="html"><![CDATA[Love Match]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100869#p100869"><![CDATA[
I don`t know if 100% will be triggered to often but thats because its a random process <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> nick1 and nick2 must be in the channel if they are not the script won`t work<br><div class="codebox"><p>Code: </p><pre><code>#### ++++ Author: MadaliN &lt;madalinmen28@yahoo.com&gt;### ++++ TCL Name: Love &amp; Hate ## ++++## Commands:#!love nick1 nick2#!hate nick1 nick2bind pub - !love love:pubbind pub - !hate hate:pubproc love:pub {nick uhost hand chan arg} {set nick1 [lindex [split $arg] 0]set nick2 [lindex [split $arg] 1]if {($nick1 != "") &amp;&amp; ($nick2 != "") &amp;&amp; [onchan $nick1 $chan] &amp;&amp; [onchan $nick2 $chan]} {set lovematch [minmaxrand 0 101]if {$lovematch == "100"} {putserv "PRIVMSG $chan :Congratulations! Love match \00312$nick1\003 + \00312$nick2\003 = \00304\002$lovematch\002%"} else {putserv "PRIVMSG $chan :Love match \00312$nick1\003 + \00312$nick2\003 = \00304\002$lovematch\002%"}}}proc hate:pub {nick uhost hand chan arg} {set nick1 [lindex [split $arg] 0]set nick2 [lindex [split $arg] 1]if {($nick1 != "") &amp;&amp; ($nick2 != "") &amp;&amp; [onchan $nick1 $chan] &amp;&amp; [onchan $nick2 $chan]} {set hatematch [minmaxrand 0 100]if {$hatematch == "100"} {putserv "PRIVMSG $chan :Congratulations! Hate match \002$nick1\002 + \002$nick2\002 = \00304\002$hatematch\002%"} else {putserv "PRIVMSG $chan :Hate match \002$nick1\002 + \002$nick2\002 = \002$hatematch\002%"}}}proc minmaxrand {min max} {set r [expr ([rand [expr ($max - $min)]] + $min)]return $r}putlog "+++ sucesfully loaded: \00312Love &amp; Hate TCL Script"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Thu Jan 31, 2013 4:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LinkinPark]]></name></author>
		<updated>2011-04-26T07:20:38-04:00</updated>

		<published>2011-04-26T07:20:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96762#p96762</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96762#p96762"/>
		<title type="html"><![CDATA[Love Match]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96762#p96762"><![CDATA[
Hello all coders/scripters<br><br>I want to make a request for Love Match..<br><br>Example:<br><br>&lt;me&gt; !Love nick1 nick2<br>&lt;bot&gt; Love Match nick1 + nick2 = 85%<br><br>and<br><br>&lt;me&gt; !Love nick1 nick2<br>&lt;bot&gt; Congratulations! Love Match nick1 + nick2 = 100%<br><br>Percentage start from 1-100%<br>also with trigger !Hate nick1 nick2 the same as !Love<br><br>Thanks for help me!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11651">LinkinPark</a> — Tue Apr 26, 2011 7:20 am</p><hr />
]]></content>
	</entry>
	</feed>
