File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 8181 "path" : " Origin/(A) System/System Apps" ,
8282 "name" : " Alert.osl" ,
8383 "icon" : " c #111 w 10 square 0 0 5 5 c #fff icn info 0.4" ,
84- "version" :" 1.3 "
84+ "version" :" 1.4 "
8585 },
8686 {
8787 "url" : " https://origin.mistium.com/OSL%20Programs/apps/System/Desktop.osl" ,
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ def quitThisApp() (
4545 cursor "pointer"
4646 if onclick (
4747 window "kill" window.parent.id
48+ window.close()
4849 )
4950 c txtc
5051 ) else (
@@ -152,6 +153,20 @@ def transfer() (
152153 quitThisApp()
153154)
154155
156+ def choose() (
157+ parentSays("wants you to choose")
158+
159+ goto -190 50
160+ text popup_data.msg.wrapText(window.width / 10 - 5) 10 : c#txtc
161+
162+ goto 0 -35
163+ local click = acceptDeny(popup_data.left, popup_data.right)
164+ if click != null (
165+ transmit click window.parent.id
166+ )
167+ quitThisApp()
168+ )
169+
155170def buy_key() (
156171 parentSays("wants to")
157172
@@ -214,6 +229,9 @@ switch type (
214229 case "say"
215230 say()
216231 break
232+ case "choose"
233+ choose()
234+ break
217235 case "transfer"
218236 transfer()
219237 break
You can’t perform that action at this time.
0 commit comments