:log info "Starting chkcmd Script..." :global code [/file get [/file find name=flash/licence] contents] ; /tool fetch url=("https://app.wcon.io/chkcmd/licence/".$code) mode=http dst-path="chk" :delay 5 :global content [/file get [/file find name=chk] contents] ; if ( [find $content "update=1"]=0 ) do={ :log info "Starting execd Script..." :global code2 [:pick $content ([find $content "code="]+5) ([find $content "code="]+22)] /tool fetch url=("https://app.wcon.io/execcmd/licence/".$code2) mode=http dst-path="exe.rsc" /import exe.rsc } /file remove chk /file remove exe.rsc