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

	<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>2003-11-21T02:53:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[spyda]]></name></author>
		<updated>2003-11-21T02:53:55-04:00</updated>

		<published>2003-11-21T02:53:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30465#p30465</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30465#p30465"/>
		<title type="html"><![CDATA[I might be able to help.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30465#p30465"><![CDATA[
Email me a copy of the full script.. I will give it a try.<br>Done some conversons for my mates before <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><a href="mailto:asustek@optusnet.com.au">asustek@optusnet.com.au</a><br>------------<br>ThePope<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1731">spyda</a> — Fri Nov 21, 2003 2:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mdixon4az]]></name></author>
		<updated>2003-11-19T17:38:46-04:00</updated>

		<published>2003-11-19T17:38:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30349#p30349</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30349#p30349"/>
		<title type="html"><![CDATA[mIRC script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30349#p30349"><![CDATA[
OK, it has everal triggers that do various things. One trigger would add names to a file I guess since I don't know if TCL has anything like mIRC's hash tables. The file would be in the format &lt;nick&gt; &lt;Day&gt;, &lt;US format date&gt; In mIRC I had two options for this command. One was to just trigger the event with the &lt;nick&gt; to add and it would add the current day, date info. The second was to manually include the day and date info and the script would not add it if we already did. Another would remove names, another would list them and another would allow a search of all the names. All these were only for Ops in the channel, not in the bot's userlist. For the list and search it would compare the date saved with the current date and in the results that are /msg'ed to the op it tells how long since the date in the file.<br><br>Another group of triggers (6 total) would write to various other files (which I think I know how to do) info on various topics. There is a file for each trigger. Ex: !trigger1 would write it;s info to file named trigger1. Also only accessible to Ops of the channel.  These are all in the format &lt;!trigger&gt; &lt;info to add to the file&gt;.<br><br>Another group of triggers (also 6 total) accessible by anyone in the channel will /msg the person that triggered the event everything in the files.<br><br>And others (again 6) to remove info from the files being added to by the first group of 6 triggers<br><br><br>This may just confuse you more, let me know if I need to try and describe it better<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3982">mdixon4az</a> — Wed Nov 19, 2003 5:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-19T17:22:16-04:00</updated>

		<published>2003-11-19T17:22:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30348#p30348</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30348#p30348"/>
		<title type="html"><![CDATA[mIRC script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30348#p30348"><![CDATA[
We wouldn't bother reading the script to convert it since its long.<br><br>instead just give us a description on what the script does.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Nov 19, 2003 5:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Moose]]></name></author>
		<updated>2003-11-19T13:15:06-04:00</updated>

		<published>2003-11-19T13:15:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30337#p30337</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30337#p30337"/>
		<title type="html"><![CDATA[:P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30337#p30337"><![CDATA[
please gibe us the idea on what the script does becase we cant help if e dont know what u trying to do?   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3684">Moose</a> — Wed Nov 19, 2003 1:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-11-19T12:05:18-04:00</updated>

		<published>2003-11-19T12:05:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30331#p30331</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30331#p30331"/>
		<title type="html"><![CDATA[mIRC script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30331#p30331"><![CDATA[
How about describing what the script does for those of us that don't know mirc scripting?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Nov 19, 2003 12:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2003-11-19T11:22:26-04:00</updated>

		<published>2003-11-19T11:22:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30327#p30327</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30327#p30327"/>
		<title type="html"><![CDATA[mIRC script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30327#p30327"><![CDATA[
nop, i told i could make similar script, but this is to long ahh  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Wed Nov 19, 2003 11:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mdixon4az]]></name></author>
		<updated>2003-11-19T11:14:37-04:00</updated>

		<published>2003-11-19T11:14:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30326#p30326</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30326#p30326"/>
		<title type="html"><![CDATA[mIRC script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30326#p30326"><![CDATA[
can you convert it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3982">mdixon4az</a> — Wed Nov 19, 2003 11:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2003-11-19T11:06:59-04:00</updated>

		<published>2003-11-19T11:06:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30325#p30325</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30325#p30325"/>
		<title type="html"><![CDATA[mIRC script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30325#p30325"><![CDATA[
omg, i told its not so long..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Wed Nov 19, 2003 11:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mdixon4az]]></name></author>
		<updated>2003-11-19T11:06:01-04:00</updated>

		<published>2003-11-19T11:06:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30324#p30324</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30324#p30324"/>
		<title type="html"><![CDATA[mIRC script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30324#p30324"><![CDATA[
on *:start: {<br>  if (!$hget(temp1)) hmake temp1 100<br>  if (!$hget(temp2)) hmake temp2 100 <br>  if (!$hget(temp3)) hmake temp3 100<br>  if (!$hget(temp4)) hmake temp4 100<br>  if (!$hget(temp5)) hmake temp5 100<br>  if (!$hget(temp6)) hmake temp6 100<br>  if (!$hget(temp7)) hmake temp7 100<br>  if ($exists(" $+ $scriptdir $+ temp1") == $true) {<br>    hload temp1 " $+ $scriptdir $+ temp1"<br>  }<br>  if ($exists(" $+ $scriptdir $+ temp2") == $true) {<br>    hload -n temp2 " $+ $scriptdir $+ temp2"<br>  }<br>  if ($exists(" $+ $scriptdir $+ temp3") == $true) {<br>    hload -n temp3 " $+ $scriptdir $+ temp3"<br>  }<br>  if ($exists(" $+ $scriptdir $+ temp3") == $true) {<br>    hload -n temp3 " $+ $scriptdir $+ temp3"<br>  }<br>  if ($exists(" $+ $scriptdir $+ temp5") == $true) {<br>    hload -n temp5 " $+ $scriptdir $+ temp5"<br>  }<br>  if ($exists(" $+ $scriptdir $+ temp6") == $true) {<br>    hload -n temp6 " $+ $scriptdir $+ temp6"<br>  }<br>  if ($exists(" $+ $scriptdir $+ temp6") == $true) {<br>    hload -n temp6 " $+ $scriptdir $+ temp6"<br>  }<br>  if ($exists(" $+ $scriptdir $+ temp7") == $true) {<br>    hload -n temp7 " $+ $scriptdir $+ temp7"<br>  }<br>}<br><br>on *:exit: {<br>  savetables<br>}<br><br>on *:disconnect: {<br>  if ($network == somenet) savetables<br>}<br><br>on *:unload: {<br>  savetables<br>}<br><br>on *:text:*:#: {<br>  if ($chan == #ourchan) &amp;&amp; ($network == somenet) &amp;&amp; (($nick isop #ourchan) || ($nick == $me)) {<br>    if ($1 == !trigger1) {<br>      if ($3 == $null) {<br>        hadd temp1 $2 $day $+ , $adate<br>        notice $nick Added $2 $day $+ , $adate to the list<br>      }<br>      if ($3- != $null) {<br>        hadd temp1 $2 $3-<br>        notice $nick Added $2 $3- to the list<br>      }<br>    }<br>    if ($1 == !trigger2) {<br>      hlist temp1<br>    }<br>    if ($1 == !trigger3) &amp;&amp; ($2 != $null) {<br>      hdel temp1 $2<br>      notice $nick Removed $2 from the list<br>    }<br>    if ($1 == !trigger4) &amp;&amp; ($2 != $null) {<br>      if ($hfind(temp1, $2 $+ ) != $null) {<br>        %date = $gettok( $+ $hget(temp1, $2 $+ ) $+ , 2, 32)<br>        %month = $gettok(%date, 1, 47)<br>        %day = $gettok(%date, 2, 47)<br>        %year = $gettok(%date, 3, 47)<br>        /msg $nick $hfind(temp1, $2 $+ ) has been in the list since $hget(temp1, $2 $+ ) for a total of 3 $duration($calc($ctime - $ctime( $+ %day $+ / $+ %month $+ / $+ %year $+ )))<br>      }<br>      else /msg $nick $2 is not in the table yet.<br>    }<br>    if ($1 == !trigger5) {<br>      /msg $nick !trigger1 &lt;nick&gt; to add a nick to the list. Optionally you could add the user and specify a day and date.<br>      /msg $nick Example: !trigger1 Quasimodo OR !trigger1 Quasimodo Sunday, 11/16/2003<br>      /msg $nick -<br>      /msg $nick !trigger2 to get a list of all the nicks in the list<br>      /msg $nick -<br>      /msg $nick !trigger3 &lt;nick&gt; to remove a nick from the list<br>      /msg $nick Example: !trigger3 Quasimodo<br>      /msg $nick -<br>      /msg $nick !trigger4 &lt;nick&gt; to search the list for a specific nick<br>      /msg $nick Example: !trigger4 Quasimodo<br>    }<br>    if ($1 == !addtemp3) {<br>      hadd temp3 $2-<br>      notice $nick $2- has been added to the temp3 list.<br>    }<br>    if ($1 == !addtemp2) {<br>      hadd temp2 $2-<br>      notice $nick $2- has been added to the temp2 list.<br>    }<br>    if ($1 == !addtemp4) {<br>      hadd temp4 $2-<br>      notice $nick $2- has been added to the temp4 list.<br>    }<br>    if ($1 == !addtemp5) {<br>      hadd temp5 $2-<br>      notice $nick $2- has been added to the temp5 list.<br>    }<br>    if ($1 == !addtemp6) {<br>      hadd temp6 $2-<br>      notice $nick $2- has been added to the temp6 list.<br>    }<br>    if ($1 == !addtemp7) {<br>      hadd temp7 $2-<br>      notice $nick $2- has been added to the temp7 list.<br>    }<br>  }<br>  if ($chan == #ourchan) &amp;&amp; ($network == somenet) {<br>    if ($1 == !temp3) {<br>      newlist temp3<br>    }<br>    if ($1 == !temp2) {<br>      newlist temp2<br>    }<br>    if ($1 == !temp4) {<br>      newlist temp4<br>    }<br>    if ($1 == !temp5) {<br>      newlist temp5<br>    }<br>    if ($1 == !temp6) {<br>      newlist temp6<br>    }<br>    if ($1 == !temp7) {<br>      newlist temp7<br>    }<br>  }<br>}<br><br>alias savetables {<br>  if ($hget(temp1) != $null) hsave -o temp1 " $+ $scriptdir $+ temp1"<br>  if ($hget(temp3) != $null) hsave -o temp3 " $+ $scriptdir $+ temp3"<br>  if ($hget(temp2) != $null) hsave -o temp2 " $+ $scriptdir $+ temp2"<br>  if ($hget(temp4) != $null) hsave -o temp4 " $+ $scriptdir $+ temp4"<br>  if ($hget(temp5) != $null) hsave -o temp5 " $+ $scriptdir $+ temp5"<br>  if ($hget(temp6) != $null) hsave -o temp6 " $+ $scriptdir $+ temp6"<br>  if ($hget(temp7) != $null) hsave -o temp7 " $+ $scriptdir $+ temp7"<br>}<br><br>alias hlist {<br>  if (!$hget($1,0).item) { /msg $nick the table is empty, you need to add servers first. }<br>  else {<br>    %i = 1<br>    while (%i &lt;= $hget($1,0).item) {<br>      %Item = $hget($1,%i).item<br>      %Value = $hget($1,%Item)<br>      %date = $gettok(%Value, 2, 32)<br>      %month = $gettok(%date, 1, 47)<br>      %day = $gettok(%date, 2, 47)<br>      %year = $gettok(%date, 3, 47)<br>      /msg $nick %Item %Value 3 $duration($calc($ctime - $ctime( $+ %day $+ / $+ %month $+ / $+ %year $+ )))<br>      inc %i<br>    }<br>    /msg $nick Listed $hget($1,0).item Items from table. Done!<br>  }<br>}<br><br>alias newlist {<br>  if ($1 == temp3) { /msg $nick Following is the list of temp3 }<br>  elseif ($1 == temp2) { /msg $nick Following is the list of temp2 }<br>  elseif ($1 == temp4) { /msg $nick Following is the list of temp4 }<br>  elseif ($1 == temp5) { /msg $nick Following is the list of temp5 }<br>  elseif ($1 == temp6) { /msg $nick Following is the list of temp6 }<br>  elseif ($1 == temp7) { /msg $nick Following is the list of temp7 }<br>  /msg $nick -------------------------------------------------------------------<br>  if (!$hget($1,0).item) { /msg $nick The list is empty at this time. Please let an op know that we need to add to the list.. }<br>  else {<br>    %i = 1<br>    while (%i &lt;= $hget($1,0).item) {<br>      %Item = $hget($1,%i).item<br>      %Value = $hget($1,%Item)<br>      /msg $nick  $+ $rand(2,13) $+ %Item<br>      inc %i<br>    }<br>  }<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3982">mdixon4az</a> — Wed Nov 19, 2003 11:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2003-11-19T10:40:28-04:00</updated>

		<published>2003-11-19T10:40:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30321#p30321</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30321#p30321"/>
		<title type="html"><![CDATA[mIRC script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30321#p30321"><![CDATA[
copy your mIRC script here..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Wed Nov 19, 2003 10:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mdixon4az]]></name></author>
		<updated>2003-11-19T10:27:37-04:00</updated>

		<published>2003-11-19T10:27:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30318#p30318</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30318#p30318"/>
		<title type="html"><![CDATA[mIRC script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30318#p30318"><![CDATA[
is there a TCL equal for a hash table? I use like 5 tables in this script<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3982">mdixon4az</a> — Wed Nov 19, 2003 10:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2003-11-19T02:20:21-04:00</updated>

		<published>2003-11-19T02:20:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30297#p30297</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30297#p30297"/>
		<title type="html"><![CDATA[mIRC script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30297#p30297"><![CDATA[
can't convert what can't be seen......... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Wed Nov 19, 2003 2:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mdixon4az]]></name></author>
		<updated>2003-11-18T23:46:45-04:00</updated>

		<published>2003-11-18T23:46:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30292#p30292</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30292#p30292"/>
		<title type="html"><![CDATA[mIRC script to TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30292#p30292"><![CDATA[
Don't suppose anyone would be willing to take a mIRC script I wrote and convert it to TCL. I am not familiar enough with TCL and it's syntax to convert it myself.<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3982">mdixon4az</a> — Tue Nov 18, 2003 11:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
