This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 7 matches

by Jay
Mon Dec 27, 2004 2:18 pm
Forum: Archive
Topic: userfile permissions
Replies: 5
Views: 2816

must overlooked it, I'm sorry .

tnx for your answer
by Jay
Mon Dec 27, 2004 6:51 am
Forum: Archive
Topic: userfile permissions
Replies: 5
Views: 2816

because php (Apache) isn't the owner of the file, so chmodding it before accessing the file isn't possible. Tryed that one before I posted my question :) thanks.
by Jay
Mon Dec 27, 2004 6:00 am
Forum: Archive
Topic: userfile permissions
Replies: 5
Views: 2816

userfile permissions

hey, as I'm looking trough the .c code in the src directory I can't find why the eggdrop changes the permissions of the .user file after altering it. I'm trying to read the userfile trough a php script, offcorse it there are only user permissions , apache can't read it. chmodding it won't help cause...
by Jay
Thu Mar 18, 2004 6:32 pm
Forum: Archive
Topic: counting user messages in channel
Replies: 15
Views: 4485

I'm getting this error, how to solve ? Tcl error [part:pub]: can't read "wordcount(ident@host)": no such element in array my code proc part:pub {nick host handle channel partmsg} { global wordcount checkchan if {[string match -nocase $checkchan $chan]} { putserv "PRIVMSG $checkchan :c...
by Jay
Thu Mar 18, 2004 5:05 pm
Forum: Archive
Topic: counting user messages in channel
Replies: 15
Views: 4485

I used your suggestion to work with the hostname . I get an error : Tcl error [count:pub]: can't read "1": no such variable this is my code bind pubm - "*" count:pub bind part - part:pub set checkchan "#lounge" proc count:pub {nick host hand chan arg} { global checkchan...
by Jay
Thu Mar 18, 2004 4:55 pm
Forum: Archive
Topic: counting user messages in channel
Replies: 15
Views: 4485

Tnx for you fast reply's :)

lil error in the code

Code: Select all

     if {[info exists $host{$counter)]} {

should be 

     if {[info exists $host($counter)]} {
lil question, why you use there $counter ?
that var doesn't make sense to me.

one last thing, does tcl considers part the same as quit ?
by Jay
Thu Mar 18, 2004 3:49 pm
Forum: Archive
Topic: counting user messages in channel
Replies: 15
Views: 4485

counting user messages in channel

hey, I totally don't have a clue how to accomplish this. should I use an array per user that chat's in a channel or a file ? my goal is, to voice a user who has said eg over the 100 lines since they have joined a channel and the usercount has to be reset when the user leaves the channel. any idea's ?