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

	<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>2010-01-05T01:24:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[sattam]]></name></author>
		<updated>2010-01-05T01:24:41-04:00</updated>

		<published>2010-01-05T01:24:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91572#p91572</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91572#p91572"/>
		<title type="html"><![CDATA[Does anyone could help me]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91572#p91572"><![CDATA[
<blockquote class="uncited"><div>Not sure if I understood correctly but how about string mapping those reasons like this:<br><div class="codebox"><p>Code: </p><pre><code>set reason [string map {spam "spam is not allowed" flood "flooding causes drowning"} [join [lrange [split $arg] 2 end]]]</code></pre></div>If you want a separate file, just read the mapping pattern from a file into a list.</div></blockquote><br>Thank you very much<br>Excellent work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11040">sattam</a> — Tue Jan 05, 2010 1:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[antsukka]]></name></author>
		<updated>2010-01-04T20:04:40-04:00</updated>

		<published>2010-01-04T20:04:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91568#p91568</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91568#p91568"/>
		<title type="html"><![CDATA[Does anyone could help me]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91568#p91568"><![CDATA[
Not sure if I understood correctly but how about string mapping those reasons like this:<br><div class="codebox"><p>Code: </p><pre><code>set reason [string map {spam "spam is not allowed" flood "flooding causes drowning"} [join [lrange [split $arg] 2 end]]]</code></pre></div>If you want a separate file, just read the mapping pattern from a file into a list.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11042">antsukka</a> — Mon Jan 04, 2010 8:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sattam]]></name></author>
		<updated>2010-01-04T13:20:37-04:00</updated>

		<published>2010-01-04T13:20:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91556#p91556</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91556#p91556"/>
		<title type="html"><![CDATA[Does anyone could help me]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91556#p91556"><![CDATA[
Does anyone could help me<br><div class="codebox"><p>Code: </p><pre><code>bind pub m|m !akill akill_procproc akill_proc { nick uhost hand chan arg } {  set time [lindex [split $arg] 0]  set ip [lindex [split $arg] 1]  set reason [join [lrange [split $arg] 2 end]]  putserv "PRIVMSG OperServ :akill $time $ip $reason"}</code></pre></div><br>Thank you works great <br><br>Is it possible <br>Start a reason from a file txt <br><br>like <br>!akill time 10 *@t123st.te44st2.tea flood <br><br>flood = Banned from the network: Flooding Is Not Allowed In dal.net NetWork. <a href="http://chat.dal.net/download" class="postlink">http://chat.dal.net/download</a> ) <br>and <br><br>!akill time 10 *@t123st.te44st2.tea (spam) <br><br>spam = Banned from the network: Spam Is Not Allowed In dal.net NetWork. <br><a href="http://chat.dal.net/download" class="postlink">http://chat.dal.net/download</a> )<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11040">sattam</a> — Mon Jan 04, 2010 1:20 pm</p><hr />
]]></content>
	</entry>
	</feed>
