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

	<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-01-10T09:43:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[masskilla]]></name></author>
		<updated>2003-01-10T09:43:30-04:00</updated>

		<published>2003-01-10T09:43:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15138#p15138</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15138#p15138"/>
		<title type="html"><![CDATA[help with k and gline for unreal ircd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15138#p15138"><![CDATA[
Hi<br><br>Well the commands obviously require a hostmask, not a nickname.<br>So the putserv line should look like:<div class="codebox"><p>Code: </p><pre><code>putserv "Kline [maskhost $host] :$what"</code></pre></div>However, that will set a kline on a host *!user@*.host.com<br>If you want a domain ban (*!*@*.host.com), you need:<div class="codebox"><p>Code: </p><pre><code>putserv "Kline *@[lindex [split [maskhost $host] @] 1] :$what"</code></pre></div>That should work. If it doesn't, let me know.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=105">masskilla</a> — Fri Jan 10, 2003 9:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-12-30T07:23:11-04:00</updated>

		<published>2002-12-30T07:23:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14702#p14702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14702#p14702"/>
		<title type="html"><![CDATA[help with k and gline for unreal ircd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14702#p14702"><![CDATA[
this is my code so far but it isnt working on gline at all and kline it will kline the nick but show a temp kline for user@host<br> can someone help me set it up so it will k or gline for 30 mintes <br>the unreal ircd commands are as follwe with the code to show youz<br><br> * *** KLINE Command ***<br> * -<br>* "Bans" a hostmask from connection to the IRC server.<br> * The user can however connect to other servers on the network !!<br> * IRC Operator only command.<br> * -<br> * Syntax: KLINE &lt;hostmask&gt; &lt;reason&gt;<br> * Example: KLINE *@*.host Abuse<br> * -<br><br> oh and i am a newbie so go easy<br><br> * *** GLINE command ***<br> * -<br>* Syntax: GLINE &lt;user@host mask&gt; &lt;seconds to be banned&gt; :&lt;reason&gt;<br>* (Adds a G:line for user@host)<br> * GLINE -&lt;user@host mask&gt; (Removes a G:line for user@host)<br> * Example: GLINE *@*.dal.net 900 :Spammers (Adds a 15 min G:line)<br> * GLINE *@*.host 1d5h :Spammers (Adds a 29 hour G:line)<br><br><br><br>bind pub m "@kline" pub_do_kline<br><br>proc pub_do_kline {nick host handle channel vars} {<br> set who [lindex $vars 0] <br> set what [lrange $vars 1 end] <br>if {$who == ""} {<br> return 0 } <br>if {$what == ""} { <br>  putserv "Kline $who @* 30 :bye"<br>  return 0 <br>}<br> putserv "Kline -$who :$what"<br> return 0<br>}<br><br>any ideas<br> * -<p>Statistics: Posted by Guest — Mon Dec 30, 2002 7:23 am</p><hr />
]]></content>
	</entry>
	</feed>
