エンチャント本のエンチャント名とレベルを個別に取得したい
エンチャント本のエンチャント名とレベルを個別にリスト型で取得しようとしたのですがサイト等を探しても見当たらなかったので方法があるなら教えていただきたいです
string型に変換しsplitを使用して強引に分解できるかも試しましたがそもそもエンチャント名ごとの空白の数が違ったのでできませんでした
数字などの値を検知して分解できるのかもできれば教えていただきたいです

Solution:Jump to solution
行けました
おそらくloop enchantments of player's tool:のループのところでloop stored enchants of player's tool:に変えないといけないのだと思われます...
9 Replies
色々試した時stored enchantsのほうでしかエンチャントが取れなかったんですよね
わかりました
このエンチャント本を持った状態で試したこと書いてきます

1 stored enchants 後のコードを消した場合
エラーはなし
send "%{_enchant}% %{_level}%" to playerによるメッセージは送られませんでした
2 loop enchantments of player's tool:のループの中身のコードを消した場合
エラーはなし
エンチャント名 レベルのかたまりで改行しながらメッセージが送られました

3 そのまま
2と同じようにメッセージが送られました
エラーはありません

一応そちらの入れてるアドオン確認したいのですが平気ですか
もう1回やってみます
動きませんね...
何か間違ったところがあったんですかね
できました

Solution
行けました
おそらくloop enchantments of player's tool:のループのところでloop stored enchants of player's tool:に変えないといけないのだと思われます
ありがとうございました
動いた後にloop stored enchants of player's tool:で型の問題かを確認しました
言い忘れてました すみません
了解です