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

	<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>2009-11-29T13:12:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2009-11-29T13:05:54-04:00</updated>

		<published>2009-11-29T13:05:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91126#p91126</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91126#p91126"/>
		<title type="html"><![CDATA[setban time script(Solved)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91126#p91126"><![CDATA[
No just need the bot to set mode +b user message chanserv kick command so chanserv kicks out <br><br>_-4:53pm-_ * Botnick sets mode: +b Training_Drone1!*@*<br>_-4:53pm-_ * Training_Drone1 was kicked by testnetwork (You were banned from #TrainingRoom for impersonating a member of staff (15 minutes) (Issued By test) <br><br>the above is how it does it at the moment your script will enable us to use timed bans of 15 30 and 1 hour bans<br><br><br>Works a treat thanks TCL_no_TK appreciate it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Sun Nov 29, 2009 1:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-11-29T10:33:41-04:00</updated>

		<published>2009-11-29T10:33:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91125#p91125</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91125#p91125"/>
		<title type="html"><![CDATA[setban time script(Solved)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91125#p91125"><![CDATA[
It dosen't need a bantime but if one is given it will be &lt;#chan&gt; &lt;nickname&gt; &lt;reason&gt; <strong class="text-strong">&lt;bantime&gt;</strong><div class="codebox"><p>Code: </p><pre><code> proc cmd:bankick {nick host hand text} {  set chan [lindex [split $text] 0]  set user [lindex [split $text] 1]  set why [join [lrange [split $text] 2 end-1]]  set chk [join [lrange [split $text] end end]]  if {![regexp -- {^[0-9]} $chk]} {set why [join [lrange [split $text] 2 end]]} else {set bantime [join [lrange [split $text] end end]]}   if {[info exists bantime]} {    putserv "MODE $chan +b $user"    putserv "PRIVMSG ChanServ KICK $chan $user $why) (Issued By $nick"    timer $bantime [list putserv "MODE $chan -b $user"]    return 1   } else {    putserv "MODE $chan +b $user"    putserv "PRIVMSG ChanServ KICK $chan $user $why) (Issued By $nick"    return 1   } } bind msg ho|ho bankick cmd:bankick</code></pre></div> The ChanServ KICK thing? is that suppose to be AKICK? if so you can make the bot remove the akick as well as the channel ban it places. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_idea.gif" width="15" height="15" alt=":idea:" title="Idea"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sun Nov 29, 2009 10:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2009-11-29T13:12:54-04:00</updated>

		<published>2009-11-28T17:13:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91116#p91116</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91116#p91116"/>
		<title type="html"><![CDATA[setban time script(Solved)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91116#p91116"><![CDATA[
Hey im looking for a simple bit of scripting that will do the following set +b on a user and beable to set a ban time it will then message chanserv and chanserv will kick the user this is what im using at the moment just cant get the variable btime to to work<br><div class="codebox"><p>Code: </p><pre><code>bind msg ho|ho bankick cmd:bankickproc cmd:bankick {nick uhost hand arg} {  set chan [lindex [split $arg] 0]  set username [lindex [split $arg] 1]     set reason [lrange [split $arg] 2 end]    putserv "MODE $chan +b $username"  putserv "PRIVMSG chanserv kick $chan $username $reason (Issued By $nick"   }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Sat Nov 28, 2009 5:13 pm</p><hr />
]]></content>
	</entry>
	</feed>
