Selasa, 4 Disember 2012

mIRC Script - Jam Serta Tarikh Pada Status Window




on *:start:.timer 0 1 timeback
alias -l timeback {
window -dHhBp +d @jam 0 0 180 60
drawtext -ro @jam $rgb(0,255,0) Arial 20 50 0 $time
drawtext -ro @jam $rgb(0,255,0) Arial 10 25 22 $+($chr(40),$asctime($ctime,dd) $trans(month,$asctime($ctime,mmmm)) $trans(day,$day) $asctime($ctime,yyyy),$chr(41))
drawsave -b32 @jam jam.bmp | window -c @jam | background -s jam.bmp
}
alias trans {
if ($regex($1,^(day)$)) return $replacecs($day,Monday,Isnin,Tuesday,Selasa,Wednesday,Rabu,Thursday,Khamis,Friday,Jumaat,Saturday,Sabtu,Sunday,Ahad)
if ($regex($1,^(month)$)) return $replacecs($asctime($ctime,mmmm),January,Januari,February,Febuari,March,Mac,April,April,May,May,June,Jun,July,Julai,August,Ogas,September,September,October,Oktober,November,November,December,Disember)
}

Tiada ulasan:

Catat Ulasan