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

	<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-08-18T14:13:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2010-08-18T14:13:20-04:00</updated>

		<published>2010-08-18T14:13:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93980#p93980</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93980#p93980"/>
		<title type="html"><![CDATA[Question to a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93980#p93980"><![CDATA[
Hello. I am runnig some scripts of wiebe. Included is a script called ban.tcl. This script should allow to ban a user just for a certain period. <br>I tried this <strong class="text-strong">/msg BOTName ban add #chan USER 2n just a reason</strong><br>But the duration wont work and i dont get it, from the syntax, what i have to enter, to ban a user just for this certain period? Thanks for some help.<br><br>Followed is the syntax help from the script wich can be found @ <a href="http://www.xs4all.nl/~wiebeson/newtcl/ban.tcl" class="postlink">http://www.xs4all.nl/~wiebeson/newtcl/ban.tcl</a><br><br><br><div class="codebox"><p>Code: </p><pre><code>proc ban:help { t } {  set c [string tolower [lindex [split $t] 1]]  if {$c == "add"} {    lappend o "ban: ban \[&lt;chan&gt;\] add &lt;mask&gt; \[\[&lt;mask&gt; .. &lt;mask&gt;\] \[%&lt;duration&gt; :\]\]\[@\]&lt;reason&gt;"    lappend o "ban: adds bans to the ban list, multiple masks can be specified. use #&lt;account&gt; for mask to ban *!*@&lt;account&gt;.users.quakenet.org. if mask is a nick and on a channel with the bot, the user is banned on *!user@host or *!*@host, else nick!*@* is banned. prefix mask with @ to make the ban hidden, targets are banned on *!*@host (example @*!*baduser@*.isp.tld). for quick removal of users, use the 'out' or 'chanout' command."    lappend o "ban: the ':' prefixing the reason is required when using multiple masks or duration. duration supports the following: s=second, n=minute, h=hour, d=day, w=week, m=month, y=year, example %1d2h. default is 4 hours, use %0 for perm bans. only +m or higher can set perm bans and bans longer than 4 weeks."    lappend o "ban: the reason can be a custom reason, one predefined from the rule command or a term from the term database (use ?? \[&lt;chan&gt;\] &lt;term&gt;). prefix the reason with a '@' to hide it, targets get kicked with 'You are banned'."</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Wed Aug 18, 2010 2:13 pm</p><hr />
]]></content>
	</entry>
	</feed>
