| View previous topic :: View next topic |
| Author |
Message |
Wannabe Voice
Joined: 10 Feb 2006 Posts: 17
|
Posted: Mon Aug 06, 2007 2:32 pm Post subject: getuser : fails when nickchange [Solved] |
|
|
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 |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Mon Aug 06, 2007 2:49 pm Post subject: Re: getuser : fails when nickchange |
|
|
| 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. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Aug 06, 2007 5:15 pm Post subject: |
|
|
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. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Wannabe Voice
Joined: 10 Feb 2006 Posts: 17
|
Posted: Tue Aug 07, 2007 8:05 am Post subject: |
|
|
Thanks guys got this sorted now |
|
| Back to top |
|
 |
|