Hey! I was wondering if i can halt a custom window from closing. I have tried the following so far but none of them worked fully..
on *:close:@: {
if ($target == @Bot.Logs) {
halt | echo -at 3Closure Of This Window Is Prevented.
}
}
This echoed the text but never halted the close. And...
alias window {
if ($1 == -c) {
if ($2 == @Bot.Logs) {
echo -at $2 Can't Be Closed | halt
}
}
else { !window $1- }
}
This didn't do anything.
So i ran out of ideas.. anyone knows the way, if there is one???
Thanks!