mIRC Homepage
Posted By: bibadi on query say hi $nick - 27/02/03 06:41 PM
I want when !I! query some1 say automatic Hi $nick .. how? ty
Posted By: Jerk Re: on query say hi $nick - 27/02/03 07:04 PM
/help ON OPEN

Code:
on *:open:?:*:/msg $nick Hi $nick

When someone messages you and it opens up a query window it will message that person. If you want to send the message when you manually open up a query window then you will have to create an alias like this:
Code:
alias query {
  if ($2) { query $$1 $2- }
  else { 
    query $$1
    msg $$1 Hi $$1
  }
}
Posted By: bibadi Re: on query say hi $nick - 27/02/03 07:08 PM
erm, doesn;t work?? where do i have to place it? remote? aliases?
Posted By: Jerk Re: on query say hi $nick - 27/02/03 07:11 PM
Both parts go into your remote section. Make sure you have remotes activated by typing in your status window "/remote on"
Posted By: Watchdog Re: on query say hi $nick - 27/02/03 10:19 PM
on *:open:?:*:/msg $nick Hi $nick

Chop the red bit out so it looks like this:

on *:open:?:/msg $nick Hi $nick
Posted By: ARGH Re: on query say hi $nick - 28/02/03 08:40 AM
Nothing wrong with the "Red dot" ... read the HELPFILE dude..
Posted By: _D3m0n_ Re: on query say hi $nick - 28/02/03 08:58 PM
there is if u were only asking for something that works in QUERY ...... read the help file dude
Posted By: Collective Re: on query say hi $nick - 28/02/03 09:06 PM
No, you read it lol...

Syntax:
on <level>:OPEN|CLOSE:<?|@|=|!|*>:<matchtext>:<commands>
Code:
on *:open:?:*:/msg $nick Hi $nick

The * is the matchtext, the ? is to make it only trigger if it's a query opening.

It doesn't matter anyway, it will only trigger when someone else opens a query with him; he asked for something that triggers when HE opens a query with someone...
© mIRC Discussion Forums