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

	<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>2009-03-22T20:19:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[GiOrGoS]]></name></author>
		<updated>2009-03-22T20:19:24-04:00</updated>

		<published>2009-03-22T20:19:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88025#p88025</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88025#p88025"/>
		<title type="html"><![CDATA[help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88025#p88025"><![CDATA[
i suppose u have tried .notes read instead of .notes all read?<br>try the msg command as well if this fails /msg botnick notes pass read<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10561">GiOrGoS</a> — Sun Mar 22, 2009 8:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2008-10-10T15:32:12-04:00</updated>

		<published>2008-10-10T15:32:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85500#p85500</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85500#p85500"/>
		<title type="html"><![CDATA[Help With Notes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85500#p85500"><![CDATA[
The script you've displayed seems fine. I would check the following:<br>1. The <strong class="text-strong">notes</strong> module is loaded.<br>2. The <strong class="text-strong">notes</strong> module settings are correct. (check for note file failure)<br>3. Check if there are any scripts loaded that alter/affect the notes. (i.e notes2.tcl including in the default eggdrop script directory)<br><br>I'd also check the output of <strong class="text-strong">.set errorInfo</strong> and possibly your logs for error messages relating to notes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Oct 10, 2008 3:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Road_to_Hell]]></name></author>
		<updated>2008-08-23T19:08:44-04:00</updated>

		<published>2008-08-23T19:08:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84810#p84810</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84810#p84810"/>
		<title type="html"><![CDATA[Help With Notes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84810#p84810"><![CDATA[
Hello,<br>i'm using added-on.tcl from your archive, but i have a problem with the function to send note to me when someone adds or delete user/ban.<br>I am the permanent owner of the bot.<br><br>When a friend add a user, the bot message me with this:<br>[00:54] &lt;(Since1914&gt; *** Note arrived for you.<br><br>But when i try to read it:<br>[00:54] &lt;Road_to_Hell&gt; .notes read all<br>[00:54] &lt;(Since1914&gt; You have no messages.<br><br>I can't read the note and don't know why <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>I just need tcl who notes me every time when someone adds or deletes an user.<br><br>Please help and sorry for my bad english.<br><br>Here is the tcl:<div class="codebox"><p>Code: </p><pre><code># add-on.tcl# Copyright (c)2000-2002 by funak &lt;funak@funak.sk&gt;# Last update: 1.6.2002##  Features:#  -script adds an "Added" entry into the userfile for each user which were added #   (ex. ADDED: by funak as luzer (23-07-2001@03:55))#  -script adds a "Changed" entry into the userfile for each user which had changed#   flags (ex. CHANGED: by funak (23-07-2001@03:55) +o #mychann)#  -script sends a note to the users specified in the config file's notify-newusers #   setting about new and deleted users #   (ex. User funak deleted luzer (23-07-2001@03:55).)#  -script adds (handle date@time) to bans' reason, so banned person can see who #   set a ban on him (ex.[  1] *!*ident@hostmask (perm)# funak: reason (set by funak on 23-07-2001@03:55) )#                     # Based on - Added.tcl by Nils Ostbjerg &lt;shorty@business.auc.dk&gt; (C)Copyright (2000)## Changelog:# v1.0 - first relase#   removed: hello, addhost#   added: deluser, -user, -bot, notifying ppl about deleted users# v1.2 - added: "changed" field, notifying ppl about new users# v1.2 - added: "who banned" to bans' reason## Any ideas, suggestions, bugreports, flames, cash, cars (I prefer new Skoda Superb),# etc should be sent to me ;o)) # (contact info above).set verzia v1.2########################################################################### Bindings                                                               ###########################################################################unbind dcc m|m adduser *dcc:adduserunbind dcc m|m deluser *dcc:deluserunbind dcc m|- +user *dcc:+userunbind dcc m|- -user *dcc:-userunbind dcc t|- +bot *dcc:+botunbind dcc t|- -bot *dcc:-botunbind dcc m|m chattr *dcc:chattrunbind dcc o|o +ban *dcc:+banbind dcc m|m adduser dcc:adduserbind dcc m|m deluser dcc:deluserbind dcc m|- +user dcc:+userbind dcc m|- -user dcc:-userbind dcc t|- +bot dcc:+botbind dcc t|- -bot dcc:-botbind dcc m|m chattr dcc:chattrbind dcc o|o +ban dcc:+ban########################################################################### Initilization                                                          ###########################################################################if {![info exists whois-fields]} {    set whois-fields ""}# Add "Added" fieldset ffound 0foreach f2 [split ${whois-fields}] {    if {[string tolower $f2] == [string tolower "ADDED"]} {        set ffound 1        break    }}if {$ffound == 0} {    append whois-fields " " "ADDED"}# Add "Changed" fieldset ffound 0foreach f2 [split ${whois-fields}] {    if {[string tolower $f2] == [string tolower "CHANGED"]} {        set ffound 1        break    }}if {$ffound == 0} {    append whois-fields " " "CHANGED"}    ########################################################################### dcc:chattr start                                                       ###########################################################################proc dcc:chattr {hand idx paras} { set user [lindex $paras 0] set flags [lindex $paras 1] set on_chan [lindex $paras 2] if {[validuser $user]} {  *dcc:chattr $hand $idx $paras  setuser $user xtra CHANGED "by $hand ([strftime %d-%m-%Y@%H:%M]) $flags $on_chan" } else {  *dcc:chattr $hand $idx $paras }}########################################################################### dcc:chattr end                                                         ###################################################################################################################################################### dcc:add/deluser start                                                  ###########################################################################proc dcc:adduser {hand idx paras} {    set user [lindex $paras 1]    if {$user == ""} {if {[string index $paras 0] == "!"} {    set user [string range [lindex $paras 0] 1 end]} else {    set user [lindex $paras 0]}    }    if {[validuser $user]} {*dcc:adduser $hand $idx $paras    } else {*dcc:adduser $hand $idx $parasif {[validuser $user]} {            setuser $user xtra ADDED "by $hand as $user ([strftime %d-%m-%Y@%H:%M])"tellaboutnew $hand $user}    }}    proc dcc:deluser {hand idx paras} {    set user [lindex $paras 0]    if {[validuser $user]} {*dcc:deluser $hand $idx $paras      tellaboutdel $hand $user    } else {*dcc:deluser $hand $idx $paras    }}    ########################################################################### dcc:add/deluser end                                                    ###################################################################################################################################################### dcc:+/-user start                                                      ###########################################################################proc dcc:+user {hand idx paras} {    set user [lindex $paras 0]    if {[validuser $user]} {        *dcc:+user $hand $idx $paras    } else {        *dcc:+user $hand $idx $paras        if {[validuser $user]} {            setuser $user xtra ADDED "by $hand as $user ([strftime %d-%m-%Y@%H:%M])"tellaboutnew $hand $user        }    }}proc dcc:-user {hand idx paras} {    set user [lindex $paras 0]    if {[validuser $user]} {        *dcc:-user $hand $idx $paras        tellaboutdel $hand $user    } else {        *dcc:-user $hand $idx $paras    }}########################################################################### dcc:+/-user end                                                        ###################################################################################################################################################### dcc:+/-bot start                                                       ###########################################################################proc dcc:+bot {hand idx paras} {    set user [lindex $paras 0]    if {[validuser $user]} {        *dcc:+bot $hand $idx $paras    } else {        *dcc:+bot $hand $idx $paras        if {[validuser $user]} {            setuser $user xtra ADDED "by $hand as $user ([strftime %d-%m-%Y@%H:%M])"tellaboutnew $hand $user        }    }}proc dcc:-bot {hand idx paras} {    set user [lindex $paras 0]    if {[validuser $user]} {        *dcc:-bot $hand $idx $paras        tellaboutdel $hand $user    } else {        *dcc:-bot $hand $idx $paras     }}########################################################################### dcc:+/-bot end                                                         ###################################################################################################################################################### tellaboutnew start                                                     ###########################################################################proc tellaboutnew {hand user} {    global notify-newusers    foreach ppl ${notify-newusers} {sendnote $hand $ppl "User $hand added $user ([strftime %d-%m-%Y@%H:%M])."    }}    ########################################################################### tellaboutnew end                                                       ###################################################################################################################################################### tellaboutdel start                                                     ###########################################################################proc tellaboutdel {hand user} {    global notify-newusers    foreach ppl ${notify-newusers} {sendnote $hand $ppl "User $hand deleted $user ([strftime %d-%m-%Y@%H:%M])."    }}    ########################################################################### tellaboutdel end                                                       ###################################################################################################################################################### +ban start                                                             ###########################################################################proc dcc:+ban {handle idx arg} {  if {$arg == ""} {    *dcc:+ban $handle $idx $arg    return 0  }  *dcc:+ban $handle $idx "$arg (set by $handle on [strftime %d-%m-%Y@%H:%M])"}########################################################################### +ban end                                                               ###########################################################################putlog "########################################"putlog "#\002Add/Del/Change/Ban\002 addon $verzia by Funak#"putlog "########################################"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10167">Road_to_Hell</a> — Sat Aug 23, 2008 7:08 pm</p><hr />
]]></content>
	</entry>
	</feed>
