|
-
Sep 2nd, 2003, 10:07 AM
#1
Thread Starter
Addicted Member
irc nick as login/pc name
i have an irc bot that is currectly connecting to irc on the clients computer using a random word or just jumbled letters as their username/chat nick... but when they enter the room i want their username to be the name of their computer or login name how would this be possible i'm a total noob with programming in C
-
Sep 2nd, 2003, 09:45 PM
#2
Frenzied Member
Try this.
For the login name its System.Environment.UserName and for the computer name its System.Environment.MachineName.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|