Ok the following code is not working the way I intend it to.
on *:Input:*:{
if (%gs.ss == yes) {
if ( $1 == /msg ) && (*serv iswm $2 ) {
if ( $active != $+(@,SecureServ) ) {
echo -a ¤ All $2 commands should be typed in the $+(@,SecureServ) Window! Please type: 10/ $+ Serv
echo -a -
halt }
else {
.msg $2-
halt }
}
}
}
What it is supposed to do is whenever i click on the option to enable this feature, and type a (*Serv) services command
in any window i.e. status, query, or channel. that this directs you to type the command from the designated window which
would be my @SecureServ window.
Basically what im looking for is having the /msg *Serv or /*Serv only be executed from the @SecureServ window. Make sense?
I had this working a while back but for some reason my script is giving me hell...I only have a short time online so any fast replies would be greatly appreciated.