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

	<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>2002-04-25T03:21:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-04-25T03:21:00-04:00</updated>

		<published>2002-04-25T03:21:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6430#p6430</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6430#p6430"/>
		<title type="html"><![CDATA[need a help please, don't ignore please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6430#p6430"><![CDATA[
Oh, I guess you did heh. Carry on.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu Apr 25, 2002 3:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-04-24T17:03:00-04:00</updated>

		<published>2002-04-24T17:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6420#p6420</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6420#p6420"/>
		<title type="html"><![CDATA[need a help please, don't ignore please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6420#p6420"><![CDATA[
didnt i already say that?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Wed Apr 24, 2002 5:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-04-24T16:42:00-04:00</updated>

		<published>2002-04-24T16:42:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6417#p6417</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6417#p6417"/>
		<title type="html"><![CDATA[need a help please, don't ignore please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6417#p6417"><![CDATA[
To figure out the date string, why don't you use the [clock] tcl command? It can make a date string in any format. Check the manual.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Wed Apr 24, 2002 4:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-23T22:10:00-04:00</updated>

		<published>2002-04-23T22:10:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6404#p6404</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6404#p6404"/>
		<title type="html"><![CDATA[need a help please, don't ignore please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6404#p6404"><![CDATA[
Thanks petersen! i am new, and trying to learn, can u plz fix these codes this time, so i can use this as an example to work on kb, etc..commands, pleaseeeeeeee<p>Statistics: Posted by Guest — Tue Apr 23, 2002 10:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-04-23T22:04:00-04:00</updated>

		<published>2002-04-23T22:04:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6403#p6403</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6403#p6403"/>
		<title type="html"><![CDATA[need a help please, don't ignore please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6403#p6403"><![CDATA[
firstly, why you using that bigass switch statement to set the variable $month and then proceding to not actually use it?<br>secondly you've got some list commands on strings (which is bad). thirdly, you may wanna look at the tcl command 'clock' combined with the eggdrop tcl command 'unixtime'<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Tue Apr 23, 2002 10:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-23T21:36:00-04:00</updated>

		<published>2002-04-23T21:36:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6402#p6402</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6402#p6402"/>
		<title type="html"><![CDATA[need a help please, don't ignore please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6402#p6402"><![CDATA[
hi, i need ur kind help, i am working on this kik command for dcc n for pub, but took me long time to figure out how to set a date n hanlde in a kik msg, like Z was kicked by eggdrop(Apr 23 AW:msg) , but some how i am getting an error about date, please help me this time, thanks u, here are the codes.<br><br>for pub:<br>proc kick_command {nick host handle channel args1} {<br>set args [split $args1 " "]<br>set knick [lindex $args 0]<br>      set currdate [date]<br>      set day [lindex $currdate 0]<br>      set amonth [lindex $currdate 1]<br>      set ayear [lindex $currdate 2]<br>      switch $amonth {<br>      Jan {set month "1"}<br>      Feb {set month "2"}<br>      Mar {set month "3"}<br>      Apr {set month "4"}<br>      May {set month "5"}<br>      Jun {set month "6"}<br>      Jul {set month "7"}<br>      Aug {set month "8"}<br>      Sep {set month "9"}<br>      Oct {set month "10"}<br>      Nov {set month "11"}<br>      Dec {set month "12"}<br><br>      }<br>      set year [string range $ayear 2 3]<br>      set kickdate "$amonth $day"<br><br><br>if {[test_real $nick]} {<br>return 0<br>}<br>if {$knick==""} { return 0 }<br>  set reason [lrange $args 1 end]<br>if {$reason==""} {<br>set reason "..go and play outside!"<br>}<br>  set kickstring "KICK $channel $knick :$kickdate $nick :$reason"<br>if {[matchattr [nick2hand $knick $channel] o]==0} { <br>putserv "$kickstring" <br>} else { <br>if {[matchattr $handle m]==1} { <br>putserv "$kickstring" <br>} else { <br>set kickstring "KICK $channel $nick :Wow! Lamerrr! Ain't it amazin? (Kick attempt on +o $knick)"<br>putserv "$kickstring" <br>}<br>}<br>return 1<br>}<br><br>For Dcc:<br>proc dcc_k_command {handle idx arg} {<br>set channel [lindex [console $idx] 0]<br>set nick [hand2nick $handle]<br>set host [getchanhost $nick]<br>return [kick_command $nick $host $handle $channel $arg]<br>} <br><p>Statistics: Posted by Guest — Tue Apr 23, 2002 9:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
