home *** CD-ROM | disk | FTP | other *** search
- ; Sample Cyborg.script
-
- ON INCHAT
- {
- ; expressive prop changes - in response to what others say
- { "Lightbulb" DONPROP { DOFFPROP } 120 ALARMEXEC } CHATSTR "you genius" == IF
-
- ; this is your FINGER information - replace the stuff in quotes with
- ; information about yourself.
- {
- "^<insert name>\x0d"
- "<insert e-mail>\x0d" +
- WHOCHAT PRIVATEMSG
- } CHATSTR "finger" == CHATSTR ";finger" == OR
- WHOCHAT WHOME == NOT AND IF
- }
-
-
-
- ON OUTCHAT
- {
-
- ; more expressive prop changes (in response to what YOU say)
- {
- { "Lightbulb" DONPROP { DOFFPROP } 120 ALARMEXEC } 30 ALARMEXEC
- } CHATSTR "a.* idea" SUBSTR IF
-
- ; Zap somebody by positioning the mouse and then say "zap"
- { "!)fazein Zap!" MOUSEPOS SAYAT
- 255 0 0 PENCOLOR 2 PENSIZE
- POSX POSY MOUSEPOS LINE
- PAINTUNDO
- "" CHATSTR =
- } CHATSTR "zap" == IF
-
- ; clean the room by saying "clean"
- {
- CLEARLOOSEPROPS
- PAINTCLEAR
- } CHATSTR "clean" == IF
-
- ; spoof somebody by positioning the mouse on their mouth and then type "msay blah blah"
- { "$1" GREPSUB chatter =
- chatter MOUSEPOS SAYAT
- "" CHATSTR =
- } CHATSTR "^msay (.*)$" GREPSTR IF
-
- ; give another user a prop
- { "$1" GREPSUB who = "$2" GREPSUB prop =
- prop who WHOPOS ADDLOOSEPROP
- } CHATSTR "^give (.*) (.*)$" GREPSTR IF
- }
-
-
-
- ON SIGNON
- {
- "@64,64 !It's " USERNAME + SAY
- 1 MACRO
- }
-