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

	<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-11-15T22:12:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-11-15T22:12:30-04:00</updated>

		<published>2002-11-15T22:12:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13218#p13218</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13218#p13218"/>
		<title type="html"><![CDATA[halfop unbinding, part 2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13218#p13218"><![CDATA[
bind dcc ol|ol "say" dcc:hosay<br><br>so just that then, kewl <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Fri Nov 15, 2002 10:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-15T16:54:31-04:00</updated>

		<published>2002-11-15T16:54:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13214#p13214</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13214#p13214"/>
		<title type="html"><![CDATA[halfop unbinding, part 2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13214#p13214"><![CDATA[
Yes this will work.<br><br>However, try not to use * in your own procedure names.<br><br>The * is used in eggdrop, to signify a builtin command, however, I do not know how this came about.<br><br>If you use * in your scripts, it could come to confuse you later on<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Nov 15, 2002 4:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-11-15T13:48:38-04:00</updated>

		<published>2002-11-15T13:48:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13209#p13209</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13209#p13209"/>
		<title type="html"><![CDATA[halfop unbinding, part 2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13209#p13209"><![CDATA[
perfect <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>before i just go ahead with this. The proc is called dcc:hosay, so doing this will look like the code below?<br><br>unbind dcc o|o "say" *dcc:say<br>bind dcc ol|ol "say" *dcc:hosay<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Fri Nov 15, 2002 1:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-15T12:53:58-04:00</updated>

		<published>2002-11-15T12:53:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13208#p13208</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13208#p13208"/>
		<title type="html"><![CDATA[halfop unbinding, part 2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13208#p13208"><![CDATA[
Yes, this is possible.<br><br>Simply unbind the command, like you can do with all commands.<br><br>THen create a script, as if the command was never there in the first place.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Nov 15, 2002 12:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-11-15T12:18:56-04:00</updated>

		<published>2002-11-15T12:18:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13207#p13207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13207#p13207"/>
		<title type="html"><![CDATA[halfop unbinding, part 2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13207#p13207"><![CDATA[
Hmmm, and since it is a windrop that i do my scripting on, this becomes impossible without a C compiler. Modules are all Dlls <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>Damn. <br><br>Is it possible i could unbind the .say command from the module, and then bind the .say command to a script using the eggdrop.conf unbinding thingy. As its possible to rename commands, "ident" to "logon", isnt it therefor possible to reallocate the commands unbinded to different procedures. <br><br>I think it should be ok to script a replacement .say and .act thing. As long as i can find the variable that gives the channel the console is set to.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Fri Nov 15, 2002 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-15T10:02:21-04:00</updated>

		<published>2002-11-15T10:02:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13204#p13204</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13204#p13204"/>
		<title type="html"><![CDATA[halfop unbinding, part 2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13204#p13204"><![CDATA[
Internal commands, are built using Tcl, and called in a Tcl wrapping function (confuzzled yet).<br><br>So when a bind is triggered, eggdrop will search it's bind lists, call any internal functions, then call any Tcl scripts, depending on the type of bind.<br><br>Just like a Tcl procedure, that is called by an event triggered bind, the same applies to the C functions.<br><br>To use Tcl as an example (it's quicker, and you will understand it more).<br><div class="codebox"><p>Code: </p><pre><code>bind pub - "!test" testproc test {nick uh hand chan arg} {  if {![matchattr $hand o|o $chan]} {    puthelp "PRIVMSG $nick :You don't have operator access"    return  }  Triiger code}</code></pre></div><br>Instead of doing the flga checking in the bind, the script is doing it. It allow a certain flexibility, and is job dependant. In simple scripts, keep to using flags in binds.<br><br>Like in my example, the C functions will check the users flags, before allowing him access to the commands.<br><br>So even though the user has half-op flags, and the bind allows him to trigger it (simalar to the fact, the bind in the example, allows any1 to trigger it), a check inside the function is stopping him.<br><br>The simplest way to locate the files with the functions, is to look in the modules related with the task being done (EG: server, irc, channels and possibly core (IE, eggdrop, not a module)), the files are usualy named so that you can see what there contents are (usualy have Tcl in for code that provides command that can be used in script, cmds for functions that provide bind based commands).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Nov 15, 2002 10:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-11-15T09:08:00-04:00</updated>

		<published>2002-11-15T09:08:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13203#p13203</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13203#p13203"/>
		<title type="html"><![CDATA[halfop unbinding, part 2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13203#p13203"><![CDATA[
IE replace the .say command with a different one which links to it in a tcl script. Its possible <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>where is the internal checking held?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Fri Nov 15, 2002 9:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-15T06:46:32-04:00</updated>

		<published>2002-11-15T06:46:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13198#p13198</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13198#p13198"/>
		<title type="html"><![CDATA[halfop unbinding, part 2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13198#p13198"><![CDATA[
I havn't looked, so don't hold me too it.<br><br>A lot of functions in eggdrop, do internal checking, as well as on the binds.<br><br>If you havn't got the flags for a bind, you get "you need help", but if there is internal checking, then the function will usualy warn and complain.<br><br>You could simply work around this, with small Tcl scripts.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Nov 15, 2002 6:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-11-14T19:26:30-04:00</updated>

		<published>2002-11-14T19:26:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13172#p13172</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13172#p13172"/>
		<title type="html"><![CDATA[halfop unbinding, part 2]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13172#p13172"><![CDATA[
Hi<br><br>this topic isnt so old, you helped me recently to restrict the ban functions to ops only, so halfops coulnt use them. After doing some more of that, only i came up with some problems<br><div class="codebox"><p>Code: </p><pre><code>unbind dcc o|o "say" *dcc:saybind dcc ol|ol "say" *dcc:sayunbind dcc o|o "act" *dcc:actbind dcc ol|ol "act" *dcc:act</code></pre></div>I want to let them use the bot chatting facilities. Well, its a female bot... and you get the idea, the channel could use some livening up. Problem is, although i have rebinded them, it still gives the<br><br>"You are not a channel op on #cometanime"<br>"what, you need .help?"<br><br>Which means the access dont work, am i doing something wrong?<br><br>Also, how i can i remove the .help references for halfops. As they still see the +ban, -ban +invite... ones still. Want to clean this up a little, and completely hide the unnecessary ones from the help file. Maybe add a little .say reference so they can see it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Can you offer any help?<br><br>Weirdo<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Thu Nov 14, 2002 7:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
