Hi. I have a big problem with variable in YAML value.
"Can't understand this expression: yaml value "options.ip.kick_on_new_ip. (ChatGuiPRO.sk, line 956: set {ipkick.%{group}%} to "%yaml value ""options.ip.kick_on_new_ip.%{group}%"" of file ""plugins/ChatGuiPRO/config.yml""%"')"
I tried this too, but it still not working
"'"plugins/ChatGuiPRO/config.yml"' is not an item stack (ChatGuiPRO.sk, line 1102: set {ipkick.%loop-value%} to value "options.ip.kick_on_new_ip.%loop-value%" get of "plugins/ChatGuiPRO/config.yml"') "
Can you please help me? I dont know how to do this.
File all.txt contains all groups
Code:
set {ChatGuiPROgroupss::*} to file contents of "/plugins/ChatGuiPRO/data/groups/all.txt"
loop {ChatGuiPROgroupss::*}:
set {group} to loop-value parsed as text
set {ipkick.%{group}%} to "%yaml value ""options.ip.kick_on_new_ip.%{group}%"" of file ""plugins/ChatGuiPRO/config.yml""%"
I tried this too, but it still not working
Code:
set {ChatGuiPROgroupss::*} to file contents of "/plugins/ChatGuiPRO/data/groups/all.txt"
loop {ChatGuiPROgroupss::*}:
set {ipkick.%loop-value%} to value "options.ip.kick_on_new_ip.%loop-value%" get of "plugins/ChatGuiPRO/config.yml"
Can you please help me? I dont know how to do this.
File all.txt contains all groups
Last edited: