I've made a few adjustments, I've removed the comments in the splay part and changed it to isfile so it will either play the files or it wont.
LOL didnt even notice it, i must have remarked it in the first version and not unmarked it since.
if ($sline($QuerWindow $+ Closing,1).ln) {
sline -l $QuerWindow [ $v1 ]
Quer.Titlebar
var %f = $+(QuerLogs\Quer.,$Fix.Str2File($sline($QuerWindow,1)),.jpg) | if ($isfile(%f)) {
background -p $QuerWindow %f
}
I see you dont like putting some things on the same lines, your choice of course, no harm either way, i just find if its one command, i might as well do it, it makes code more straight down in my eyes.
But i actually quoted this for another reason, its the
if ($sline($QuerWindow $+ Closing,1).ln) {
sline -l $QuerWindow [ $v1 ] If your altering any of the code watch out for using $v1 $v2 and $ifmatch, around the custom $identifiers, the [ ] around [ $v1 ] is there on purpose as they are needed so its evaluated Prior to $QuerWindow, as that $identifier well alter the contents of $v1, something I have got used to in my coding, but is a easy trap to miss, you end up staring at the code, going ,well theres $v1 and next i use it here, why isnt it set correctly?!?!?!?!?