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.

getuser : fails when nickchange [Solved]

Help for those learning Tcl or writing their own scripts.
Post Reply
W
Wannabe
Voice
Posts: 17
Joined: Fri Feb 10, 2006 1:02 pm

getuser : fails when nickchange [Solved]

Post by Wannabe »

Hey guys,

ive written a quick script that punishes people for swearing in my channel, i have a points system, by adding the user with there $hand, and then setting xtra info to a punishment level.

However, they can avoid this entirely by changing there nickname, is there anything i can do, so that getuser will use there hostname?


Cheers

Syn
Last edited by Wannabe on Tue Aug 07, 2007 8:06 am, edited 1 time in total.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Re: getuser : fails when nickchange

Post by DragnLord »

Wannabe wrote:Hey guys,

ive written a quick script that punishes people for swearing in my channel, i have a points system, by adding the user with there $hand, and then setting xtra info to a punishment level.

However, they can avoid this entirely by changing there nickname, is there anything i can do, so that getuser will use there hostname?


Cheers

Syn
I'm sure it is possible to change the script to use the hosts.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

You're using the user's nickname as his handle. Instead, add his user@host to a handle and use [nick2hand] or [finduser] to get his handle.
W
Wannabe
Voice
Posts: 17
Joined: Fri Feb 10, 2006 1:02 pm

Post by Wannabe »

Thanks guys :) got this sorted now
Post Reply