Date: 2017/02/24 11:40:59 UTC-08:00
Type: Denizen Script
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
nalex:
type: assignment
actions:
on assignment:
- trigger name:click state:true
interact scripts:
- 1 nalex interact
nalex interact:
type: interact
steps:
1:
click trigger:
script:
- chat "Welcome to the Newbie Hotel, <player.name>. I'm Alex. Would you like to hear more about the hotel?"
chat trigger:
trigger: /yes/
script:
- chat "<WHITE>The Newbie Hotel is a safe place for new players to rest at night until they can make their own <AQUA>bed<WHITE> elsewhere."
- wait 1
- chat "<WHITE>Just pick out any of unused <AQUA>bed<WHITE>, and sleep until morning."
- wait 1
- chat "<WHITE>Our rooms also have a <AQUA>crafting table<WHITE> and <AQUA>furnace<WHITE> for you to use."
- wait 1
- chat "<WHITE>The rooms are equipped with <AQUA>Ender chests<WHITE> so that other players can't come along and steal your items while you're away."
- wait 1
- chat "<WHITE>So, don't bother going through the <AQUA>Ender chests<WHITE> in other rooms. They'll all return your items."
- wait 1
- chat "That's pretty much it. Have a restful night, <player.name>."
- wait 1
- chat "I'd better get back to work."
- zap 2
trigger: /no/
script:
- chat "Well, I'd best get back to work, then."
- zap 2
2:
click trigger:
script:
- chat "Please don't tickle me, I need to get back to work."
- zap 1