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

by Garp
Thu May 17, 2007 2:50 am
Forum: Eggdrop Help
Topic: HANDLEN and CTCP CHAT
Replies: 4
Views: 3524

solved for me. Wrong path in eggdrop.conf to modules. Was on modules-6.1.18 but it is in fact in /modules.
by Garp
Thu May 17, 2007 12:22 am
Forum: Eggdrop Help
Topic: HANDLEN and CTCP CHAT
Replies: 4
Views: 3524

Observing same issue. After changing handlen to 30 (dal) I can't ctcp chat the bot.
by Garp
Tue Jan 02, 2007 4:47 am
Forum: Script Requests
Topic: whos in chat
Replies: 17
Views: 10183

I guess you want something like 'now in chat: nick1 nick 2 ...'?

It's done by writing the channellist into a flat file and integrate the flat file into the websites. That's all.
by Garp
Sun Dec 31, 2006 8:34 pm
Forum: Scripting Help
Topic: Question on making commands slow down
Replies: 2
Views: 2446

timer 10 [command]

ms? minutes?
by Garp
Fri Dec 29, 2006 5:04 pm
Forum: Scripting Help
Topic: Detecting Nickname Trojan
Replies: 14
Views: 8041

It's a worm using a fixed nicklist. set wormnicks "aldora alysia amalina amorita anita april ara aretina barbra becky bella bettina blenda briana bridget caitlin camille cara carla carmen catherin chelsea cindy clarissa damita danielle daria diana donna dora doris ebony eden eliza emily erika e...
by Garp
Sat Dec 23, 2006 9:07 pm
Forum: Scripting Help
Topic: [Solved] Formating ip's: CIDR to dotted?
Replies: 2
Views: 4205

Ok, found a solution for that. Just for the records here the way on retriving the range of ips on a given CIDR (Classless Inter-Domain Routing) ip like 190.40.112.0/25 set max_ip [expr ($min_ip + round(pow(2, [expr 32 - $subnetmask]))) - 1] Subnetmask is the part after / in CIDR. The formula returns...
by Garp
Sat Dec 23, 2006 8:39 am
Forum: Scripting Help
Topic: [Solved] Formating ip's: CIDR to dotted?
Replies: 2
Views: 4205

[Solved] Formating ip's: CIDR to dotted?

I wrote a little tcl script to do a whois lookup on a certain ip like 10.43.8.67 and return the country and the ip-range. If the ip-range is in the format "10.43.8.64 - 10.43.8.79" everything is ok, I can turn the ips into longips and store them for later lookups in a mysql db. But sometim...
by Garp
Sat Jun 24, 2006 9:17 pm
Forum: Scripting Help
Topic: Problem with decreasing a variable
Replies: 8
Views: 5942

Re: Problem with decreasing a variable

darton wrote:

Code: Select all

incr i [lindex $line 0] -1
you do something like "1 +1 -1" but incr allows only one operation like "1+1" or "1-1"

(($i + $y) - $z) it would be something like

Code: Select all

set i [expr [incr i [lindex $line 0]] -1]
by Garp
Fri Jun 23, 2006 7:32 pm
Forum: Scripting Help
Topic: Send message to a channel with a delay (it's complex)
Replies: 8
Views: 5379

if {![info exists requestcache($nick)]} { set response "Please use #findscrim to find scrims" set requestcache($nick) "[unixtime] 0" } else { set requests [lindex [split $requestcache($nick)] 1] if { ($requests >= 3) } { #kick ban ... whatever } incr requests set requestcache($n...
by Garp
Fri Jun 23, 2006 12:52 pm
Forum: Scripting Help
Topic: Extract Words
Replies: 2
Views: 3264

by Garp
Fri Jun 23, 2006 10:21 am
Forum: Scripting Help
Topic: Send message to a channel with a delay (it's complex)
Replies: 8
Views: 5379

You would need to timestamp the handled nicks. array set requestcache {} proc helptext {nick uhost hand chan text} { global botnick requestcache ... if [regexp {(\dv\d|\d v \d).*(\your|\yyour)} $helptext] { if {![info exists requestcache($nick)]} { set response "Please use #findscrim to find sc...
by Garp
Fri Jun 23, 2006 8:32 am
Forum: Scripting Help
Topic: Send message to a channel with a delay (it's complex)
Replies: 8
Views: 5379

just move the flock setting to the portion of the code you want to protect.
by Garp
Thu Jun 22, 2006 7:41 pm
Forum: Scripting Help
Topic: Installing mysqltcl on a shell
Replies: 3
Views: 3943

you can't install mysqltcl on a shell.
First requirement would be a mysql db and IF a shellrunner has installed it - he has for sure that package installed.
by Garp
Thu Jun 22, 2006 7:32 pm
Forum: Scripting Help
Topic: Send message to a channel with a delay (it's complex)
Replies: 8
Views: 5379

set a lock. For example like this here: bind pubm - * helptext set helpflock 0 proc helptext {nick uhost hand chan text} { global helpflock set response default if [string match $helpflock 1] { return } set helpflock 1 set notagain 4;# change this to a value in secounds that fits your need set helpt...