- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleMeow
TypeDenizen Script
Date2014/06/25 14:45:53 UTC-07:00
ByGuest
Other
Paste
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
3400
AdvisorCreator:
  type: assignment 
  interact scripts: 
  - 100 AdvisorCreation

AdvisorCreation:
  type: interact 
  steps: 
    'NpcGiven*': 
      click trigger: 
        script: 
          - chat '&b Hello are you here for a advisor?'
          - wait 10t
          - chat '&b For a Advisor you will need the leader rank if you have the leader rank click me again.'
          - zap 'step:2' 
    '2':
        click trigger:
            script:
            - if (p@<player.name>.in_group<Leader>) {
              - chat "&4 here you go heres your npc"
              - create npc "Advisor" <player.location> traits:Builder|Sentry
              - narrate "A npc is created in front of you"
              - assignment set script:Advisor  
              - follow (target:<player.name>)
              - zap 'step:Gift given'
              }else{
              - chat "you aren't a leader come back when you are."
    'Gift given': 
        click trigger: 
            script: 
            - chat 'Heres your npc enjoy.'
            - wait 10000000000000000s
            - zap 'step:NpcGiven'



RawRaw



Pastes made: 76992