-=- Ping Script -=-

By Da_DoN on Sep 11, 2004

this is a snippet for ur bot, sum1 types `ping and they get pinged and they get messaged they ping time in a different colour each time

;####### irc.liquidacid.org  ######
;#######      Da_DoN         ######
;#######   #ScriptorZ        ######
;#######   DO NOT EDIT    ######
;####### www.scriptorz.net #####

on *:text:`ping*:*: {
  ctcp $nick ping
  set %room $chan
}
on *:ctcpreply:ping*: {
  if ( $nick != $me ) {
    %ping = $ctime - $2
    set %ping.theme $rand(2,15)
    msg %room 0,1[ $+ %ping.theme $+ $nick $+ 0] Your lag time with  $+ %ping.theme $+ $server $+  0is $+ %ping.theme $duration($calc(%ping))
  }
  unset %ping
  unset %ping.theme
  unset %room
}

Comments

Sign in to comment.
Abtehi   -  Feb 18, 2009

can i try this for myself, i dont owns a bot.. :P

 Respond  
Bullet_Dodger   -  Oct 01, 2008

Abtehi, Try This

on *:text:`ping*:*: {
  ctcp $nick ping
  set %room $chan
}
on *:ctcpreply:ping*: {
  if ( $nick != $me ) {
    %ping = $ctime - $2
    set %ping.theme $rand(2,15)
    msg %room [11 $+ %ping.theme $+ $nick $+ 4] Your lag time with 11 $+ %ping.theme $+ $server $+  4is $+ %ping.theme $duration($calc(%ping))
  }
  unset %ping
  unset %ping.theme
  unset %room
}
 Respond  
Abtehi   -  Aug 23, 2008

Can someone make this easier to read without a black background. make it "Ctrl+K 1,15". I tried doing it, but i missed a point there after I added it to Remote ALT+R.

thank you.

 Respond  
ch1zra   -  Jan 24, 2005

works fine. nice & simple

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.