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.

nick to eggdrop username

Help for those learning Tcl or writing their own scripts.
Post Reply
i
innu
Voice
Posts: 10
Joined: Sun Aug 20, 2006 4:36 pm

nick to eggdrop username

Post by innu »

Hey.

set players {"nick1 nick2 nick3 etc"}
Every nick belongs to eggdrop database. How i can get eggdrop usernames of these nicks?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Can you be more clear on what your intentions are?
i
innu
Voice
Posts: 10
Joined: Sun Aug 20, 2006 4:36 pm

Post by innu »

I have players { "freddy" "robert||asd" "mynick" }
I want that scripts searches eggdrop userlist database, and then replaces them with eggdrop username.
if freddy-s eggdrop username is fred, then it replaces it with fred.
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

'nick2hand <nick>' will give you the handle if they are on one of the channels your bot is on
Have you ever read "The Manual"?
i
innu
Voice
Posts: 10
Joined: Sun Aug 20, 2006 4:36 pm

Post by innu »

thank you very much
Post Reply