mIRC Home    About    Download    Register    News    Help

Print Thread
#211075 03/04/09 06:17 AM
Joined: Apr 2009
Posts: 17
Pikka bird
OP Offline
Pikka bird
Joined: Apr 2009
Posts: 17
I was needing help in my scripts time reply I wanted it in a ctcp time instead of a notice in this format if anyone can help.

$Asctime(ddd) $Asctime(mmm) $Asctime(d) $Time(HH:nn:ss) GMT $+ $Asctime(zz) $Asctime(yyyy)

Last edited by BlondeAmbition; 03/04/09 06:18 AM.
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
ctcp *:time:*:  ctcpreply $nick TIME $Asctime($gmt,ddd mmm d HH:nn:ss zz yyyy)

RusselB #211080 03/04/09 07:58 AM
Joined: Apr 2009
Posts: 17
Pikka bird
OP Offline
Pikka bird
Joined: Apr 2009
Posts: 17
Russel lovely to see ya here laugh i played around with what you posted changed it to this it works beautiful & ty laugh
I had used your CTCPREPLY TIME & at first it showed the word TIME in the time check then after removing it it showed REPLY in the time check to I just made it ctcp & now it works.


ctcp %Nick $Str($Chr(2), 2) $Asctime(ddd) $Asctime(mmm) $Asctime(d) $Time(HH:nn:ss) GMT $+ $Asctime(zz) $Asctime(yyyy)

Last edited by BlondeAmbition; 03/04/09 08:00 AM.
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
The server you script for has ctcp disabled. They use Notice. And a proper time reply shows the word TIME in it. Otherwise they will know you are a script.


Link Copied to Clipboard