Contents

Support Managers

Sammyredfire
English
online
Aerielle Kiyori
English
offline
show offline managers  
English, Hindi, Russian  

prepare_group_notice (SBSL Command)

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


Prepares (but DOES NOT delivers) the group notice.

Syntax

prepare_group_notice GROUP-UUID SUBJECT

Command parameters

The following table explain the entries of the command:

Entry Description
GROUP-UUID the group UUID
SUBJECT the notice subject. Only latin letters are allowed (no international stuff or notice delivery fails).

Comments

This command prepares a new group notice. This command should be called prior to send_group_notice command (which does the actual notice delivery).

The notice delivery fails if subject contains international characters (notice text may contain them though).

Examples

Relays the owner's message as the group notice:

instant_message {
  if $speaker_name == Glaznah Gassner
    prepare_group_notice 0b65a122-8f77-64fe-5b2a-225d4c490d9c Relaying a message
    send_group_notice $message
  endif
}

<< return back to SBSL commands