User Control Panel
Advertisements

HELP US, HELP YOU!

Get current Handle

 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol
View unanswered posts
Author Message
Nate
God Like
God Like


Joined: 12 Nov 2003
Posts: 553

Reputation: 41.3Reputation: 41.3Reputation: 41.3Reputation: 41.3

PostPosted: Fri Jan 02, 2004 9:25 pm    Post subject: Reply with quote

Is there a command to get the e-mail address of the current bot?

Example:
$email = $msn->handle();

There's one for Net-OSCAR for getting the AIM screenname but I want to know if/how to do it for MSN.
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Sat Jan 03, 2004 7:20 am    Post subject: Reply with quote

$self->GetMaster->{Handle}
maybe
i havnt run multiple bots at once so i dont know
Back to top
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Sat Jan 03, 2004 8:49 pm    Post subject: Reply with quote

$msn->{Handle} would be the best way but keenies will work if you only have acess to $self. Watch out for GetMaster breaking in the future though Smile
_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Sat Jan 03, 2004 8:53 pm    Post subject: Reply with quote

Yeah, no kidding, you know now I hate the GetMaster code. Razz Especially since GetMaster is called 93 times just to have the bot log on. And is called over 200 times just to have a 5 line convo with your bot. I'm sure there's a better way. I'm guessing we could make use of some class variables.

Oh yeah... CONGRATULATIONS!
Back to top
Nate
God Like
God Like


Joined: 12 Nov 2003
Posts: 553

Reputation: 41.3Reputation: 41.3Reputation: 41.3Reputation: 41.3

PostPosted: Tue Jan 13, 2004 12:42 am    Post subject: Reply with quote

QUOTE(eric256 @ Jan 3 2004, 03:49 PM)
$msn->{Handle} would be the best way but keenies will work if you only have acess to $self.  Watch out for GetMaster breaking in the future though Smile

QUOTE(Keenie)
$self->GetMaster->{Handle}
maybe
i havnt run multiple bots at once so i dont know


Eric's way didn't work, Keenie's way did.

Anyway, when you take out the GetMaster be sure to tell us so I can change it in my bot!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group