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

	<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-05-09T03:12:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-09T03:12:00-04:00</updated>

		<published>2002-05-09T03:12:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6779#p6779</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6779#p6779"/>
		<title type="html"><![CDATA[+ban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6779#p6779"><![CDATA[
Hi, i am trying to write a scripts add ($handle $date) to the bans reason, so baned person can see who set a ban on him/her.<br>i am able to set this at the end of reason like  Z was kicked by eggdrop(banned: reason May09 AW), but i was trying to set in the begining like<br>z was kicked by eggdrop(May09 AW: reason), i have tried my best, but couldn't figure out, i will appreciate for your kind help<br>regards<br>AW<br><br>bind dcc o|o +ban ban:+ban<br><br>proc ban:+ban {handle idx arg} {<br>  if {$arg == ""} {<br>    *dcc:+ban $handle $idx $arg<br>    return 0<br>  }<br>  set date [clock format [clock seconds] -   format "%b %d"]<br><br>  *dcc:+ban $handle $idx "$arg  ,$date $handle"<br>}<br><p>Statistics: Posted by Guest — Thu May 09, 2002 3:12 am</p><hr />
]]></content>
	</entry>
	</feed>
