home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-17 | 520 b | 28 lines | [TEXT/ttxt] |
- 'Sample Plugin
- '© John Bafford, 1996-1997
-
- *COMMAND spin -1
- *GLOBAL str nick
- *GLOBAL int running 0
- *ENDCONF
-
- @ENTRY spin
- @if #$GLOBAL:running. = 1 terminate
- @set running 1
- SAY $NICK spins the wheel of mystery
- @DELAY 120
- SAY Round and round the wheel goes...where it stops, nobody knows...
- @DELAY 180
- @set nick $RAND:nick.
- SAY The wheel stops and points at $GLOBAL:nick..
- @IF "$GLOBAL:nick." = "$BOTNICK" gotme
- @set running 0
- @END
-
- @LABEL gotme
- SAY Nice try...spin again, $NICK.
- @set running 0
- @END
-
- @LABEL terminate
- @END