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

	<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-03-04T01:03:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-04T01:03:00-04:00</updated>

		<published>2002-03-04T01:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5031#p5031</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5031#p5031"/>
		<title type="html"><![CDATA[public commands & userflags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5031#p5031"><![CDATA[
thanks a lot!<br><br>u dont know how happy u made some people <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile">:)<br><br>it works just perfekt <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":eek:" title="Surprised">)<p>Statistics: Posted by Guest — Mon Mar 04, 2002 1:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-03-04T00:49:00-04:00</updated>

		<published>2002-03-04T00:49:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5028#p5028</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5028#p5028"/>
		<title type="html"><![CDATA[public commands & userflags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5028#p5028"><![CDATA[
Try this:<br><div class="codebox"><p>Code: </p><pre><code>set vampy_flags "Bmnfb|Bmnfb"set no_vampy "#novamp"bind pub - !beiss pub_beissproc pub_beiss {nick uhost hand chan arg} {global no_vampy vampy_flagsset arg [lindex [split $arg] 0]if {[matchattr [nick2hand $arg] $vampy_flags $chan] || [isbotnick $arg]} { return 0 }putlog "$nick used !beiss $arg"putserv "PRIVMSG $chan :blablabla with $arg"putserv "KICK $chan $arg :moreblabla"putserv "NOTICE $arg :still some more blabla"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Mon Mar 04, 2002 12:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-03T23:50:00-04:00</updated>

		<published>2002-03-03T23:50:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5026#p5026</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5026#p5026"/>
		<title type="html"><![CDATA[public commands & userflags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5026#p5026"><![CDATA[
hi,<br><br>I'm a quite newbie on tcl and have a question on a script i created copying parts of another one.<br><br>the basic thing i have a problem with is, that i added a public fun-kick command, but i want to prevent global and channel +m and +n as well as bots from being kicked.<br><br>so far, global owners and bots dont get kicked.<br><br>(i dont understand every option/argument/whatever from this script as i copied the relevant bits, so please have mercy if theres something horribly wrong or complicated with this script)<br><br>this is, how far i have come with that target, i'd be thankfull for any help on this.<br><div class="codebox"><p>Code: </p><pre><code>set vampy_flags "Bmnfb|Bmnfb"set no_vampy "#novamp"...bind pub - !beiss pub_beissproc pub_beiss {nick uhost hand chan arg} {global no_vampy vampy_flagsif {[matchattr $arg $vampy_flags $chan] || [matchattr $arg $vampy_flags]} { return 0 }putlog "$nick used !beiss $arg"putchan $chan "blablabla with $arg"puthelp "KICK $chan $arg :moreblabla"putnotc $arg "still some more blabla"}proc vampyflagcheck {user chan} {global vampy_flagsset protected 0set user [nick2hand $user] if {[matchattr $user $vampy_flags $chan] || [matchattr $user $vampy_flags]} {  set protected 1 } return $protected}</code></pre></div>thanks in advance for helping me<br><br>oh, and i need to prevent the bot from kicking itself ... it does that <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":sad:" title="Sad"><br><br>&lt;font size=-1&gt;[ This Message was edited by: RaeTheGit on 2002-03-03 21:25 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Sun Mar 03, 2002 11:50 pm</p><hr />
]]></content>
	</entry>
	</feed>
