mIRC Home    About    Download    Register    News    Help

Print Thread
S
SalabstianOrd
SalabstianOrd
S
Hi there, I'm trying to write either an alias or a remote script that would allow me to automatically send a notice to someone when they sent me a PING.

I tried the ON PING command(See Example below), but realized that was used when the server sent a PING to you.
Code:
on 1:PING:/notice $nick ohaidere. I noticed you pinged me and was wondering if I could help you with anything. :)


next, I tried using the ON CTCPREPLY command(See example below) but realized that was used when receiving replies from the CTCPs that I sent.
Code:
on 1:CTCPREPLY:*PING*:/notice $nick ohaidere. I noticed you pinged me and was wondering if I could help you with anything. :)



I would like to have a script that was triggered when another person sent me a PING, and have it sent a NOTICE to them in response, if that's even possible........ is it?

Thanks in advance,
SalabastianOrd

Joined: Jan 2004
Posts: 1,330
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,330
You're looking for ctcp events, /help ctcp will bring your cursor to that item in the help index.

Code:
ctcp 1:*help*:#:/notice $nick I can see that you need some help

S
SalabstianOrd
SalabstianOrd
S
Gotcha! That worked perfectly for what I wanted. Thanks! smile


Link Copied to Clipboard