Date: 2015/10/28 11:29:27 UTC-07: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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# This is a group promotion script for I'm not sure what version
# This script is kept simple to allow a base scripting example to extend upon.
#
# @author Aortal
# @version 1.1
# @last-updated April 2 2013
"Promotion":
type: assignment
# Here is the click trigger
actions:
on assignment:
- trigger name:click toggle:true
# Define the interact script
interact scripts:
- 15 Freischalter
'Freischalter':
type: interact
steps:
'getPromotion*':
click trigger:
script:
# Wenn der Spieler Klickt
- chat '<gray>Hallo ich bin Der <gold>Freischalter <gray>wie kann ich dir helfen?'
# - chat '<gray>M<ö>chtest du Freigeschaltet werden ? &e<player.name>&7?'
#
- NARRATE "Tippe in den Chat: <aqua>Freischalten<white> |<aqua> Garnicht<white> | <aqua>rundflug"
# Lets wait for a player to say the Yes, No or Info wildcard..
chat trigger:
'1':
trigger: '<gold>[Freischalter]:<gray>/Freischalten/? So Moment ... Ich versuche dich nun Freizuschalten'
script:
- if <player.in_group[default]> run "SCRIPT:Checkdefault"
else run "SCRIPT:Checktutorial"
'2':
trigger: '<gray>Gerade<aqua> /Garnicht/?<gray> Wohl kein zeit najut Bye'
script:
'3':
trigger: 'Ich h<ä>tte gerne noch ein paar /info/rmationen bevor ich mich entscheide'
script:
- chat 'Du Musst voher den Rang <gold>LVL 15<gray> haben bevor du VIP werden kannst.'
- WAIT 1
- chat 'Und der Rang Kostet auch noch 500 <gold>Spielmarken<white>.'
- WAIT 1
- chat 'Aktuell hast du <player.money.asint> <gold>Spielmarken<white>.'
'4':
trigger: '/rundflug/'
script:
- execute asserver 'tp <player.name> -1193 80 504'
- WAIT 1
- execute asserver 'tp <player.name> -1180 63 402'
- WAIT 1
- execute asserver 'tp <player.name> -124 70 228'
- WAIT 2
- execute asserver 'tp <player.name> -1222 80 421'
- WAIT 2
- execute asserver 'tp <player.name> -1203 68 481'
- WAIT 1
- execute asserver 'msg <player.name> Ups sry h<ä>tte dich fast verloren'
'Checkdefault':
Type: task
Script:
- WAIT 4
- CHAT "<gray> Ahh wie ich sehe bist du noch nicht soweit ... Damit ich dich Freischalten kann musst Dieses Tutorial durchlaufen."
- WAIT 5
- CHAT "<gray>Bitte Begebe dich zu meiner Freundin in die Bibliothek Ihr name ist<gold> Tina <gray> Achja die Bibliothek ist hintermir im Hochaus. Bitte bestell ihr Sch<ö>ne Gr<ü><&chr[00df]>e von Mario hust hust sry <gold>Freischalter."
'Checktutorial': # Player has the correct Rank but do they have the correct change?
Type: task
Script:
- if <player.in_group[Tutorial]> run "SCRIPT:creeper"
else chat "Du bist doch schon Freigeschaltet"
'creeper': # Player has the correct Rank but do they have the correct change?
Type: task
Script:
- if <player.inventory.contains[spawn_egg:50]> run "SCRIPT:Goldschaufel"
else chat "Du Schreinst noch nicht fertig zu sein bitte mach das tutorials fertig"
'Goldschaufel': # Player has the correct Rank but do they have the correct change?
Type: task
Script:
- execute asserver 'clear <player.name>'
- execute asserver 'give <player.name> golden_shovel 1'
- execute asserver 'manuadd <player.name> builder'