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

by Vexor
Wed Jan 07, 2009 9:29 am
Forum: Modules & Programming
Topic: Grep Count Feature (Somewhat related to eggdrop)
Replies: 4
Views: 12133

Ah I see. Confirmed in a test file. Is there any way to make grep count the actual times a { or } appears in a file? It's been over a year since I've even touched a linux command. *EDIT* Ah, with a little bit of help from my old pal google, I came across this: http://codesnippets.joyent.com/tag/coun...
by Vexor
Tue Jan 06, 2009 9:21 pm
Forum: Modules & Programming
Topic: Grep Count Feature (Somewhat related to eggdrop)
Replies: 4
Views: 12133

Grep Count Feature (Somewhat related to eggdrop)

Hey guys, I was playing around with grep earlier and was doing some bracket counting and came across this odd little quirk. [squib@amish eggdrop]$ grep -c '{' eggdrop.conf 15 [squib@amish eggdrop]$ grep -c '}' eggdrop.conf 16 Now I have gone through and manually counted the brackets in eggdrop.conf,...
by Vexor
Fri Mar 02, 2007 3:40 pm
Forum: Eggdrop Help
Topic: oper
Replies: 3
Views: 3140

As said it's not advisable to have a bot on an oline... find the following in eggdrop.conf: proc evnt:init_server {type} { global botnick putquick "MODE $botnick +i-ws" } and add: proc evnt:init_server {type} { global botnick putquick "MODE $botnick +i-ws" putquick "oper log...
by Vexor
Wed Aug 02, 2006 4:32 pm
Forum: Scripting Help
Topic: error
Replies: 3
Views: 4545

Just make sure your body statements are enclosed in {}

such as...

Code: Select all


bind pub - howdy do_bind_speech

proc do_bind_speech { nick host hand chan text } {

          putserv "privmsg $chan :Howdy to you, $nick"
}

        
by Vexor
Wed Aug 02, 2006 5:52 am
Forum: Scripting Help
Topic: error
Replies: 3
Views: 4545

Code: Select all

proc login {nick host hand chan arg}
global url pathqstat cc nopub dj
if {[lsearch -exact $nopub [string tolower $chan]] >= 0} {return 0}
return 0
} 
Looks to me like you've forgotten a few {}'s. Perhaps its not needed but I've always written procs as

Code: Select all

proc name { args } { do whatever }
by Vexor
Tue Aug 01, 2006 8:28 pm
Forum: Script Support & Releases
Topic: Trouble with Timebomb [PROB SOLVED]
Replies: 0
Views: 3473

Trouble with Timebomb [PROB SOLVED]

*edit* This problem was solved with the simple use of join command. Sorry folks! *brain fart*
by Vexor
Thu Jul 27, 2006 12:54 pm
Forum: Eggdrop Help
Topic: Problem with eggdrop logs and pisg
Replies: 31
Views: 60620

If you're running PISG you might want to change logfile mco * "logs/eggdrop.log" to "egglog/eggdrop.log" Just to keep your channel logs seperate from your eggdrop log. I can't remember if PISG would/will process that file or not. I keep my logs seperate out of habit anyway. Good ...
by Vexor
Wed Jul 26, 2006 2:29 pm
Forum: Eggdrop Help
Topic: You do not have access to whois handles
Replies: 2
Views: 2739

Yea... I was hoping there was just a set mode in the eggdrop conf I overlooked. Ah well though, it's nothing major. I kinda figured something that easy couldn't be that easy. hehe

Thanks for the reply.
by Vexor
Wed Jul 26, 2006 1:05 pm
Forum: Scripting Help
Topic: Compare 2 Numbers
Replies: 5
Views: 3697

Code: Select all

  if { num1 > num2 } {
                 true
     } else {
                 false
     }

by Vexor
Wed Jul 26, 2006 9:00 am
Forum: Eggdrop Help
Topic: ctcp chat doesnt work
Replies: 4
Views: 3770

check out "NAT-IP", its supposed to be the external not the internal IP.
Now this is where things get odd hehe. I have my nat-ip set to "192.168.1.100" and I can communicate with my bot through /dcc chat just fine. No one else has any problems with it either.
by Vexor
Wed Jul 26, 2006 6:42 am
Forum: Eggdrop Help
Topic: You do not have access to whois handles
Replies: 2
Views: 2739

You do not have access to whois handles

Greetings once again, sorry for the troubles. The ole brain's on a real bender here. My bot doesn't see a lot of users. Mainly it's just a logger for PISG. However I've got a few friends who occasionally use the bot just for the ole "shoots and googles" ;) Anyway, while setting info lines,...
by Vexor
Wed Jul 26, 2006 6:33 am
Forum: Eggdrop Help
Topic: ctcp chat doesnt work
Replies: 4
Views: 3770

Judging by your IP there EricBot (192.168.1.104) you're behind a NAT system. Make sure you've setup your ports correctly and that whatever client you're using gets your WAN ip. This is more than likely one of the most common problems that users run up against while trying to CHAT with their bots. Tr...
by Vexor
Tue Jul 25, 2006 4:58 am
Forum: Scripting Help
Topic: Trouble with args, *PROB SOLVED*
Replies: 4
Views: 3393

Code: Select all

proc send:help {nick uhost hand chan {args ""}}
Just isn't working :?

I'm at a total loss. [llength $args] didn't work either.

*UPDATE* I said the hell with it and just rewrote the code. Thanks for your suggestions, and sorry for the trouble. *mutters to himself*
by Vexor
Tue Jul 25, 2006 12:19 am
Forum: Scripting Help
Topic: Trouble with args, *PROB SOLVED*
Replies: 4
Views: 3393

Trouble with args, *PROB SOLVED*

Greetings all, I'm creating a small user's help guide for my bot so people can know all channel commands for the bot. This works to some degree. If I type in "!help google" I get the small help text that explains how to use it. But if I just use "!help" I get no response at all. ...
by Vexor
Fri Jul 21, 2006 10:07 am
Forum: Eggdrop Help
Topic: CHAT request not being accepted by owner
Replies: 4
Views: 3780

Well... I'm honestly thinking he's having a port issue here. Everyone else can work it just fine. I'm definitely at my wit's end on this one. I've been up for far too long. If I make any headway on it I'll be sure to come back and make an update. Thanks for the time. *Update*: Had a friend become a ...