1
0
Fork 0

add example baconscript file, with documentation

This commit is contained in:
Kevin Matz 2018-10-28 17:11:49 -04:00
parent 583a3f8a47
commit b3e7c9c3ef
2 changed files with 16 additions and 4 deletions

View File

@ -29,12 +29,14 @@ Edit `server.cfg` to the correct values for your Hog4.
$ ./comment.py
Adding Hog device at net# 1
comment# GL1
(macro GL
(target
(number 1)))
Go on List 1
comment# exit
Goodbye.
```
Run a baconscript file by passing the script file to `comment.py` as standard input.
```bash
$ ./comment.py < example.bs
```
## Developing

10
example.bs Normal file
View File

@ -0,0 +1,10 @@
GM*
GM1:AM2:HM3
RM*
RA
FM1/50
FGM20
GL1/5
AS3
RK2
CP+