egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

getuser : fails when nickchange [Solved]

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Wannabe
Voice


Joined: 10 Feb 2006
Posts: 17

PostPosted: Mon Aug 06, 2007 2:32 pm    Post subject: getuser : fails when nickchange [Solved] Reply with quote

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
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Mon Aug 06, 2007 2:49 pm    Post subject: Re: getuser : fails when nickchange Reply with quote

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Aug 06, 2007 5:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Wannabe
Voice


Joined: 10 Feb 2006
Posts: 17

PostPosted: Tue Aug 07, 2007 8:05 am    Post subject: Reply with quote

Thanks guys Smile got this sorted now
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber