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 30 matches

by difoo
Fri Apr 22, 2005 4:00 pm
Forum: Archive
Topic: tail file & exec question
Replies: 2
Views: 1815

tail file & exec question

hi, i managed to have the bot parse the output of a specific file in realtime. but when i try to have him output only specific lines out of it, it only gives me errors. here's what i use: set fileout [exec cat $file | grep -E 'sshd|kernel'] putserv "PRIVMSG $chan :$fileout" i dont want alo...
by difoo
Thu Apr 21, 2005 11:12 am
Forum: Archive
Topic: limiting command user per users/user
Replies: 7
Views: 3703

hi, thanks for the reply, much appreciated i'll try this when i get home from work in a few, thanks! you could save the info to the XTRA field in the userlist, that way you get away with alot less code. (assuming only known users can execute commands.) but how would it check for dates..? as in num/w...
by difoo
Thu Apr 21, 2005 1:56 am
Forum: Archive
Topic: limiting command user per users/user
Replies: 7
Views: 3703

limiting command user per users/user

hi, i'm looking for a script that limits the usage for a specific proc per users & user. i don't want 300 news added a week and would like to limit it to max 20 for all users in the userfile and max 10 for specific users. i can't think of a way how to do it myself. the limit should still work wh...
by difoo
Mon Apr 18, 2005 3:20 pm
Forum: Archive
Topic: limit usage of commands for users/specific user
Replies: 2
Views: 1136

hi, thanks for the reply

i cant get this to work anyhow, could you give me an example how you would do it?
by difoo
Mon Apr 18, 2005 2:54 pm
Forum: Archive
Topic: limit usage of commands for users/specific user
Replies: 2
Views: 1136

limit usage of commands for users/specific user

hi, im wondering if it's possible to limit the command usage for users and a specific user like this: users should be able to !newsadd <topic> 20 times a week. and user1 i'd like to limit the usage for !newsadd 10 times a week. i can't get how to let the bot store the info on how often the user alre...
by difoo
Mon Oct 25, 2004 9:51 am
Forum: Archive
Topic: notes module question
Replies: 2
Views: 967

okay, thanks ;-(
by difoo
Mon Oct 25, 2004 9:41 am
Forum: Archive
Topic: notes module question
Replies: 2
Views: 967

notes module question

hi, like most people i use the notes module in eggdrop. now when someone sends a note to another user using .note USER TEXT and the USER logs into the bot, he will see that he has a new note. reading them by doing .notes read doesn't make them notes marked as read. it will show the same notes everyt...
by difoo
Sun Aug 29, 2004 4:47 pm
Forum: Archive
Topic: command for eggdrop on chatspace
Replies: 14
Views: 3140

put this in your eggdrop.conf:

set init-server { putserv "PASS mypass" }

done.
by difoo
Sun Aug 22, 2004 9:47 am
Forum: Archive
Topic: Total words spoken on channel script
Replies: 16
Views: 3586

by difoo
Sun Aug 08, 2004 10:41 am
Forum: Archive
Topic: idle time check
Replies: 14
Views: 3593

got it now ;-)

thanks to you

difoo
by difoo
Sun Aug 08, 2004 10:28 am
Forum: Archive
Topic: idle time check
Replies: 14
Views: 3593

like this: if {[validuser $hand] && [matchattr $hand o|o $chan]} {

& your if statement. I keep getting extra-character errors
by difoo
Sun Aug 08, 2004 10:20 am
Forum: Archive
Topic: idle time check
Replies: 14
Views: 3593

one last qustion, how would you add 2 other "if" variables to your if statement?
by difoo
Sun Aug 08, 2004 9:33 am
Forum: Archive
Topic: idle time check
Replies: 14
Views: 3593

i understand. yes i know of o|o. if im right o|o stands for o in chan & global. next time i really should read the tcl-commands.tcl. thanks user.
by difoo
Sun Aug 08, 2004 9:24 am
Forum: Archive
Topic: idle time check
Replies: 14
Views: 3593

Re: try this

bind pubm - * checkIdle proc checkIdle {n u h c a} { # 600 minutes == 10 hours... if {[getchanidle $n $c]>600} { puthelp "PRIVMSG $c :Welcome back $n!" } } am i correct that the pubm is for pubm(essage) ? also can you explain proc checkIdle {n u h c a} { ? I read nick uhost h=hour? chan a...
by difoo
Sun Aug 08, 2004 8:33 am
Forum: Archive
Topic: idle time check
Replies: 14
Views: 3593

im sorry i didnt just ask in the first place. and yes i need someone to help me doing this. the idle scripts that are available dont do what i would want.

difoo