Date: 2014/07/15 20:14:20 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
Teamselectassign:
type: assignment
Interact Scripts:
- 1 Teamselect
TeamSelect:
Type: interact
Requirements:
Mode: ANY
List:
- ingroup Recruit
- ingroup Admin
Steps:
1:
Proximity Trigger:
Script:
- Chat '<Player>, Right Click Me when you are ready to join a team!'
- Zap step:2
2:
Click Trigger:
Script:
- Chat 'Hello <Player>, You have been recruited to join one of our awesome teams!'
- wait 2
- Chat 'You may type in chat which team you wish to join and I will send you to that team!'
- Wait 2
- Chat 'For now, the Teams you may select are Yellow and Blue'
- Wait 2
- Chat 'Type either Yellow or Blue into chat to join that team!!!'
- Zap step:3
3:
Chat Trigger:
1:
Trigger: I would like to join the /Yellow/ team!
Script:
- Chat 'Great! I will add you to that team and then teleport you to their world now!!'
- Wait 1
- Chat 'Ok, I am updating your profile and adding you to the YELLOW team now!
- Wait 1
- Execute as_server "pex user <player.name> group add YellowTeam"
- Wait 1
- Chat 'Sweet, that worked! Now I will Teleport you to their base, Good Luck and Have Fun!'
- Chat 'I hope you enjoy the Emerald Gaming Network!!!!!!'
- Wait 1
- Execute as_server "warp YellowTeam <player.name>"
- Finish
2:
Trigger: I would like to join the /Blue/ team!
Script:
- Chat 'Awesome! I will add you to that team and then teleport you to their world now!!'
- Wait 1
- Chat 'Ok, I am adding you to the Blue Roster, hang on just 1 second!'
- Wait 1
- Execute as_server "pex user <player.name> group add BlueTeam"
- Wait 1
- Chat 'Cool, it looks like that worked! Now I will send you to your new home!'
- Chat 'Thanks for choosing the Emerald Gaming Network, Have fun!
- Wait 1
- Execute as_server "warp BlueTeam <player.name>
- Finish