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

	<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>2018-10-28T05:38:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[juggle]]></name></author>
		<updated>2018-10-28T05:38:24-04:00</updated>

		<published>2018-10-28T05:38:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107137#p107137</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107137#p107137"/>
		<title type="html"><![CDATA[Re: A little help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107137#p107137"><![CDATA[
Thank you for the reply... i somehow fiexed the problem.. thank you so much again...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12758">juggle</a> — Sun Oct 28, 2018 5:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2018-10-27T09:23:09-04:00</updated>

		<published>2018-10-27T09:23:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107135#p107135</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107135#p107135"/>
		<title type="html"><![CDATA[Re: A little help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107135#p107135"><![CDATA[
<blockquote class="uncited"><div>Can you guys please help me on this.. instead of giving command to the channel with <strong class="text-strong">!mytutil</strong> how do i change it to <strong class="text-strong">!mytitle</strong></div></blockquote>You have not posted the complete script.   I say that because there is no bind command appearing.<br><br>The bind &lt;type&gt; command is what creates an association between an event and the calling of a procedure.<br><br>Typically for a command like you have described, it would be a <br>bind pub<br>command.  However, by the way the procedure that you did post is written, a bind pub cannot be used directly.   So, without seeing the whole script, it is guess work.   You might want to post the complete script.   If it is too difficult to post here,  then use:<br><a href="http://paste.tclhelp.net/" class="postlink">http://paste.tclhelp.net/</a><br>and post the link.<br><br>You might also like to read :<br><a href="http://suninet.the-demon.de/041.htm" class="postlink">http://suninet.the-demon.de/041.htm</a><br>and use:<br><a href="http://docs.eggheads.org/mainDocs/tcl-commands.html" class="postlink">http://docs.eggheads.org/mainDocs/tcl-commands.html</a><br>for reference.   You can find all the binds described here.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Oct 27, 2018 9:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juggle]]></name></author>
		<updated>2018-10-27T06:10:46-04:00</updated>

		<published>2018-10-27T06:10:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107134#p107134</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107134#p107134"/>
		<title type="html"><![CDATA[A little help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107134#p107134"><![CDATA[
Can you guys please help me on this.. instead of giving command to the channel with <strong class="text-strong">!mytutil</strong> how do i change it to <strong class="text-strong">!mytitle</strong><div class="codebox"><p>Code: </p><pre><code>### mytitulproc ::tpub::cmd_mytitul {nick chan text} { variable conf if {$text == "?help?"} { return [usage $nick $chan mytitul "?text...?" "sets the title to be displayed in !in/!out at the entrance to the channel. If you want to delete the title, set the parameter none."] }set hand [nick2hand $nick]if {$hand == "" || $hand == "*"} {putnot $nick "You are not registered on the bot.."; return}array set usr [users get $hand]set honor ""set ko 0foreach item $conf(drank) { if {$usr(score)&lt;=$item} { set honor [lindex $conf(rank) $ko]; break}incr ko } if {$honor != "" || ![users isintop $hand] || ![matchattr $hand n]} {putpvt $nick $chan "You are not in the top five players or your current rank is not equal to the maximum possible - \"$conf(dmax)\" - , therefore, you cannot set your own title."return}if {[lindex $text 0]!="none"} {set tremort [lindex $text 0]set usr(tremort) $tremortusers set [list $hand [array get usr]]putpvt $nick $chan "Your title is set to \"$tremort\""} else {unset usr(tremort)users set [list $hand [array get usr]]putpvt $nick $chan "Your title has been removed.."}}</code></pre></div>Please help me ..... Thanks &amp; sorry for my bad English<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12758">juggle</a> — Sat Oct 27, 2018 6:10 am</p><hr />
]]></content>
	</entry>
	</feed>
