{ "assignment": { "interact scripts": [ "10 TutorialQuest" ], "type": "assignment" }, "secondtask": { "type": "interact", "steps": { "1": { "click trigger": { "script": [ "chat \"Oh hi there! \"", "wait 1", "chat \"Welcome to this server\"", "wait 2", "chat \"My name is \"", "narrate \"you feel welcomed \"", "wait 1", "chat \"<&4> but i need you help !\"", "wait 1", "chat \"can you help me? yes or no?\"" ] }, "chat trigger": { "1": { "triggers": "/yes/, I guess i can give you a hand", "script": [ "chat \"oh really !!!!???\"", "chat \"thats great !\"", "wait 1", "narrate \"the man seems excited\"", "wait 1", "chat "i just need 10 gold bars\"", "zap step:2" ] }, "2": { "triggers": "/no/, im to bussy right now", "script": [ "chat \"Ohh, well you can always come back later!\"" ] } } }, "2": { "click trigger": { "script": [ "if - ^take gold_ingot qty:10 - chat \"nice you got my items!\" - wait 2 - narrate \"The npc gives some items\" - give money 15 - zap step:3 } else { - chat \"Oh, it doesnt seems you have the required items\" - wait 1" ] } }, "3": { "click trigger": { "script": [ "chat \"thanks so much for your help\"", "wait 1", "chat \"thanks again!\"" ] } } } } }