mIRC Home    About    Download    Register    News    Help

Print Thread
#13443 27/02/03 06:41 PM
Joined: Dec 2002
Posts: 28
B
bibadi Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2002
Posts: 28
I want when !I! query some1 say automatic Hi $nick .. how? ty


I'm.... LETHAL
#13444 27/02/03 07:04 PM
Joined: Dec 2002
Posts: 169
J
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
/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
Joined: Dec 2002
Posts: 28
B
bibadi Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2002
Posts: 28
erm, doesn;t work?? where do i have to place it? remote? aliases?

Last edited by bibadi; 27/02/03 07:09 PM.

I'm.... LETHAL
#13446 27/02/03 07:11 PM
Joined: Dec 2002
Posts: 169
J
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
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,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
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
Joined: Feb 2003
Posts: 9
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Feb 2003
Posts: 9
Nothing wrong with the "Red dot" ... read the HELPFILE dude..

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


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