Contents
Support Managers
| Makaylah Wurgle English | online | 
| Rehnaeaislinn English | online | 
| shorty McKeenan English | online | 
| Aerielle Kiyori English | offline | 
| Alexander Pixels English | offline | 
| Amyalka English | offline | 
| Bustychocolate Ravenheart English | offline | 
| Glaznah Gassner English, Russian | offline | 
| Justina Mcminnar English | offline | 
| Sammyredfire English | offline | 
| Xartashah English | offline | 
| show offline managers | |
| English, Russian | 
SBSL Example: Advanced IM Autoresponder
			Main > Bot Scripting Language > SBSL Example: Advanced IM Autoresponder		
			
			| SBSL Examples | 
Have a question? Ask at SmartBots DevPortal!
DevPortal is a blog and forum for developers. Ask your questions to get a prompt reply!
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.