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
}
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
}