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

by puffi
Thu Feb 17, 2005 3:58 pm
Forum: Archive
Topic: Weird eggdrop-error with that script
Replies: 1
Views: 1469

Weird eggdrop-error with that script

when i load that script into eggdrop (all this is in namespace automodes) bind raw * JOIN automodes::rawjoin_automode proc rawjoin_automode {from keyword txt} { set n [lindex [split $from "!"] 0] set u [lindex [split $from "!"] 1] set h "*" set c [string range $txt [str...
by puffi
Sun Jan 02, 2005 12:07 pm
Forum: Archive
Topic: problem with mysql select
Replies: 14
Views: 6077

so is your sql problem solved then?

if not try WHERE '[mysqlescape $somestr]'
by puffi
Sat Jan 01, 2005 12:59 pm
Forum: Archive
Topic: pub binding bug?
Replies: 9
Views: 4898

i didnt change anything in none of each eggdrop/* trees. no new binaries, no new scripts, nothing. just for clarity too..the two bots i could see this behaviour are on two different machines with different linux distributions, different scripts installed and they are even different versions. it real...
by puffi
Sat Jan 01, 2005 12:39 pm
Forum: Archive
Topic: pub binding bug?
Replies: 9
Views: 4898

exactly. it doesnt matter if i replace the ${thisbot(cmdchar)}topic with .topic it shows the same behaviour.

i found this behaviour on 2 eggdrops with different scripts now, one running 6.16 and one running 6.17

i'm fairly sure 2 days ago the scripts worked just fine
by puffi
Sat Jan 01, 2005 12:12 pm
Forum: Archive
Topic: pub binding bug?
Replies: 9
Views: 4898

doing

.topic
in a channal triggers it.

.topic testargone andtwo
doesnt

the binding itself is okay and did work without any problems. additionally, i didnt change any code...and few days ago .topic testargs did work fine
by puffi
Sat Jan 01, 2005 11:05 am
Forum: Archive
Topic: pub binding bug?
Replies: 9
Views: 4898

Code: Select all

bind pub -|- $thisbot(cmdchar)topic myown:pub_topic

proc myown:pub_topic {n uh h c a} {
  putlog "pub topic n: $n uh: $uh h: $h c: $c a: $a"
  return 1
}
the point simply is, that the scripts worked all before, like for 2 years or sth.
by puffi
Sat Jan 01, 2005 10:40 am
Forum: Archive
Topic: pub binding bug?
Replies: 9
Views: 4898

pub binding bug?

Hi, i know it sounds weird but as of 2005 all my pub-bindings work slightly different on my 1.6.17 pub bindings simply dont trigger when i use one or more arguments. for example, i got a topic-script that tells the current topic with some extra information when a user writes .topic now for ops of th...
by puffi
Fri Jun 11, 2004 2:42 pm
Forum: Archive
Topic: help i need help with a bot
Replies: 8
Views: 4076

Did you try to

Code: Select all

/ctcp bot chat
to make the bot initiate the dcc-chat. Then you should be able to establish that chat even if you're behind a nat-gateway (assuming you route inside connections to ports 1024-5000 to the internet)
by puffi
Wed Jun 09, 2004 6:31 pm
Forum: Archive
Topic: Random number in bot name
Replies: 2
Views: 1276

Code: Select all

set nick "botnick-[rand 10][rand 10][rand 10][rand 10][rand 10]"
should help you out.
rand <limit>
Returns: a random integer between 0 and limit-1
Module: core
by puffi
Wed Jun 09, 2004 6:04 pm
Forum: Archive
Topic: Can't Dcc
Replies: 4
Views: 1893

Also note that for dcc-GET and incoming chat-requests you only need to nat internal traffic to internet.
Everything that you initiate need these ports (usually 1024-5000) to be forwarded to the box the eggdrop runs at.
by puffi
Wed Jun 09, 2004 5:55 pm
Forum: Archive
Topic: chat informations page
Replies: 2
Views: 1284

Probably not, but you can check the ques5.tcl which is brought with the eggdrop-source. It creates all x times a statistics-htmlfile which you could parse with php. Alernative you could write yourown tcl that opens a listen-socket to which your php-script connects to retrieve some information. What ...
by puffi
Mon Jun 07, 2004 6:06 am
Forum: Archive
Topic: Using \ in bots nick?
Replies: 3
Views: 1484

You should define 'botnet-nick' to another nickname than your bot has in irc. \ seems not to be a valid char for handles OR you just didnt add that bot to the hub with the trailing \ :)
by puffi
Mon Jun 07, 2004 6:02 am
Forum: Archive
Topic: Help needed with Tcl trigger script
Replies: 5
Views: 2098

An array might be not wrong there too.
Then you fill it once (maybe from a file) and access the description(value) by accessing $member_description_array(membername) only.
by puffi
Mon Jun 07, 2004 5:48 am
Forum: Archive
Topic: Help needed with Tcl trigger script
Replies: 5
Views: 2098

bind pub - !whatis pub:definition proc pub:definition {n u h c t} { set honk [split $t] if {[llength $honk] == 0} { putserv "PRIVMSG $chan :Please specify a member you want info about" return 0 } set honk [lindex $honk 0] if {[string match -nocase "scorchin" $honk]} { putserv &q...
by puffi
Mon Jun 07, 2004 3:49 am
Forum: Archive
Topic: on join ban host tcl
Replies: 12
Views: 3909

Why dont you simply hack into your irc-client
/mode #channel +b *!*@*.bad.bad.host.reallybad