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.

caps script

Old posts that have not been replied to for several years.
m
mm
Halfop
Posts: 78
Joined: Thu Jul 01, 2004 10:24 pm

Post by mm »

oh i think its problem with the nick length, if nick length more than 9 then it doesn't work and if nick is less than 9 then it works, so it means adduser fails due to nicklength. Do i need to change the nick length in the source?

oh log says XXX 0 in both cases even if it worked or not. i've added that log after
adduser $nick [maskhost [getchanhost $nick $chan]]

oh also if nick length is 12 then adduser was taking just 9.


Thanks
MM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

yeah that must be it

try to truncate the $nick if necessary, using [string range]
m
mm
Halfop
Posts: 78
Joined: Thu Jul 01, 2004 10:24 pm

Post by mm »

Demond, many thanks.
MM
Locked