This repository has been archived by the owner on Jul 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
status.ops
75 lines (63 loc) · 1.85 KB
/
status.ops
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Respond to power on and battery status events
// ================================================
// OP 1 - "If you are awake then announce that"
trig:
NOTE[ hq-1 -lex- awake
-hq--> obj-1
obj-1 -lex- you ]
-----------------
DO[ act-1 -lex- announce
-obj-> hq-1 ]
// OP 2 - "To announce that you are awake say ready to go"
trig:
DO[ act-1 -lex- announce
-obj-> hq-1
hq-1 -lex- awake
-hq--> obj-1
obj-1 -lex- you ]
-----------------
DO[ act-2 -lex- say
-obj-> txt-1
txt-1 -str- ready to go]
// OP 3 - "To announce that you are awake say finally, someone to play with"
trig:
DO[ act-1 -lex- announce
-obj-> hq-1
hq-1 -lex- awake
-hq--> obj-1
obj-1 -lex- you ]
-----------------
DO[ act-2 -lex- say
-obj-> txt-1
txt-1 -str- finally, someone to play with]
// ----------------------------------------
// OP 4 - "If you are tired then announce that"
trig:
NOTE[ hq-1 -lex- tired
-hq--> obj-1
obj-1 -lex- you ]
-----------------
DO[ act-1 -lex- announce
-obj-> hq-1 ]
// OP 5 - "To announce that you are tired say Aww, come on, I'm so tired"
trig:
DO[ act-1 -lex- announce
-obj-> hq-1
hq-1 -lex- tired
-hq--> obj-1
obj-1 -lex- you ]
-----------------
DO[ act-2 -lex- say
-obj-> txt-1
txt-1 -str- Aww, come on, I'm so tired]
// OP 6 - "To announce that you are tired say I'm pretty low on juice"
trig:
DO[ act-1 -lex- announce
-obj-> hq-1
hq-1 -lex- tired
-hq--> obj-1
obj-1 -lex- you ]
-----------------
DO[ act-2 -lex- say
-obj-> txt-1
txt-1 -str- I'm pretty low on juice]