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

	<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-09-04T06:51:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Repdientu]]></name></author>
		<updated>2019-09-04T06:51:04-04:00</updated>

		<published>2019-09-04T06:51:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107788#p107788</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107788#p107788"/>
		<title type="html"><![CDATA[Help about war tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107788#p107788"><![CDATA[
this is my script on mirc.<br><div class="codebox"><p>Code: </p><pre><code>On 1:kick:%bot.chan:{  if ($nick isin $knick) || (chanserv isin $nick) || ($me isin $nick) || ($hget(ex_nicks,$nick)) halt  if ($knick == $me) { cs akick # add $nick Dont kick bot please! | cs akick # enforce | timerakickdel $+ $nick 1 10 cs akick # del $nick | halt }  else {    .timer $+ $knick $+ $nick off     if (%kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] = $null) &amp;&amp; (%kc, [ $+ [ $knick $+ [ , $+ [ $nick ] ] ] ] = $null) {      if (%1vs1 == On) { var %check1 = % $+ kc, $+ $nick $+ ,* | var %check2 = % $+ kc, $+ $knick $+ ,*        if ($var($var(%check1,1).value,1)) { var %i = $var($var(%check1,1).value,1) | cs akick # add $nick 9,1 $+ $nick 11kh鬾g pha瞚 ba.n 衋ng war vo*?8 $remove(%i,%,kc,$nick,$chr(44)) 11sao m?c騨 kick lung tung v?y. N?u ba.n mu?n war vo*?nick khac th?ba.n pha瞚 type 0~waroff $remove(%i,%,kc,$nick,$chr(44)) 11hoac cho*` $round($calc(%timeout / 60),2) phut th?moi war ch? | cs akick # enforce | .timerakick1vs1 $+ $nick 1 %punish_time cs akick # del $nick | halt }        if ($var($var(%check2,1).value,1)) { var %i = $var($var(%check2,1).value,1) | cs akick # add $nick 9,1 $+ $nick 11ba.n 悬`ng kick8 $knick 11ch?,8 $knick 11衋ng war voi0 $remove(%i,%,kc,$knick,$chr(44)) 11ba.n pha瞚 cho*`8 $knick 11war xong voi0 $remove(%i,%,kc,$knick,$chr(44)) 11th?mo*?kick ch? | cs akick # enforce | .timerakick1vs1 $+ $nick 1 %punish_time cs akick # del $nick | halt }        else { .timermatchstart 1 1 $iif(%describe = on,describe,msg) $chan 0,1Tr?n th?h鵱g gi hai 锈'u si~ 8 $+ $nick 0v?9 $+ $knick 0b?t 锈`u. | inc %kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] 1 | set %kc, [ $+ [ $knick $+ [ , $+ [ $nick ] ] ] ] 0 | .timer $+ $nick $+ $knick 1 %timeout reset $nick $knick | halt }      }      else { .timermatchstart 1 1 $iif(%describe = on,describe,msg) $chan 0,1Tr?n th?h鵱g gi hai 锈'u si~ 8 $+ $nick 0v?9 $+ $knick 0b?t 锈`u. | inc %kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] 1 | set %kc, [ $+ [ $knick $+ [ , $+ [ $nick ] ] ] ] 0 | .timer $+ $nick $+ $knick 1 %timeout reset $nick $knick | halt }    }    inc %kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ]  1 | .timer $+ $nick $+ $knick 1 %timeout reset $nick $knick    if (%bot == on) &amp;&amp; (%dem == on) {       .timerkc $+ $knick $+ $nick off       if (%kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] = %kc, [ $+ [ $knick $+ [ , $+ [ $nick ] ] ] ]) &amp;&amp; (%kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] &gt; 18) { .timerkc $+ $nick $+ $knick off | $iif(%describe = on,describe,msg) $chan 11,1 WOW!! Th?t l?m?t tr?n d?u c鈔 t鄆 c鈔 s?c giua hai di.ch thu? 8,1 $+ $nick 11,1v?9,1 $+ $knick $+ 11,1. Ti? so^' hie^.n gio` la` 8,1 $+ $nick 11,1( %kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] ) 0,1-=[VS]=- 9,1 $+ $knick 4,1( %kc, [ $+ [ $knick $+ [ , $+ [ $nick ] ] ] ] ) | halt }            if (%kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] &lt; %maxscore) &amp;&amp;  (%kc, [ $+ [ $knick $+ [ , $+ [ $nick ] ] ] ] != 0) { .timerkc $+ $nick $+ $knick 1 %msgdelay $iif(%describe = on,describe,msg) $chan 8,1 $+ $nick 11,1( %kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] ) 0,1-=[VS]=- 9,1 $+ $knick 4,1( %kc, [ $+ [ $knick $+ [ , $+ [ $nick ] ] ] ] ) }    }    if (%kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] &gt;= %maxscore) { .timerkc $+ $nick $+ $knick off      if (%kc, [ $+ [ $knick $+ [ , $+ [ $nick ] ] ] ] = 0) { $iif(%describe = on,describe,msg) $chan 4,1Sorry8 $nick 11ba.n 秀 kick duoc0 %maxscore 11kicks Nh黱g tr?n n鄖 kh鬾g h?p l? vi`9 $knick 11秀 kh鬾g kick ba.n c醝 n鄌 n阯 kh鬾g x醕 衖.nh duoc9 $knick 11c?muon war hay kh鬾g | goto end }       .timerwinner $+ $nick 1 1 chanserv kick $chan $nick 4,1CONGRATULATION!! 11,1 $+ $nick 0,1ba.n 秀 th?ng 9,1 $+ $knick 0,1v?i ti? s? 4,1?$+ 8,1 %kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] $+ - $+ %kc, [ $+ [ $knick $+ [ , $+ [ $nick ] ] ] ] 4,1?15,1 | ;ban -u15 # $nick 2      if (!$hget(list,$nick)) { hadd -m list $nick $calc($gettok($hget(list,$nick),1,32) + 1) 0 $date }       else { hadd -m list $nick $calc($gettok($hget(list,$nick),1,32) + 1) $gettok($hget(list,$nick),2,32) $date }       if (!$hget(list,$knick)) { hadd -m list $knick 0 $calc($gettok($hget(list,$knick),2,32) + 1) $date }       else { hadd -m list $knick $gettok($hget(list,$knick),1,32) $calc($gettok($hget(list,$knick),2,32) + 1) $date }      if (%award != on) { goto end }            .timerloser $+ $knick 1 3 cs akick # add $knick 11,1Ba.n dda~ thua 0,1 $+ $nick $+ 11,1 vo*'i k?t qua~4,1 ?$+ 8,1 %kc, [ $+ [ $knick $+ [ , $+ [ $nick ] ] ] ] $+ - $+ %kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] 4,1?| cs akick # enforce       .timerdelakick $+ $knick 1 %akicktime cs akick # del $knick      set %nickwin $nick      set %nicklose $knick      :end      unset %kc, [ $+ [ $nick $+ [ , $+ [ $knick ] ] ] ] %kc, [ $+ [ $knick $+ [ , $+ [ $nick ] ] ] ] | .timer $+ $nick $+ $knick off     }   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10625">Repdientu</a> — Wed Sep 04, 2019 6:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Repdientu]]></name></author>
		<updated>2019-09-03T09:47:58-04:00</updated>

		<published>2019-09-03T09:47:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107785#p107785</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107785#p107785"/>
		<title type="html"><![CDATA[Help about war tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107785#p107785"><![CDATA[
<blockquote class="uncited"><div>The war is between two bots at a time?<br><br>So, Bot A kicks Bot B. Bot B rejoins the channel, gains @ and retaliates by kicking Bot A. This action tells the<br> referee that the war between the two (Bot A and Bot B) has started?</div></blockquote>Bot LuuLinh kick bot Carot, Bot Carot rejoin the channel and rekick agian. The referee will start the match (counter kick of 2 bot) <br>Eg:<br><br>* Carot was kicked by LuuLinh (bùm chíu) <br>* Carot (lalala@171.247.192.211) has joined #war <br>* LuuLinh was kicked by Carot (°¨¨°º ©här£ë§ º°¨¨°) <br>@referee the match Carot vs LuuLinh started.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10625">Repdientu</a> — Tue Sep 03, 2019 9:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2019-09-03T09:33:14-04:00</updated>

		<published>2019-09-03T09:33:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107784#p107784</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107784#p107784"/>
		<title type="html"><![CDATA[Help about war tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107784#p107784"><![CDATA[
The war is between two bots at a time?<br><br>So, Bot A kicks Bot B. Bot B rejoins the channel, gains @ and retaliates by kicking Bot A. This action tells the referee that the war between the two (Bot A and Bot B) has started?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Sep 03, 2019 9:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Repdientu]]></name></author>
		<updated>2019-09-03T04:22:13-04:00</updated>

		<published>2019-09-03T04:22:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107783#p107783</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107783#p107783"/>
		<title type="html"><![CDATA[Help about war tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107783#p107783"><![CDATA[
The match begins when the nick is kicked back. Then the referee will start counting the kicks on each side. The person who kicks 25 first will win.<br>can you help me?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10625">Repdientu</a> — Tue Sep 03, 2019 4:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2019-09-02T12:26:55-04:00</updated>

		<published>2019-09-02T12:26:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107781#p107781</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107781#p107781"/>
		<title type="html"><![CDATA[Help about war tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107781#p107781"><![CDATA[
How's the war started or better said when starts counting? How dose the referee know who's on on what team to add points to that team?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Sep 02, 2019 12:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Repdientu]]></name></author>
		<updated>2019-09-01T05:33:17-04:00</updated>

		<published>2019-09-01T05:33:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107776#p107776</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107776#p107776"/>
		<title type="html"><![CDATA[Help about war tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107776#p107776"><![CDATA[
help me please!!!!!!!!!!!!!!!!!!!!!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10625">Repdientu</a> — Sun Sep 01, 2019 5:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Repdientu]]></name></author>
		<updated>2019-08-31T09:34:23-04:00</updated>

		<published>2019-08-31T09:34:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107775#p107775</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107775#p107775"/>
		<title type="html"><![CDATA[Help about war tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107775#p107775"><![CDATA[
Hi guys<br>I and my friend play a game on channel #war. that channel counter kick of 2 bot nick. if any one has get 25 kicks will get to win. <br>i want to creat a bot referee to counter .and clear counter after finish of game. the bot referee will start counter a game when enemy kick again.<br><br>eg:<br><br>* Carot was kicked by LuuLinh (bùm chíu)<br>* Carot (lalala@171.247.192.211) has joined #war<br>* ChatVN sets mode: +o Carot<br>* LuuLinh was kicked by Carot (°¨¨°º ©här£ë§ º°¨¨°)<br>@referee the match Carot vs LuuLinh started.<br>* LuuLinh (<a href="mailto:LuuLinh@luulinh.chatvn.net">LuuLinh@luulinh.chatvn.net</a>) has joined #war<br>* ChatVN sets mode: +o LuuLinh<br>* Carot was kicked by LuuLinh (bùm chíu)<br>* Carot (lalala@171.247.192.211) has joined #war<br>* ChatVN sets mode: +o Carot<br>* LuuLinh was kicked by Carot (°¨¨°º ©här£ë§ º°¨¨°)<br>* LuuLinh (<a href="mailto:LuuLinh@luulinh.chatvn.net">LuuLinh@luulinh.chatvn.net</a>) has joined #war<br>* ChatVN sets mode: +o LuuLinh<br>* LuuLinh was kicked by Carot (°¨¨°º ©här£ë§ º°¨¨°)<br>..........<br>* LuuLinh was kicked by ChanServ (CONGRATULATION!! LuuLinh you have win Carot with the score « 25-8 » (referee))<br>** Carot was kicked by ChanServ (You have lose LuuLinh with the score « 8-25 »)<br>* ChanServ sets mode: +b *!*@171.247.192.211<br><br>and after 5s:<br><br>* referee sets mode: -b *!*@171.247.192.211<br><br>Thank for your help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10625">Repdientu</a> — Sat Aug 31, 2019 9:34 am</p><hr />
]]></content>
	</entry>
	</feed>
