mIRC Home    About    Download    Register    News    Help

Print Thread
a little ignore query script #20894 25/04/03 07:08 PM
Joined: Apr 2003
Posts: 16
Y
yugioh Offline OP
Pikka bird
OP Offline
Pikka bird
Y
Joined: Apr 2003
Posts: 16
please help me
thnx


i am new

Re: a little ignore query script #20895 25/04/03 09:02 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Code:
on 1:OPEN:?: {
  if (%q. [ $+ [ $nick ] ] == $null) {
    /query $nick Sorry, but I am ignoring queries.  If you would like to talk to me, please talk in the channel.  Thanks.
    /window -c $nick
    /inc -u1800 %q. [ $+ [ $nick ] ]
  }
  else /window -c $nick
  /halt
}


-KingTomato
Re: a little ignore query script #20896 25/04/03 11:25 PM
Joined: Dec 2002
Posts: 699
N
Nimue Offline
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
You can easily prevent the query windows opening/closing. smile
Code:
on ^*:OPEN:?:{
  if !%q. [ $+ [ $site ] ] {
    .msg $nick Sorry, I am ignoring queries. If you would like to talk to me, please talk in the channel. Thanks.
  }
  inc -u1800 %q. $+ $site
  halt
}

Re: a little ignore query script #20897 25/04/03 11:33 PM
Joined: Dec 2002
Posts: 699
N
Nimue Offline
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
Options > General > Lock > Disable > [] "Private chats"
/ignore -p *
on ^*:open:?:halt