guiを開いた状態でのクリックの左右の検知がしたい

on inventory right click:のようなことがしたいのですが方法が見当たらないので教えてもらいたいです...
2 Replies
mirageeeeeeeeeeeeeeeeeeeeeeeeeee
on inventory clickイベント内でclicked typeを用いて判定します https://skripthub.net/docs/?id=2137
on inventory click:
if click type is left mouse button:
#左クリック
if click type is right mouse button:
#右クリック
if click type is left mouse button with shift:
#左クリック+シフト
if click type is right mouse button with shift:
#右クリック+シフト
on inventory click:
if click type is left mouse button:
#左クリック
if click type is right mouse button:
#右クリック
if click type is left mouse button with shift:
#左クリック+シフト
if click type is right mouse button with shift:
#右クリック+シフト
Skript Hub - Documentation
Click Type (Type) - Skript
Click type, mostly for inventory events. Tells exactly which keys/buttons player pressed, assuming that default keybindings are used in client side.
L2ck_
L2ck_4mo ago
できました!ありがとうございます
Want results from more Discord servers?
Add your server
More Posts
自作投げナイフにおける与ダメの数値設定の動作不良```appleScript on right click: cooldown of diamond sword of player <= 0 set {_k} to player's関数内でのlore設定に関する動作不良# 環境 PlayerRealms (1.12.2) - Skbee 1.10.2 - Skquery 4.1.3 - Skellet 1.9.11-pr - Skript 2.3.6 - SkRaエンティティを円を描くように特定の位置に移動させる方法画像のようにエンティティを円を描くような形で特定の位置に移動させたいです。 調べてみてもあまりいい方法が分からず、何か方法があればご教授していただきたいです。レシピを削除した状態でログインした際のエラー文のスパムについてSkBee の構文( https://skripthub.net/docs/?id=10537 )を用いて、バニラのレシピを全て削除しています。 ``` on load: remove allon chest close みたいなことがしたいチェストの開閉を検知したいです ひとしきり調べてみたのですが いい方法が思い浮かびませんでした なにとぞ知恵をお貸しください…アイテムがつるはしかどうか検知したいgui作ってるのですが、クリックしたアイテムがつるはしだったとき(木,石,轍,ダイヤなど関係なく)検知したいのですが、なにかいい方法あったりしますか? ``` if item is wood pickshow TEMP の挙動の相談sk 2.5.3 です `show crit with speed 1 at location at {_loc}` 上記構文でエフェクトを表示させると vector 1,1,1 方向にだけ飛ぶエフェスキンが変更されない2TCT-plusにあやかって、妖狐の変身アイテムを実装してます ``` if name of clicked inventory is "TCTショップ": ~ else if name of cl