フォームのifに名前をつけたあとに名前をつけたifの編集をしようとしたらエラーが発生
[21:13:15] [Server thread/CRITICAL]: ErrorException: "Undefined index: if" (EXCEPTION) in "plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/form/FormIFForm" at line 596
[21:13:15] [Server thread/DEBUG]: #0 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/form/FormIFForm(596): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[19] Undefined index: if, string[87] phar:///minecraft/server/plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/form/FormIFF, integer 596, array[5])
[21:13:15] [Server thread/DEBUG]: #1 (): aieuo\ip\form\FormIFForm->onSelectIf(object pocketmine\Player, integer 6)
[21:13:15] [Server thread/DEBUG]: #2 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/form/Form(36): call_user_func_array(array[2], array[2])
[21:13:15] [Server thread/DEBUG]: #3 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/EventListener(290): aieuo\ip\form\Form::onRecive(integer 507712754, object pocketmine\Player, integer 6)
[21:13:15] [Server thread/DEBUG]: #4 src/pocketmine/plugin/MethodEventExecutor(42): aieuo\ip\EventListener->receive(object pocketmine\event\server\DataPacketReceiveEvent)
[21:13:15] [Server thread/DEBUG]: #5 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object aieuo\ip\EventListener, object pocketmine\event\server\DataPacketReceiveEvent)
[21:13:15] [Server thread/DEBUG]: #6 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEvent)
[21:13:15] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\event\Event->call()
[21:13:15] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
[21:13:15] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[21:13:15] [Server thread/DEBUG]: #10 src/pocketmine/Player(3096): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[21:13:15] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[21:13:15] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 118.21.159.178 41003, object raklib\protocol\EncapsulatedPacket, integer 0)
[21:13:15] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[21:13:15] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[21:13:15] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[21:13:15] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[21:13:15] [Server thread/DEBUG]: #17 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1584274395.2448)
[21:13:15] [Server thread/DEBUG]: #18 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
[21:13:15] [Server thread/DEBUG]: #19 src/pocketmine/Server(1584): pocketmine\Server->start()
[21:13:15] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[18] /minecraft/server/, string[26] /minecraft/server/plugins/)
[21:13:15] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(296): pocketmine\server()
[21:13:15] [Server thread/DEBUG]: #22 (11): require(string[64] phar:///minecraft/server/pmmp.phar/src/pocketmine/PocketMine.php)
[21:13:16] [Server thread/INFO]: [PlayerMessageCustom] DamagingAphid38がサーバーから退出しました
[21:13:16] [Server thread/INFO]: 〔DRFM〕ありゃ、、DamagingAphid38さんがたけのこ採りに行ってしまったよ!?呼び戻さないの?
[21:13:16] [Server thread/INFO]: DamagingAphid38がサーバーから退出しました
[21:13:16] [Server thread/INFO]: DamagingAphid38[/118.21.159.178:41003] が Internal server error によってログアウトされました
[21:13:16] [RakLibServer thread/NOTICE]: Blocked 118.21.159.178 for 5 seconds
条件に合わなかった場合の時,"音を再生する"と"パーティクル"が使用できない
フォームからプレイヤーを指定し、指定したプレイヤーに対しチェーンを実行し、パーティクルを出したらエラー
[13:27:02] [Server thread/CRITICAL]: ErrorException: "Undefined index: if" (EXCEPTION) in "plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/processes/SendForm" at line 63
[13:27:02] [Server thread/DEBUG]: #0 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/processes/SendForm(63): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[19] Undefined index: if, string[90] phar:///minecraft/server/plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/processes/Se, integer 63, array[8])
[13:27:02] [Server thread/DEBUG]: #1 (): aieuo\ip\processes\SendForm->onReceive(object pocketmine\Player, array[2])
[13:27:02] [Server thread/DEBUG]: #2 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/form/Form(36): call_user_func_array(array[2], array[2])
[13:27:02] [Server thread/DEBUG]: #3 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/EventListener(290): aieuo\ip\form\Form::onRecive(integer 898363211, object pocketmine\Player, array[2])
[13:27:02] [Server thread/DEBUG]: #4 src/pocketmine/plugin/MethodEventExecutor(42): aieuo\ip\EventListener->receive(object pocketmine\event\server\DataPacketReceiveEvent)
[13:27:02] [Server thread/DEBUG]: #5 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object aieuo\ip\EventListener, object pocketmine\event\server\DataPacketReceiveEvent)
[13:27:02] [Server thread/DEBUG]: #6 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEvent)
[13:27:02] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\event\Event->call()
[13:27:02] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
[13:27:02] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[13:27:02] [Server thread/DEBUG]: #10 src/pocketmine/Player(3096): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[13:27:02] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[13:27:02] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 118.21.159.178 29798, object raklib\protocol\EncapsulatedPacket, integer 0)
[13:27:02] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[13:27:02] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[13:27:02] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[13:27:02] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[13:27:02] [Server thread/DEBUG]: #17 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1584332822.8914)
[13:27:02] [Server thread/DEBUG]: #18 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
[13:27:02] [Server thread/DEBUG]: #19 src/pocketmine/Server(1584): pocketmine\Server->start()
[13:27:02] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[18] /minecraft/server/, string[26] /minecraft/server/plugins/)
[13:27:02] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(296): pocketmine\server()
[13:27:02] [Server thread/DEBUG]: #22 (11): require(string[64] phar:///minecraft/server/pmmp.phar/src/pocketmine/PocketMine.php)
[13:27:02] [Server thread/INFO]: 〔DRFM〕ありゃ、、DamagingAphid38さんがたけのこ採りに行ってしまったよ!?呼び戻さないの?
[13:27:02] [Server thread/INFO]: [PlayerMessageCustom] DamagingAphid38がサーバーから退出しました
[13:27:02] [Server thread/INFO]: DamagingAphid38がサーバーから退出しました
[13:27:02] [Server thread/INFO]: DamagingAphid38[/118.21.159.178:29798] が Internal server error によってログアウトされました
if -> イベント -> サーバーに参加した時 -> 名前を変える -> 称号の変数に称号システムを作ったのですが
リログすると消えてしまいます
どうすれば良いでしょうか?
フォームからプレイヤーを指定し、指定したプレイヤーに対しチェーンを実行し、パーティクルを出したらエラー
パーティクルの位置に(player_x),...以下略と入力し"入力した内容に間違いがあります"みたいなのが表示されたからかもしれない
Code:[13:27:02] [Server thread/CRITICAL]: ErrorException: "Undefined index: if" (EXCEPTION) in "plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/processes/SendForm" at line 63 [13:27:02] [Server thread/DEBUG]: #0 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/processes/SendForm(63): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[19] Undefined index: if, string[90] phar:///minecraft/server/plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/processes/Se, integer 63, array[8]) [13:27:02] [Server thread/DEBUG]: #1 (): aieuo\ip\processes\SendForm->onReceive(object pocketmine\Player, array[2]) [13:27:02] [Server thread/DEBUG]: #2 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/form/Form(36): call_user_func_array(array[2], array[2]) [13:27:02] [Server thread/DEBUG]: #3 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/EventListener(290): aieuo\ip\form\Form::onRecive(integer 898363211, object pocketmine\Player, array[2]) [13:27:02] [Server thread/DEBUG]: #4 src/pocketmine/plugin/MethodEventExecutor(42): aieuo\ip\EventListener->receive(object pocketmine\event\server\DataPacketReceiveEvent) [13:27:02] [Server thread/DEBUG]: #5 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object aieuo\ip\EventListener, object pocketmine\event\server\DataPacketReceiveEvent) [13:27:02] [Server thread/DEBUG]: #6 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEvent) [13:27:02] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\event\Event->call() [13:27:02] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket) [13:27:02] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [13:27:02] [Server thread/DEBUG]: #10 src/pocketmine/Player(3096): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [13:27:02] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [13:27:02] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 118.21.159.178 29798, object raklib\protocol\EncapsulatedPacket, integer 0) [13:27:02] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [13:27:02] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [13:27:02] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() [13:27:02] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [13:27:02] [Server thread/DEBUG]: #17 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1584332822.8914) [13:27:02] [Server thread/DEBUG]: #18 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor() [13:27:02] [Server thread/DEBUG]: #19 src/pocketmine/Server(1584): pocketmine\Server->start() [13:27:02] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[18] /minecraft/server/, string[26] /minecraft/server/plugins/) [13:27:02] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(296): pocketmine\server() [13:27:02] [Server thread/DEBUG]: #22 (11): require(string[64] phar:///minecraft/server/pmmp.phar/src/pocketmine/PocketMine.php) [13:27:02] [Server thread/INFO]: 〔DRFM〕ありゃ、、DamagingAphid38さんがたけのこ採りに行ってしまったよ!?呼び戻さないの? [13:27:02] [Server thread/INFO]: [PlayerMessageCustom] DamagingAphid38がサーバーから退出しました [13:27:02] [Server thread/INFO]: DamagingAphid38がサーバーから退出しました [13:27:02] [Server thread/INFO]: DamagingAphid38[/118.21.159.178:29798] が Internal server error によってログアウトされました
ご報告ありがとうございます。修正します。フォームからプレイヤーを指定し、指定したプレイヤーに対しチェーンを実行し、パーティクルを出したらエラー
パーティクルの位置に(player_x),...以下略と入力し"入力した内容に間違いがあります"みたいなのが表示されたからかもしれない
Code:[13:27:02] [Server thread/CRITICAL]: ErrorException: "Undefined index: if" (EXCEPTION) in "plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/processes/SendForm" at line 63 [13:27:02] [Server thread/DEBUG]: #0 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/processes/SendForm(63): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[19] Undefined index: if, string[90] phar:///minecraft/server/plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/processes/Se, integer 63, array[8]) [13:27:02] [Server thread/DEBUG]: #1 (): aieuo\ip\processes\SendForm->onReceive(object pocketmine\Player, array[2]) [13:27:02] [Server thread/DEBUG]: #2 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/form/Form(36): call_user_func_array(array[2], array[2]) [13:27:02] [Server thread/DEBUG]: #3 plugins/if_plugin_v3.8.0.phar/src/aieuo/ip/EventListener(290): aieuo\ip\form\Form::onRecive(integer 898363211, object pocketmine\Player, array[2]) [13:27:02] [Server thread/DEBUG]: #4 src/pocketmine/plugin/MethodEventExecutor(42): aieuo\ip\EventListener->receive(object pocketmine\event\server\DataPacketReceiveEvent) [13:27:02] [Server thread/DEBUG]: #5 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object aieuo\ip\EventListener, object pocketmine\event\server\DataPacketReceiveEvent) [13:27:02] [Server thread/DEBUG]: #6 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEvent) [13:27:02] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\event\Event->call() [13:27:02] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket) [13:27:02] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [13:27:02] [Server thread/DEBUG]: #10 src/pocketmine/Player(3096): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [13:27:02] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [13:27:02] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 118.21.159.178 29798, object raklib\protocol\EncapsulatedPacket, integer 0) [13:27:02] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [13:27:02] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [13:27:02] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() [13:27:02] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [13:27:02] [Server thread/DEBUG]: #17 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1584332822.8914) [13:27:02] [Server thread/DEBUG]: #18 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor() [13:27:02] [Server thread/DEBUG]: #19 src/pocketmine/Server(1584): pocketmine\Server->start() [13:27:02] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[18] /minecraft/server/, string[26] /minecraft/server/plugins/) [13:27:02] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(296): pocketmine\server() [13:27:02] [Server thread/DEBUG]: #22 (11): require(string[64] phar:///minecraft/server/pmmp.phar/src/pocketmine/PocketMine.php) [13:27:02] [Server thread/INFO]: 〔DRFM〕ありゃ、、DamagingAphid38さんがたけのこ採りに行ってしまったよ!?呼び戻さないの? [13:27:02] [Server thread/INFO]: [PlayerMessageCustom] DamagingAphid38がサーバーから退出しました [13:27:02] [Server thread/INFO]: DamagingAphid38がサーバーから退出しました [13:27:02] [Server thread/INFO]: DamagingAphid38[/118.21.159.178:29798] が Internal server error によってログアウトされました
1,10 のように idの後に,で区切って書いてくださいアイテムを与える時にエンチャントを
加える時強さはどうやって
指定すればいいですか?
僕の環境で試してみたところ、条件に満たしました...もう少し確認してみます..エンチャントや説明をつけると「インベントリにあるか」などを条件に加えた時に「条件に満たない判定」になってしまいます
ご提案ありがとうございます。同じようなことができるものを次回のアップデートで追加します要望です。
すごく需要の低い機能かもしれませんが、「手に持っているもののメタ値を変える」を出来れば実装してほしいです!
音はリソースパックで定義されているものが使用できます。(添付したファイル)音を再生するで最初がitemで始まるものが反応しません(多分)ほかの音はすべていくのに「トーテムの使用(item.totem.use_totem)」と「瓶に水を満たす音(item.bottle.fill)」などが反応しません。(こちらが間違ってればすいません。鳴った他の音と同じサイトで見たのです)
あとはifで使える名前のパーティクルの乗ったサイトを教えてください。
が使用できますexplode
hugeexplosion
hugeexplosionseed
bubble
splash
wake
water
crit
smoke
spell
instantspell
dripwater
driplava
townaura
spore
portal
flame
lava
reddust
heart
ink
droplet
enchantmenttable
happyvillager
angryvillager
forcefield
前言ったこれに付け加えエンチャントや説明をつけると「インベントリにあるか」などを条件に加えた時に「条件に満たない判定」になってしまいます
追記:イベントの「コマンドを実行した時」と変数の{cmd}がどちらも「チャットした時」と{mes}と完全に同じ機能になってます。コマンドを実行しなくてもチャットを打ったら「コマンドを実行した時」のifが作動し{cmd}には打った言葉が入ります。変数の{cmd}が使えません。チャットに表示させようとすると赤いエラー構文も出ません。