User Control Panel
Advertisements

HELP US, HELP YOU!

MSN Bot Status - White Warrior

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Cold Storage
View unanswered posts
Author Message
TapperTom
Newbie
Newbie


Joined: 03 Aug 2005
Posts: 4

Reputation: 10.6

PostPosted: Wed Aug 03, 2005 2:32 pm    Post subject: MSN Bot Status - White Warrior Reply with quote

Hey, Im new to this place and have little experience with bots and their workings. I know very little, if none programming and came acorss this by an idea that worked by luck..

I have edited the "offline" script which comes with the bot and changed it so typing in "!busy" or "!brb" or "!phone" etc. its status will change. I do appologise if this has possibly been already posted - I havnt seen it for White Warrior...

Code:
# Made for the White Warrior Template
# Edited by TapperTom

  if ($msg =~ /^!online/i)
{
    $self->sendmsg("I am now online");
    $self->set_status('NLN');
    $self->sendraw("IN\r\n");
}

Use !online - This is to turn the Bot back online (Does not work when bot is offline obviously)

Code:
# Made for the White Warrior Template
# Edited by TapperTom

  if ($msg =~ /^!away/i)
{
    $self->sendmsg("I am now set as away");
    $self->set_status('AWY');
    $self->sendraw("OUT\r\n");
}

Use !away - This is to chande its status to away


Code:
# Made for the White Warrior Template
# Edited by TapperTom

  if ($msg =~ /^!busy/i)
{
    $self->sendmsg("I am now set as busy");
    $self->set_status('BSY');
    $self->sendraw("OUT\r\n");
}

Use !busy - This is to change its status to Busy

Code:
 Made for the White Warrior Template
# Edited by TapperTom

  if ($msg =~ /^!brb/i)
{
    $self->sendmsg("I am now set as Be Right Back");
    $self->set_status('BRB');
    $self->sendraw("OUT\r\n");
}

Use !brb - This sets its status to Be Right Back

Code:
# Made for the White Warrior Template
# Edited by TapperTom

  if ($msg =~ /^!phone/i)
{
    $self->sendmsg("I am now set as On the phone");
    $self->set_status('PHN');
    $self->sendraw("OUT\r\n");
}

Use !phone - This sets its status as On the Phone

Code:
# Made for the White Warrior Template
# Edited by TapperTom

  if ($msg =~ /^!lunch/i)
{
    $self->sendmsg("I am now set as Out for lunch");
    $self->set_status('LUN');
    $self->sendraw("OUT\r\n");
}

Use !lunch - This sets its status as Out to Lunch

I set all these commands in my Admin folder so Users can mess around with it.. Thanks for reading, hope it helps.. Tom Wink
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Cold Storage 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