Advertisement
Marlingaming

Application Test

Mar 31st, 2022 (edited)
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. local tArg = {...}
  2.  
  3. if tArg[1] == "start" then
  4. os.queueEvent("application_task","create_text","text_1","hello!",2,2)
  5. os.queueEvent("application_task","create_image","image_1","ExampleImage1.nfp",2,3)
  6. os.queueEvent("application_task","create_button","button_1","Example","tsk.approve",5,3)
  7. os.queueEvent("application_task","create_input","input_1",12,1,9)
  8. elseif tArg[1] == "approve" then
  9. os.queueEvent("application_task","edit","text_1","text","bye!")
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement