2022-01-08 00:58:56 +01:00
|
|
|
# Script example
|
|
|
|
|
|
2022-01-08 14:40:58 +01:00
|
|
|
Contribution by Griatch, 2012
|
2022-01-08 00:58:56 +01:00
|
|
|
|
|
|
|
|
Example script for testing. This adds a simple timer that has your
|
2022-01-08 14:40:58 +01:00
|
|
|
character make small verbal observations at irregular intervals.
|
2022-01-08 00:58:56 +01:00
|
|
|
|
|
|
|
|
To test, use (in game)
|
|
|
|
|
|
|
|
|
|
> script me = contrib.tutorials.bodyfunctions.BodyFunctions
|
|
|
|
|
|
|
|
|
|
## Notes
|
|
|
|
|
|
|
|
|
|
Use `scripts me` to see the script running on you. Note that even though
|
|
|
|
|
the timer ticks down to 0, you will _not_ see an echo every tick (it's
|
|
|
|
|
random if an echo is given on a tick or not).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
<small>This document page is generated from `evennia/contrib/tutorials/bodyfunctions/README.md`. Changes to this
|
|
|
|
|
file will be overwritten, so edit that file rather than this one.</small>
|