I have a small script that enables people to type !Request song name and the reply will go to my window so I know what song they want to hear. I want to be able to have the script open up full size and also be able to turn it on and off according to channels. This is what I have so far:
ON *:text:!request*:#: {
if $chan = #Chatzone {
.halt } else {
if ($window(@Requests) == $null) {
.window -e2k0n @Requests
}
/echo -t @Requests « $nick » in $chan requested the song $2-
.notice $nick I've got your request!
.beep 2
.flash @Requests
}
}