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

	<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>2006-04-18T21:03:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-04-18T21:03:13-04:00</updated>

		<published>2006-04-18T21:03:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62086#p62086</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62086#p62086"/>
		<title type="html"><![CDATA[simple question about flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62086#p62086"><![CDATA[
You asked for <strong class="text-strong">help</strong> with a script.<br>The help you got showed you how to help yourself for the rest.<br>Don't complain about learning how to do something for yourself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Tue Apr 18, 2006 9:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-04-18T20:54:25-04:00</updated>

		<published>2006-04-18T20:54:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62084#p62084</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62084#p62084"/>
		<title type="html"><![CDATA[simple question about flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62084#p62084"><![CDATA[
Does it work? If so, then what are you worried about?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Apr 18, 2006 8:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-04-18T11:40:22-04:00</updated>

		<published>2006-04-18T11:40:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62068#p62068</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62068#p62068"/>
		<title type="html"><![CDATA[simple question about flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62068#p62068"><![CDATA[
But that script only works if you have voice, but it should work when you have halfop or op, too.<br>I can do it like this:<div class="codebox"><p>Code: </p><pre><code>bind pub - !msg pub:msgproc pub:msg {nick uhost hand chan arg} {global admin_changlobal public_chanif {[isvoice $nick $public_chan] || [ishalfop $nick $public_chan] || [isop $nick $public_chan]} {  if {[string equal -nocase $public_chan $chan]} {  putquick "privmsg $admin_chan :!msg $nick: $arg"  } }}</code></pre></div>But is this the easiest way?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Tue Apr 18, 2006 11:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-04-18T11:19:07-04:00</updated>

		<published>2006-04-18T11:19:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62065#p62065</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62065#p62065"/>
		<title type="html"><![CDATA[simple question about flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62065#p62065"><![CDATA[
The following works when $nick is voiced in public_chan:<div class="codebox"><p>Code: </p><pre><code>proc pub:msg {nick uhost hand chan arg} { if {[isvoice $nick $public_chan]} {  global admin_chan  global public_chan   if {[string equal -nocase $public_chan $chan]} {    putquick "privmsg $admin_chan :!msg $nick: $arg"   } }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Tue Apr 18, 2006 11:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-04-18T09:21:14-04:00</updated>

		<published>2006-04-18T09:21:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62055#p62055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62055#p62055"/>
		<title type="html"><![CDATA[simple question about flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62055#p62055"><![CDATA[
Hello!<br>My script should only work if the user has at least voice. So what I must change?<div class="codebox"><p>Code: </p><pre><code>bind pub - !msg pub:msgproc pub:msg {nick uhost hand chan arg} {global admin_changlobal public_chan if {[string equal -nocase $public_chan $chan]} {  putquick "privmsg $admin_chan :!msg $nick: $arg" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Tue Apr 18, 2006 9:21 am</p><hr />
]]></content>
	</entry>
	</feed>
