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.

Need help with script-

Help for those learning Tcl or writing their own scripts.
Post Reply
t
theice
Voice
Posts: 36
Joined: Thu Mar 13, 2008 4:20 pm

Need help with script-

Post by theice »

Basic script...

I'm adding users using stormbot but it seems there is a nine character limit?

Code: Select all

[16:22] <rockband> [16:22] #|ICE|# +user thisislon 
[16:22] <rockband> Added thisislon (no host) with no password and no flags.
so I need to find a way to take:

Code: Select all

set usern [lindex $t 0]
and chance it to something like set usern [right 9 0] idk I couldn't find the tcl argument to do that anywhere. I want to just be able to take the first 9 letters of their nick / line0 in text.

but if anyone knows a way to increase it from 9 using stormbot that would be great ( my nick len in eggdrop.conf = 30 )

ICE
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

nick length is not the same as handle length... Handle length is limited to 8 or 9 characters by default. This should not cause a problem with the bot recognizing the user. If you still feel you need a larger handle length, search the forums for "handlen".
t
theice
Voice
Posts: 36
Joined: Thu Mar 13, 2008 4:20 pm

I changed it

Post by theice »

all is well now!
Post Reply