Hello,
I need to close DCC GET windows by code. I'm using:
/window -c "Get $+($nick,$chr(32),$nopath($filename),")
This works fine. However, it fails for long filenames. I can't precise the limit length, but certainly 77 characters and over fails. I tried cutting the filename to
%len characters:
/window -c "Get $+($nick,$chr(32),$left($nopath($filename),%len),")
but whatever the value of
%len it still fails. Using
$window I'm able to access the GET window's properties, because
$window accepts wildcards. But I don't know how to feed those properties to
/window.
Any ideas?