Stormy Posted January 25, 2011 Report Posted January 25, 2011 Zandor said:Sep 28th, 2008, 11:43am; Millisecond Pinger by eXonyte; Type /mping <nickname> to ping someone in milliseconds instead of seconds.; Also attempts to maintain compatibility with normal /ctcp <nick> PING replies,; and will display the text if someone's script replies with text instead of a number.; Alias to send a millisecond pingalias mping {; Sends the actual ping as a raw.raw PRIVMSG $$1 : $+ $chr(1) $+ PING $ticks $+ $chr(1); Echoes a CTCP PING lookalike to the active windowecho $colour(ctcp) -t $+ $iif($active == Status Window,se,a) -> [[ $+ $$1 $+ ]] PING}; Handles CTCP PING replieson *:CTCPREPLY:*PING*: {; If the reply isn't a number, let mIRC handle itif ($2 !isnum) { return }; If the current $ticks minus the reply is greater than 0if ($calc($ticks - $2) > 0) {; Echo the ping reply to the active windowecho $colour(ctcp) -at $+ $iif($active == Status Window,e) [[ $+ $nick PING reply]: $calc($ticks - $2) $+ ms; And halt so that mIRC doesn't show its own ping replyhalt}}
Administrators Tony Posted February 1, 2011 Administrators Report Posted February 1, 2011 very useful script i got a nice spot for it in my mirc bot
Stormy Posted August 30, 2013 Author Report Posted August 30, 2013 I like how he commented it, very useful for someone trying to learn how to script.
TV_Tech Posted August 30, 2013 Report Posted August 30, 2013 Zandor rocks I wish he'd come back to chat (yn) kazz too
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now