SmartBots (SmartBots2Life)

Second Life group direct invitation bots

Contents

Support Managers

Glaznah Gassner online
English, Russian
Kayamarazaki online
English, Dutch
QuincyJohnes online
English, Russian
show offline managers
English, German, Japanese

SBSL Example: Advanced IM Autoresponder

Have a question? Ask at SmartBots DevPortal!

DevPortal is a blog and forum for developers. Ask your questions to get a prompt reply!

Continue to DevPortal

Script replies with one of the predefined replies, based on resident's message.

instant_message {
  if $message =~* hi
    im $speaker_name Hi there!
  elsif $message =~* hello
    im $speaker_name Hello $speaker_name. How can I help you?
  elsif $message =~* help
    im $speaker_name I'm just a bot. For help please read our docs, or IM to live support.
  else
    im $speaker_name I'm not talented enough to reply you, sorry.
  endif
}

Comments

See SBSL if page for more info on if command. Note that =~* comparison is case insensitive.

Return back to SBSL examples

Questions, wishes and discussion