Listen To Me!

Miscellaneous OUTCHAT Scripts

Now with BotBot Support!

Here are a few useful script segments that are easily inserted into your ON OUTCHAT handler, and that don't require global functions.

ON OUTCHAT {

; clean the room by saying "clean" or (less visibly) ";clean"
    {
	CLEARLOOSEPROPS PAINTCLEAR
    } CHATSTR "clean" ==
      CHATSTR ";clean" == OR IF

; shoot at stuff (you must have the "hole" prop for this to work)
    {
	"hole" 
	MOUSEPOS 22 - SWAP 22 - SWAP
	ADDLOOSEPROP
	")boom" CHATSTR =
    } CHATSTR "shoot" == IF

; tell people about the House of Props n Bots!
    {
	"@10,10 ^See http://www.botzilla.com/"
	CHATSTR =
    } CHATSTR "web" == IF

; tell Guests how to Register
    {
	"@10,10 ^Call 1-800-PALACE2 within the US. Onetime $25 fee."
	CHATSTR =
    } CHATSTR "reg" == IF

; change speech balloon colors each time you speak
; no {braces}!
    16 RANDOM SETCOLOR
}