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

by w00f
Thu Jan 17, 2008 7:26 pm
Forum: Scripting Help
Topic: Help DCC chat
Replies: 0
Views: 1533

Help DCC chat

hey guys , i need some help with one script. hope someone can help me. I have one command that reads an entire file and shows it in pm. The problem is when the file contains like 30 lines, takes some time to show all info. so i though about using dcc chat to display all the info. The problem is i do...
by w00f
Thu Oct 25, 2007 3:43 pm
Forum: Scripting Help
Topic: String
Replies: 8
Views: 4872

Code: Select all

set test "This is just a test uh"
set test [concat [lrange $test 0 2] "OOPS" [lrange $test 3 end]]

Code: Select all

Tcl return: This is just OOPS a test uh
use lrange to grab what you want.
by w00f
Tue Oct 09, 2007 8:01 am
Forum: Scripting Help
Topic: Botnet / putallbots
Replies: 4
Views: 2489

Code: Select all

proc bot:announce { text } {
   putlog "$text"
}
try, and use lindex to grab the info if you want/need to.
by w00f
Sun Oct 07, 2007 1:19 pm
Forum: Script Support & Releases
Topic: Mysql query help
Replies: 10
Views: 10107

it's ok now , $sql(query) instead of $query in while >.<

~w00f
by w00f
Sun Oct 07, 2007 8:20 am
Forum: Script Support & Releases
Topic: Mysql query help
Replies: 10
Views: 10107

check the code again.

* added db(results) , will limit the rows in the sql query.
by w00f
Sat Oct 06, 2007 9:23 am
Forum: Script Support & Releases
Topic: Mysql query help
Replies: 10
Views: 10107

### CONF ### # search command set db(cmd) "!blabla" # channel flag set db(flag) "flagbla" # max results set db(results) "3" # DB INFO set db(host) "localhost" set db(user) "user" set db(pass) "pass" set db(name) "dbname" set db(t...
by w00f
Sat Jul 07, 2007 5:08 pm
Forum: Scripting Help
Topic: help with my tea script [SOLVED]
Replies: 2
Views: 2311

use -nocase option with string match
i.e.

Code: Select all

set cmd [lindex $rest 0]
if {[string match -nocase $cmd "help"]} { .... }
~w00f
by w00f
Fri Jun 08, 2007 6:46 pm
Forum: Script Requests
Topic: tcl - mysql - qry / output formated to channel
Replies: 3
Views: 3003

## CONF ## # trigger to search set srch(cmd) "!pcoords" # SQL info set sql(host) "IP" set sql(user) "USER" set sql(pass) "PASS-BLA" set sql(db) "DATABASE-NAME" set sql(port) "PORT" ## END CONF ## package require mysqltcl bind pub - $srch(c...
by w00f
Fri Jun 08, 2007 1:51 pm
Forum: Script Requests
Topic: tcl - mysql - qry / output formated to channel
Replies: 3
Views: 3003

check this topic.

change the cmd, db info, sql query, and use lappend to set the output inside the "while".

~w00f
by w00f
Sun Jun 03, 2007 8:51 am
Forum: Scripting Help
Topic: Calculate time
Replies: 16
Views: 10803

thanks guys , ill try string map :)
by w00f
Sat Jun 02, 2007 5:46 pm
Forum: Scripting Help
Topic: Calculate time
Replies: 16
Views: 10803

the problem is the month , if the month was in number format instead of name the code certainly works. .tcl [duration [expr {[clock scan 07/06/2007] - [clock seconds]}]] ew : Tcl: 4 weeks 5 days 1 hour 13 minutes 44 seconds .tcl [duration [expr {[clock scan Jul/06/2007] - [clock seconds]}]] ew : Tcl...
by w00f
Sat Jun 02, 2007 5:15 pm
Forum: Scripting Help
Topic: Calculate time
Replies: 16
Views: 10803

Calculate time

hey, i have a little prob. I'm trying to calc the "wait time" between "now" and some "date". The date format is monthname/day/year (%b/%d/%Y). i.e. date = "Jul/04/2007". im using clock scan , but since its free-form scan i cant use -format in way to set the ex...
by w00f
Tue May 22, 2007 8:55 pm
Forum: Script Support & Releases
Topic: Linkchan
Replies: 5
Views: 4882

if one chan have blowfish key , it doesnt matter cuz: - if its the source chan , you will have to find out one blowcrypt and set the fish key for that chan, the msg through botnet will be in plain text. - if the chan is the dest chan , its the same crap .. just load one blowcrypt , set the fish key ...
by w00f
Tue May 22, 2007 8:44 pm
Forum: Scripting Help
Topic: Relay
Replies: 4
Views: 3287

proc trans_bot { usercmd chan text } { global eggdrops chans botnick set me [lsearch $eggdrops $botnick] set transmsg [concat $usercmd $text] if {$chan == [lindex $chans $me]} { putallbots $transmsg } else { return 0 } } # proc transmission of pub (trans_pubm = y) proc trans_pub {nick uhost hand ch...
by w00f
Fri Apr 27, 2007 8:07 pm
Forum: Script Requests
Topic: [filled] blowfish test script
Replies: 2
Views: 3008

just find out one blowcrypt. a good blowcrypt must have an option "if key exists then encrypt and reply if key used", this means the bot will never talk in plaintext if you have any blowkey enabled to one #. no idea how is your blowcrypt script , so enable that option if you have, and if y...