Date: 2015/10/28 08:46:35 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
# 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 we set the constants
default constants:
reqFee: 500
reqGroup: default
default gruppe:
reqGroup: Admin
# 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>M<ö>chtest du Freigeschaltet werden &e<player.name>&7?'
# - chat '<gray>M<ö>chtest du Freigeschaltet werden ? &e<player.name>&7?'
#
- NARRATE "- Tippe ja/nein/rundflug"
# Lets wait for a player to say the Yes, No or Info wildcard..
chat trigger:
'1':
trigger: '<gold>[Freischaltet]:<gray> Freut mich <yellow><player.name><gray> das du <aqua>/ja/ <gray>ausgew<ä>hlt hast ich versuch nun mein bestes'
script:
- if <player.in_group[<cons:reqGroup>]> run "SCRIPT:Checkdefault"
else run "SCRIPT:Checktutorial"
- zap step:getPromotion SCRIPT:Freischalter
- RUN 'SCRIPT:CheckRank'
'2':
trigger: '<yellow>[<player.name>]:<gray> /nein/ Ich m<ö>chte noch nicht.'
script:
- wait 2
- chat "<gray>kein Problem man sieht sich"
'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:
- CHAT "<white>du bist default"
'Checktutorial': # Player has the correct Rank but do they have the correct change?
Type: task
Script:
- if <player.in_group[<gruppe:reqGroup>]> run "SCRIPT:Checkitem"
else chat "du wars noch nicht beim Kolegen"
'Checkitem': # Player has the correct Rank but do they have the correct change?
Type: task
Script:
- if <player.in_group[<gruppe:reqGroup>]> run "SCRIPT:Goldschaufel"
else chat "Du wurdest schon freigeschaltet"
'Goldschaufel': # Player has the correct Rank but do they have the correct change?
Type: task
Script:
- execute asserver 'give <player.name> stick'