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

by Johannes13
Sat Mar 03, 2012 6:23 pm
Forum: Scripting Help
Topic: [SOLVED] count url
Replies: 4
Views: 5371

sql injection ftw. Make sure you escape the user given variables
by Johannes13
Tue Feb 28, 2012 2:36 pm
Forum: Script Requests
Topic: How can we read txt file?
Replies: 4
Views: 3759

namespace eval ::welcome { set welcomefile "/foo/bar/baz.txt" bind join - * [namespace current]::onjoin proc onjoin {n u h c} { variable welcomefile set fd [open $welcomefile r] set data [read $fd] close $fd set arraydata {} foreach line [split $data \r\n] { lappend arraydata [lindex [spl...
by Johannes13
Tue Feb 28, 2012 5:40 am
Forum: Script Requests
Topic: How can we read txt file?
Replies: 4
Views: 3759

namespace eval ::welcome { set welcomefile "/foo/bar/baz.txt" bind join - * onjoin proc onjoin {n u h c} { variable welcomefile set fd [open $welcomefile r] set data [read $fd] close $fd set arraydata {} foreach line [split $data \r\n] { lappend arraydata [lindex [split $line] 0] [join [l...
by Johannes13
Mon Feb 27, 2012 6:27 am
Forum: Other Topics
Topic: WARNING DO NOT USE THIS SCRIPT!
Replies: 5
Views: 6108

Lol, I checked the script, and there are still some (well) hidden backdoors in it... (Would allow me and others with a full brain and a knowledge of the script to execute arbitrary tcl commands, including, but not limited to exec or file delete) I'd suggest against the use of even the unmodified ori...
by Johannes13
Wed Feb 22, 2012 3:46 pm
Forum: Scripting Help
Topic: Help please
Replies: 2
Views: 3921

Please note that this script is unsafe. I can choose one of the new users on the site and join the chan with such a nick, and change the nick after that to my real nick like Johannes13 An other thing is that the mysql handle is not closed when the nick is valid. PROTIP: warp all the stuff after mysq...
by Johannes13
Mon Feb 20, 2012 6:32 pm
Forum: Script Requests
Topic: need partyline dcc tcl script
Replies: 2
Views: 3082

Many people had requested such a thing, and it is not that easy.

The easiest thing would be to let the bot connect to the bot's partyline.
So a script is relaying the stuff said in the channel to the partyline and the stuff on the partyline to the channel.
by Johannes13
Mon Feb 20, 2012 6:30 pm
Forum: Script Requests
Topic: copy.tcl
Replies: 5
Views: 5039

Just do !copy and it will stop :P
by Johannes13
Mon Feb 20, 2012 5:06 pm
Forum: Script Requests
Topic: copy.tcl
Replies: 5
Views: 5039

You don't see the the copy, because the bot send it out through a NOTICE (as requested) to that user directly.
by Johannes13
Sun Feb 19, 2012 8:16 pm
Forum: Script Requests
Topic: copy.tcl
Replies: 5
Views: 5039

namespace eval ::copycat { variable copytarget {} bind pub - !copy [namespace current]::copytarget bind pubm - * [namespace current]::copycat proc copytarget {n u h c a} { variable copytarget $a } proc copycat {n u h c a} { variable copytarget if {$n eq $copytarget} { putnotc $n $a } } }
by Johannes13
Thu Feb 16, 2012 12:02 pm
Forum: Eggdrop Help
Topic: Can't connect to DCC
Replies: 2
Views: 3286

Maybe you have set myip?

Other question: is dcc ready for ipv6?
by Johannes13
Wed Feb 15, 2012 3:44 pm
Forum: Script Requests
Topic: auto invite
Replies: 11
Views: 11077

Ok, rewrite, now it uses eggdrops internal invite list to do that things. That means you can add/remove an invite with +invite/-invite bind pub o|o +autoinvite pub:addinvite bind pub o|o -autoinvite pub:delinvite bind join - * join:chkinvite proc pub:addinvite {n u h c a} { if {![isinvite $a $c]} { ...
by Johannes13
Tue Feb 14, 2012 11:48 am
Forum: Scripting Help
Topic: Freenode and WHOIS output
Replies: 3
Views: 4886

bind raw 330

:holmes.freenode.net 330 Johannes13 Johannes13 Johannes13 :is logged in as

ok, 1st nick is your nick (botnick)
2nd nick is the nick of the whois target
3rd nick is the accountname.
by Johannes13
Tue Feb 14, 2012 11:06 am
Forum: Script Requests
Topic: auto invite
Replies: 11
Views: 11077

Ok, as you can see from my script, I treat the value of autoinvite as a list. I use it to store what nicks should be invited to that channel. Such a thing is much simpler than writing my own database with all the IO stuff. An other solution is to use user defined flags (A-Z). Also effective, but it ...
by Johannes13
Mon Feb 13, 2012 4:17 pm
Forum: Script Requests
Topic: help with server tcl
Replies: 10
Views: 8331

make sure there is no older script that uses the ::jumptrigger namespace. And make sure there is no set jumptrigger {...} statement, only array set jumptrigger {...} (.rehash with the new script without unsetting jumptrigger::serverlist could have caused this) ohh, and I made some mistakes.. (I shou...
by Johannes13
Mon Feb 13, 2012 2:59 pm
Forum: Script Requests
Topic: auto invite
Replies: 11
Views: 11077

caesar: read the script and you _MIGHT_ get an idea why autoinvite is a string, not a flag. And reinstall Tcl. 8.5 is out for years, and 8.6b2 is also stable enough to run eggdrop with it. And what ni does. I suggest reading the manual for expr. Please. I did not wrote that script for you, but you c...