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.

BlackTools TCL (Version 2.3)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
BLaCkShaDoW
Op
Posts: 120
Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:

BlackTools TCL (Version 2.3)

Post by BLaCkShaDoW »

This topic is for the support of the script BlackTools , now reaching version
1.4 , it will apear soon on egghelp.I added more commands, but still the
script is in romanian, but if i have time i will translate it. If you have problems with the script, or find any bugs just post here the problem :P , or you can put your opinion about this script and if you have ideas for more commands just post here :)
Last edited by BLaCkShaDoW on Wed Sep 01, 2010 4:15 am, edited 8 times in total.
BLaCkShaDoW Production @ WwW.TclScripts.Net
User avatar
BLaCkShaDoW
Op
Posts: 120
Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:

BlackTools vers 1.5

Post by BLaCkShaDoW »

I announce that in the next version of BlacKTools i will add protections with commands for activation , a command to add normal users without being logged to a chanserv and it will work on all networks : .addnick <level> nick , the bot will get the nick`s host and add him in his database, it will be the same with .add. And for this "aniversary" edition 1.5 will try to input other commands that are usefull and of course i will translate it into English.Please feel free to put your opinion about this changes :P
BLaCkShaDoW Production @ WwW.TclScripts.Net
User avatar
BLaCkShaDoW
Op
Posts: 120
Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:

BlackTools 1.6

Post by BLaCkShaDoW »

I finished BlackTools 1.6 you can download it from the upper link.Thanks
BLaCkShaDoW Production @ WwW.TclScripts.Net
B
Behemoth
Voice
Posts: 20
Joined: Mon May 19, 2008 7:23 am
Location: Mauritius
Contact:

Post by Behemoth »

hi there..
i wanted to know if by any chance u have the script coded in eng or french plz ?

plz reply asap

thnkx
Atem xxxx
Http://optix-pro.labrute.fr/
Http://ircaz.fr/

Losers Always Whine About Their Best, But Winners Go Home And F*** The Prom Queen!
User avatar
BLaCkShaDoW
Op
Posts: 120
Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:

BlackTools

Post by BLaCkShaDoW »

Hi, sure i will translate it into english soon :P , the version 1.7 will apear in romanian for now on egghelp but , next week i will upload it into english:P
BLaCkShaDoW Production @ WwW.TclScripts.Net
User avatar
BLaCkShaDoW
Op
Posts: 120
Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:

Post by BLaCkShaDoW »

BlackTools 1.7 it`s ready for download in romanian for now but soon will be in english :P
BLaCkShaDoW Production @ WwW.TclScripts.Net
User avatar
BLaCkShaDoW
Op
Posts: 120
Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:

Post by BLaCkShaDoW »

BlackTools 1.7 English version is Ready :D
BLaCkShaDoW Production @ WwW.TclScripts.Net
D
DaRkOoO
Halfop
Posts: 67
Joined: Sat Sep 27, 2008 7:27 am

Post by DaRkOoO »

Did you put it in Download ?I see only Romanian version in tcl archive.. :|
User avatar
BLaCkShaDoW
Op
Posts: 120
Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:

Post by BLaCkShaDoW »

On egghelp will be Up soon but you can check here

You can download the BlacKTools 1.7 (English Version) from here


BlackTools Download

Just Click Blacktools DOWNLOAD
BLaCkShaDoW Production @ WwW.TclScripts.Net
D
DaRkOoO
Halfop
Posts: 67
Joined: Sat Sep 27, 2008 7:27 am

Post by DaRkOoO »

mhm,I can't click it,you didnt put the link right ^^
User avatar
BLaCkShaDoW
Op
Posts: 120
Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:

Post by BLaCkShaDoW »

Now you can download`it from egghelp
BLaCkShaDoW Production @ WwW.TclScripts.Net
User avatar
BLaCkShaDoW
Op
Posts: 120
Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:

Post by BLaCkShaDoW »

BlackTools 1.8 is released, for now only romanian version , new stuff :D
count , new protections , new commands , greet , leave , anunt. :D
BLaCkShaDoW Production @ WwW.TclScripts.Net
D
DaRkOoO
Halfop
Posts: 67
Joined: Sat Sep 27, 2008 7:27 am

Post by DaRkOoO »

Great,just translate it to English when you can ;)
User avatar
BLaCkShaDoW
Op
Posts: 120
Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:

Post by BLaCkShaDoW »

Yes, it will be in english soon:P
BLaCkShaDoW Production @ WwW.TclScripts.Net
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

Code: Select all

proc pub:add {nick host hand chan arg} {
global botnick user
set level [lindex $arg 0]
set args [lrange $arg 1 end]
You realize your failing to split the string 'arg' before applying the list index command on it. What will happen with nicknames that contain braces?

Code: Select all

<speechles> .tcl set test "{joe}"
<bot> Tcl: {joe}
<speechles> .tcl set c [lindex $test 0]
<bot> Tcl: joe

<speechles> .tcl set test "{joe"
<bot> Tcl: {joe
<speechles> .tcl set c [lindex $test 0]
<bot> Tcl error: unmatched open brace in list

<speechles> .tcl set test "{joe}away"
<bot> Tcl: {joe}away
<speechles> .tcl set c [lindex $test 0]
<bot> Tcl error: list element in braces followed by "away" instead of space
The first example above shows that the nickname will not be correct, the braces are omitted. The second example shows that the script will bail (crash out). The third example also bails with a different error. This is caused by not using the command [split] when dealing with string input derived from binds.

Code: Select all

set level [lindex [split $arg] 0]
set args [lrange [split $arg] 1 end]
This would be the proper and correct way to avoid these types of problems. You should look into properly coding your scripts so others using it can actually have it function correctly when nicknames contain braces. You will surely have people complain that nicknames containing any braces break your scripts...
Post Reply