Guest User

Untitled

a guest
Feb 11th, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1.  
  2. TestGUI_menu_handler:
  3. type: world
  4. events:
  5. on player clicks in TestGUI_menu:
  6. - determine cancelled
  7. on player drags in TestGUI_menu:
  8. - determine cancelled
  9. on player clicks TestGUI_menu_yes in TestGUI_menu:
  10. - define npc.name Gregor
  11. - inventory close d:i@TestGUI_menu
  12. - narrate "<&2>%npc.name%<&co><&a> Great!"
  13. - narrate "<&2>%npc.name%<&co><&a> Bring me a potato!"
  14. on player clicks TestGUI_menu_no in TestGUI_menu:
  15. - inventory close d:i@TestGUI_menu
  16. - narrate "<&2>%npc.name%<&co><&a> Ok!"
  17. - wait 4
  18. - narrate "<&2>%npc.name%<&co><&a> Screw you then!"
Advertisement
Add Comment
Please, Sign In to add comment