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

	<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-12-30T18:05:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CyberianIce]]></name></author>
		<updated>2007-12-30T18:05:30-04:00</updated>

		<published>2007-12-30T18:05:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79672#p79672</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79672#p79672"/>
		<title type="html"><![CDATA[What's wrong??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79672#p79672"><![CDATA[
You are in right! I forgot to write beggining of the code:<br><div class="codebox"><p>Code: </p><pre><code>bind join -|- joincounter</code></pre></div>.....<br>and users on join does not have @ yet.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9578">CyberianIce</a> — Sun Dec 30, 2007 6:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2007-12-29T08:23:18-04:00</updated>

		<published>2007-12-29T08:23:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79633#p79633</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79633#p79633"/>
		<title type="html"><![CDATA[What's wrong??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79633#p79633"><![CDATA[
That's because you're testing if the user is opped when the eggdrop only sees the join.<br><br>The user is probably not even opped yet.<br><br>Also you may want to fix the bug in your code regarding it having to create a new file since it'll create a file with the contents "temp" which can't be incremented.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sat Dec 29, 2007 8:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-12-29T07:29:35-04:00</updated>

		<published>2007-12-29T07:29:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79632#p79632</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79632#p79632"/>
		<title type="html"><![CDATA[What's wrong??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79632#p79632"><![CDATA[
use botisop $chan instead of isop $botnick $chan<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Dec 29, 2007 7:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberianIce]]></name></author>
		<updated>2007-12-29T05:00:35-04:00</updated>

		<published>2007-12-29T05:00:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79629#p79629</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79629#p79629"/>
		<title type="html"><![CDATA[What's wrong??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79629#p79629"><![CDATA[
What's wrong with this code???<div class="codebox"><p>Code: </p><pre><code>proc joincounter {nick host hand chan} { global jhits global botnick set temp 0 set rchan [string tolower $chan] if {[file exists ./scripts/$rchan.jcount.txt]} {  set o_fid [open "./scripts/$rchan.jcount.txt" "RDONLY"]  gets $o_fid temp  close $o_fid } else {  set o_fid [open "./scripts/$rchan.jcount.txt" "CREAT RDWR"]  puts $o_fid temp  close $o_fid } set jhits $temp incr jhits putserv "NOTICE $nick : MESSAGE 1" putserv "NOTICE $nick : MESSAGE 2" if {[isop $botnick $chan] &amp;&amp; [isop $nick $chan]} {     putserv "NOTICE $nick :MESSAGE 3" } set o_id [open "./scripts/$rchan.jcount.txt" "WRONLY"] puts $o_id $jhits close $o_id}</code></pre></div>No errors, MESSAGE 1 (welcome and count) is ok, MESSAGE 2 (contain descriptions for bots !commands) is fine too, but MESSAGE 3 (wich shold be shown to @ users when the bot is also @, contain description how to use !op commands) does not work...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9578">CyberianIce</a> — Sat Dec 29, 2007 5:00 am</p><hr />
]]></content>
	</entry>
	</feed>
