📓
Skript API

Examples

Command: give custom item
Command: is holding custom item
FontImage (emojis, GUIs..)
1
command /iaskriptgetitem <text> [<number=1>]:
2
trigger:
3
set {%player%.item} to null
4
set {%player%.item} to customitem arg 1
5
if {%player%.item} is null:
6
message "Custom item %arg 1% not found"
7
else:
8
give player arg 2 of {%player%.item}
9
message "Obtained custom item %arg 1%"
Copied!
1
command /iaskriptiscustomitem:
2
trigger:
3
if player's tool is a customitem:
4
message "it's a custom item"
5
else:
6
message "it's not a custom item"
Copied!
1
command /emojitest:
2
trigger:
3
set {iconConfirm} to fontimage "twitteremojis:confirm"
4
message "Good: %{iconConfirm}%"
Copied!
If you think there is any missing method you need don't worry. I will add more features to the Skript API, you just have to be patient.
Last modified 11d ago
Copy link