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 

username + ??? (winident1.2 by FireEgl)

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
topdawg_b
Voice


Joined: 07 Dec 2008
Posts: 32

PostPosted: Tue Jan 27, 2009 1:28 pm    Post subject: username + ??? (winident1.2 by FireEgl) Reply with quote

the script is adding 3 random letters to my username .
I know it is probably a simple setting but I have been looking forever.
how do I change it to be just the username?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Jan 27, 2009 2:41 pm    Post subject: Reply with quote

What script?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
topdawg_b
Voice


Joined: 07 Dec 2008
Posts: 32

PostPosted: Tue Jan 27, 2009 3:22 pm    Post subject: Reply with quote

not in a script that I know of
if I have set username "topegg" the whois will show topegga9u@etc...
or topegg09f@etc... it changes upon each connection and I want it to just be topegg@etc...
Back to top
View user's profile Send private message
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Tue Jan 27, 2009 3:49 pm    Post subject: Reply with quote

This has little to do with scripting so possibly in the wrong forum. However, I will provide as much help as I am able.

In the case of an eggdrop bot on an external linux shell the variable username should be set to your shell login name. This will then become the bot's identd on IRC. This is an extract from the .conf file for one of my bots (Colossus) which resides on a linux shell where my login username is terminus :-

# This setting defines the username the bot uses on IRC. This setting has
# no effect if an ident daemon is running on your bot's machine.
set username "terminus"

A network /whois gives the following response :-

Colossus is terminus@server.go.thud.me.uk * Noone shall pass


For a windrop bot, the situation is somewhat different. Generally you would set the variable username to something you want to see as the bot's identd on IRC and ensure that winident1.2.tcl was loaded, as per the following extracts from the .conf file of my windrop bot (osmosis).

# This setting defines the username the bot uses on IRC. This setting has
# no effect if an ident daemon is running on your bot's machine.
set username "osmosis"

# Ident script for Windrop by FireEgl@EFnet <FireEgl@LinuxFan.com>
# uses username value for ident name by default
# read the start of script for more documentation
# uncomment (remove # in front of line) next line to activate
source scripts/winident1.2.tcl

For some reason there is a Tcl statement in winident1.2.tcl which ultimately causes the identd to become the value of username plus 3 random characters. This is the statement :-

set ident(username) "$username***"

I removed the three asterisks (*) in this statement and restarted the windrop bot. This is now the output from a network /whois :-

osmosis is osmosis@cpc2-oldh2-0-0-cust793.manc.cable.ntl.com * osmosis

So, in response, I suspect you are running a windrop bot and that winident1.2.tcl is giving you the three random characters. I have no idea why the author of winident1.2.tcl randomises the identd by default, unless perhaps it is to avoid the appearance of clones in the case of more than one windrop bot from the same ip address.


Last edited by arfer on Tue Jan 27, 2009 6:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
topdawg_b
Voice


Joined: 07 Dec 2008
Posts: 32

PostPosted: Tue Jan 27, 2009 5:07 pm    Post subject: Reply with quote

you are correct and that was the case .
that did fix it.
what I found odd is I have 3 bots running the exact same scripts nothing is different except the bot name and the channel .
Yet 2 of them did not have the random additions and 1 did.
I then copied the entire folder from the one system that was doing it to a system that wasn't and ran it from there and it dropped the 3 random numbers. I haven't figured that out yet. But none the less it works. TY for the help
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Jan 27, 2009 7:13 pm    Post subject: Reply with quote

Moderated: Moved to the proper section and updated topic to include scriptname and author.

/NML_375

_________________
NML_375, idling at #eggdrop@IrcNET
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 -> Script Support & Releases 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