mIRC Home    About    Download    Register    News    Help

Print Thread
#13443 27/02/03 06:41 PM
B
bibadi
bibadi
B
I want when !I! query some1 say automatic Hi $nick .. how? ty

#13444 27/02/03 07:04 PM
Joined: Dec 2002
Posts: 168
J
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 168
/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
  }
}

#13445 27/02/03 07:08 PM
B
bibadi
bibadi
B
erm, doesn;t work?? where do i have to place it? remote? aliases?

Last edited by bibadi; 27/02/03 07:09 PM.
#13446 27/02/03 07:11 PM
Joined: Dec 2002
Posts: 168
J
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 168
Both parts go into your remote section. Make sure you have remotes activated by typing in your status window "/remote on"

#13447 27/02/03 10:19 PM
Joined: Dec 2002
Posts: 2,958
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Dec 2002
Posts: 2,958
on *:open:?:*:/msg $nick Hi $nick

Chop the red bit out so it looks like this:

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

#13448 28/02/03 08:40 AM
A
ARGH
ARGH
A
Nothing wrong with the "Red dot" ... read the HELPFILE dude..

#13449 28/02/03 08:58 PM
Joined: Dec 2002
Posts: 1,518
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,518
there is if u were only asking for something that works in QUERY ...... read the help file dude

#13450 28/02/03 09:06 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
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...


Link Copied to Clipboard