From SmartBots Developers Docs
Jump to: navigation, search

Fires when bot successfully logged to Second Life.

Bot.on("after_login", function(event) { ... });


This event comes with the following event object:

Variable Required Description
event object properties:
-- none -- Event has no properties


This event fires after bot logged into Second Life. This is a pair for a before_login event.


Bot.on("before_login", function(event) {
	console.log("Bot is going to login. Lets see if password is right!");

More complex example can be found here: Logging out and back in