mIRC Home    About    Download    Register    News    Help

Print Thread
#10766 12/02/03 05:14 PM
Joined: Jan 2003
Posts: 44
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jan 2003
Posts: 44
I have this script:

on *:OPEN:?:*:{
if ((%isAway != yes) && ($away != $true)) {
.splay -w $mircdir\system\sounds\incoming.wav
whois $nick $nick
.flash $nick Query
}
}

my question is why it does not display the whois into the query window but it makes it into the status window ?
and the problem is not in the options of the mIRC. I have set to show whois in the active.

#10767 12/02/03 05:32 PM
Joined: Dec 2002
Posts: 168
J
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 168
From the help file:
Show /whois in active window
Shows /whois results in the channel, query/chat, or custom windows if it is turned on and if a /whois is issued inside one of these windows, otherwise all /whois results are shown in the status window.


I guess for that option to work the /whois must be done from the window itself and not a remote. You can enable the whois on query option and it will send the whois results to the active window.

#10768 12/02/03 05:38 PM
Joined: Jan 2003
Posts: 44
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jan 2003
Posts: 44
OK but i didn't turned on this option because of my away system. If I turn it on every time when someone say to me something while I am away it displays his whois. And I don't want that. When I am away the away system close every query opened and shoudn't display any whois.

So plZ give me a piece of advice what to do ...

#10769 12/02/03 05:54 PM
Joined: Dec 2002
Posts: 168
J
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 168
I don't think there is a command to turn that option on and off. There SHOULD be a command for every option IMHO but until there is you are probably going to have to use raw events to divert the /whois results to your active window. There are plenty of examples of whois scripts out there to learn from. Here are some examples:
Geetee's mIRC script pages
Raw Tutorial by Insides
#Helpdesk raw tutorial by B0P

#10770 12/02/03 11:04 PM
Joined: Jan 2003
Posts: 44
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jan 2003
Posts: 44
10x


Link Copied to Clipboard