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

	<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>2007-03-22T18:44:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[veblen]]></name></author>
		<updated>2007-03-22T15:17:33-04:00</updated>

		<published>2007-03-22T15:17:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71483#p71483</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71483#p71483"/>
		<title type="html"><![CDATA[[SOLVED] bind pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71483#p71483"><![CDATA[
hehe sorry, my mistake.. i was searching for setudf, instead of setudef  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_eek.gif" width="15" height="15" alt=":shock:" title="Shocked"> <br><br>no wonder i couldnt find anything.<br><br>thanks alot guys.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8786">veblen</a> — Thu Mar 22, 2007 3:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-03-22T14:02:47-04:00</updated>

		<published>2007-03-22T14:02:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71481#p71481</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71481#p71481"/>
		<title type="html"><![CDATA[[SOLVED] bind pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71481#p71481"><![CDATA[
Look in the tcl-commands.doc that comes with eggdrop (a google search for 'setudef eggdrop'  would've found it as well):<br><br><a href="http://www.eggheads.org/support/egghtml/1.6.18/tcl-commands.html" class="postlink">http://www.eggheads.org/support/egghtml ... mands.html</a><br><br>setuser &lt;handle&gt; &lt;entry-type&gt; [extra info]<br> Description: this is the counterpart of getuser. It lets you set the various values. Other then the ones listed below, the entry-types are the same as getuser's.<br>        PASS    - sets a users password (no third arg will clear it)<br>        HOSTS   - if used with no third arg, all hosts for the user will be<br>                  be cleared. Otherwise, *1* hostmask is added <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br>        LASTON  - This setting has 3 forms. "setuser &lt;handle&gt; LASTON<br>                  &lt;unixtime&gt; &lt;place&gt;" sets global LASTON time, "setuser<br>                  &lt;handle&gt; LASTON &lt;unixtime&gt;" sets global LASTON time<br>                  (leaving the place field empty), and "setuser &lt;handle&gt;<br>                  LASTON &lt;unixtime&gt; &lt;channel&gt;" sets a users LASTON time for a channel (if it is a  valid channel).<br>    Returns: nothing<br>    Module: core<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Thu Mar 22, 2007 2:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[veblen]]></name></author>
		<updated>2007-03-22T12:46:18-04:00</updated>

		<published>2007-03-22T12:46:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71477#p71477</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71477#p71477"/>
		<title type="html"><![CDATA[[SOLVED] bind pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71477#p71477"><![CDATA[
is there any documentation about setudf? could u point me in its direction.. i cant seem to find much.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8786">veblen</a> — Thu Mar 22, 2007 12:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-03-22T11:26:09-04:00</updated>

		<published>2007-03-22T11:26:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71474#p71474</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71474#p71474"/>
		<title type="html"><![CDATA[[SOLVED] bind pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71474#p71474"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># add this to the top of your script:setudef flag YOURCHANNELSETTINGNAME# add this as the first line inside the proc triggered by your pub bind:if {![channel get $chan YOURCHANNELSETTINGNAME]} return# then .rehash and do .chanset #theChannelWhereYouWantTheScriptToWork +YOURCHANNELSETTINGNAME</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Mar 22, 2007 11:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[veblen]]></name></author>
		<updated>2007-03-22T10:26:41-04:00</updated>

		<published>2007-03-22T10:26:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71470#p71470</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71470#p71470"/>
		<title type="html"><![CDATA[[SOLVED] bind pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71470#p71470"><![CDATA[
ok i have a different question then, i have a script that reacts to channel commands.. but i want the bot to sit in more channels, without the commands being triggered in some.<br><br>whats the best way to edit my script to only allow selected channels to trigger pub procs? and i really want to be able to edit this easily so i can add &amp; remove channels from the ones i want to allow the commands in.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8786">veblen</a> — Thu Mar 22, 2007 10:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-03-22T09:07:20-04:00</updated>

		<published>2007-03-22T09:07:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71468#p71468</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71468#p71468"/>
		<title type="html"><![CDATA[Re: bind pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71468#p71468"><![CDATA[
<blockquote class="uncited"><div>    (4)  PUB<br>         bind pub &lt;flags&gt; &lt;<strong class="text-strong">command</strong>&gt; &lt;proc&gt;<br>         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt; &lt;text&gt;<br><br>         Description: used for commands given on a channel. <strong class="text-strong">The first word<br>           becomes the command</strong> and everything else is the text argument.<br>         Module: irc<br><br><br>    (6)  PUBM (stackable)<br>         bind pubm &lt;flags&gt; &lt;<strong class="text-strong">mask</strong>&gt; &lt;proc&gt;<br>         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt; &lt;text&gt;<br><br>         Description: just like MSGM, except it's triggered by things said<br>           on a channel instead of things /msg'd to the bot. <strong class="text-strong">The mask is<br>           matched against the channel name followed by the text and can<br>|          contain wildcards.</strong> If the proc returns 1, Eggdrop will not log<br>|          the message that triggered this bind. PUBM binds are processed<br>|          before PUB binds. If the exclusive-binds setting is enabled,<br>|          PUB binds will not be trigged by text that a PUBM bind has<br>|          already handled.<br>         Module: irc</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Mar 22, 2007 9:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[veblen]]></name></author>
		<updated>2007-03-22T18:44:26-04:00</updated>

		<published>2007-03-22T08:11:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71467#p71467</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71467#p71467"/>
		<title type="html"><![CDATA[[SOLVED] bind pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71467#p71467"><![CDATA[
can i make pub binds channel specific..<br><br>or do i have to use in the proc something like, if {$chan == #chan} ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8786">veblen</a> — Thu Mar 22, 2007 8:11 am</p><hr />
]]></content>
	</entry>
	</feed>
