View difference between Paste ID: zbLH3aQ3 and dqk3BfbX
SHOW: | | - or go back to the newest paste.
1
#
2
#+------------------------------------------------------+
3
#|                  ThorCommandMBA                    |
4
#+------------------------------------------------------+
5
#
6
7-
Command /Thor:
7+
Command /ThorArrow:
8
	permission: sk.Thor
9
	trigger:
10
		if {thor.mode.%player%} is "false":
11
			set {thor.mode.%player%} to "true"
12-
			send "&6雷の手を&aON&6にしました &7(左クリックでターゲットの位置に雷を落とせます、モードをオフにする際は/Thorと再度打てばオフに出来ます)"
12+
			send "&6雷の手を&aON&6にしました &7(左クリックでターゲットの位置に矢を落とせます、モードをオフにする際は/Thorと再度打てばオフに出来ます)"
13
14
		else if {thor.mode.%player%} is "true":
15
			set {thor.mode.%player%} to "false"
16
			send "&6雷の手を&cOFF&6にしました (また使う際は/Thorと打てば使用可能です"
17
		else:
18
			if {thor.mode.%player%} is not set:
19
				set {thor.mode.%player%} to "true"
20-
				send "&6雷の手を&aON&6にしました &7(左クリックでターゲットの位置に雷を落とせます、モードをオフにする際は/Thorと再度打てばオフに出来ます)"
20+
				send "&6雷の手を&aON&6にしました &7(左クリックでターゲットの位置に矢を落とせます、モードをオフにする際は/Thorと再度打てばオフに出来ます)"
21-
on leftclick:
21+
on leftclick with arrow:
22
	if {thor.mode.%player%} is "true":
23-
		strike lightning at the targeted block
23+
		strike arrow at the targeted block
24
	else:
25
		stop