a104375

a104375

Joined
Oct 28, 2008

Activity Stream

a104375 commented on a Page, 24hr Time  -  Oct 28, 2008

Very nice snippet! Anyway would it be possible for someone to create one of these for a ctcp response where it takes the users replied time and converts it to 12hr rather than 24hr this is what I've done so far.
Currently most peoples ctcp replies are in 24hr and I would like it to do 12hr but haven't been able to figure it out.

on :TEXT:`time:#: {
if ($2 == $null) { notice $nick enter a user | halt }
if ($2 !ison $chan) { notice $nick that user isnt here | halt }
else {
ctcp $2- time
set %timecheck $true
set %timechan $chan
}
}
on :CTCPREPLY:TIME: {
if (%timecheck) {
msg %timechan Time For $nick Is $2- $+.
unset %timecheck
unset %timechan
}
}

 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.