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.

counting characters

Old posts that have not been replied to for several years.
Locked
s
simonbell
Halfop
Posts: 68
Joined: Mon Aug 05, 2002 8:07 pm
Location: Washington, England
Contact:

counting characters

Post by simonbell »

Hi

How would i go about checking how many characters an argument a user inputs is?

As in /msg bot register handle, if the handle is more than 9 characters dont register it and tell the user why. I have the actual register stript working, i just need to know how to add this feature to it, if its possible at all.

thanks
Simon
r
rome

Post by rome »

hi,

you could use [string length <arg-here>]
I hope, it can help you.

Cesar
s
simonbell
Halfop
Posts: 68
Joined: Mon Aug 05, 2002 8:07 pm
Location: Washington, England
Contact:

Post by simonbell »

that worked perfectly. Thanks very much

Simon
Locked