This is the core code for SecondLife Bot Template.