SHOW:
|
|
- or go back to the newest paste.
1 | - | command settppoint [<number>]: |
1 | + | command /settppoint [<number>]: |
2 | - | permission: skript.admin |
2 | + | permission: skript.admin |
3 | - | trigger: |
3 | + | |
4 | - | if arg-1 is 1: |
4 | + | if arg-1 is 1: |
5 | - | set {random.teleport.point.1} to location of player |
5 | + | set {random.teleport.point.1} to location of player |
6 | - | send "&8&l» &f(1)&a設定しました。" to player |
6 | + | send "&8&l» &f(1)&a設定しました。" to player |
7 | - | stop |
7 | + | stop |
8 | - | else if arg-1 is 2: |
8 | + | else if arg-1 is 2: |
9 | - | set {random.teleport.point.2} to location of player |
9 | + | set {random.teleport.point.2} to location of player |
10 | - | send "&8&l» &f(2)&a設定しました。" to player |
10 | + | send "&8&l» &f(2)&a設定しました。" to player |
11 | - | stop |
11 | + | stop |
12 | - | else if arg-1 is 3: |
12 | + | else if arg-1 is 3: |
13 | - | set {random.teleport.point.3} to location of player |
13 | + | set {random.teleport.point.3} to location of player |
14 | - | send "&8&l» &f(3)&a設定しました。" to player |
14 | + | send "&8&l» &f(3)&a設定しました。" to player |
15 | - | stop |
15 | + | stop |
16 | - | else if arg-1 is 4: |
16 | + | else if arg-1 is 4: |
17 | - | set {random.teleport.point.4} to location of player |
17 | + | set {random.teleport.point.4} to location of player |
18 | - | send "&8&l» &f(4)&a設定しました。" to player |
18 | + | send "&8&l» &f(4)&a設定しました。" to player |
19 | - | stop |
19 | + | stop |
20 | ||
21 | - | Command futaba_nyan <player>: |
21 | + | command /futaba_nyan <player>: |
22 | - | permission: skript.admin |
22 | + | permission: skript.admin |
23 | - | trigger: |
23 | + | |
24 | - | apply resistance 5 to the arg for 5 seconds |
24 | + | apply resistance 5 to the arg for 5 seconds |
25 | - | send "&9&l[&6System&9&l]&75秒間耐性が付きます" to arg |
25 | + | send "&9&l[&6System&9&l]&75秒間耐性が付きます" to arg |
26 | - | execute console command "menu grab arg a" |
26 | + | execute console command "menu grab arg a" |
27 | - | stop |
27 | + | stop |
28 | ||
29 | - | Command randomteleport <player>: |
29 | + | command /randomteleport <player>: |
30 | - | permission: skript.admin |
30 | + | permission: skript.admin |
31 | - | trigger: |
31 | + | |
32 | - | set {_tppoint} to random integer between 1 and 4 |
32 | + | set {_tppoint} to random integer between 1 and 4 |
33 | - | if {_tppoint} is 1: |
33 | + | if {_tppoint} is 1: |
34 | - | teleport the arg to {random.teleport.point.1} |
34 | + | teleport the arg to {random.teleport.point.1} |
35 | - | send "&9[&atp&9] &e1&aにTPしました。" to arg |
35 | + | send "&9[&atp&9] &e1&aにTPしました。" to arg |
36 | - | stop |
36 | + | stop |
37 | - | if {_tppoint} is 2: |
37 | + | if {_tppoint} is 2: |
38 | - | teleport the arg to {random.teleport.point.2} |
38 | + | teleport the arg to {random.teleport.point.2} |
39 | - | send "&9[&atp&9] &e2&aにTPしました。" to arg |
39 | + | send "&9[&atp&9] &e2&aにTPしました。" to arg |
40 | - | stop |
40 | + | stop |
41 | - | if {_tppoint} is 3: |
41 | + | if {_tppoint} is 3: |
42 | - | teleport the arg to {random.teleport.point.3} |
42 | + | teleport the arg to {random.teleport.point.3} |
43 | - | send "&9[&atp&9] &e3&aにTPしました。" to arg |
43 | + | send "&9[&atp&9] &e3&aにTPしました。" to arg |
44 | - | stop |
44 | + | stop |
45 | - | if {_tppoint} is 4: |
45 | + | if {_tppoint} is 4: |
46 | - | teleport the arg to {random.teleport.point.4} |
46 | + | teleport the arg to {random.teleport.point.4} |
47 | - | send "&9[&atp&9] &e4&aにTPしました。" to arg |
47 | + | send "&9[&atp&9] &e4&aにTPしました。" to arg |
48 | - | stop |
48 | + | stop |
49 | ||
50 | - | command pvp: |
50 | + | command /pvp <text>: |
51 | trigger: | |
52 | - | if player doesn't have bow: |
52 | + | arg is {password} |
53 | player doesn't have bow: | |
54 | command "/randomteleport %player%" | |
55 | command "/futaba_nyan %player%" | |
56 | ||
57 | on damage of player: | |
58 | attacker is a player | |
59 | - | set damage to 40 |
59 | + | |
60 | set damage to 40 | |
61 | ||
62 | command /password <text>: | |
63 | permission: skript.admin | |
64 | trigger: | |
65 | set {password} to arg | |
66 | message "パスワードを変更しました" to player |