change $day to $hari

By amri on May 11, 2004

change $day to $hari. Days in Malaysian language. Senang aja nak guna snippet nih kalau korang minat IRC Scripting. Thanks.

; Aliases to change $day from English to Malay
; this alises will change Monday to Isnin,Tuesday to Selasa etc
; You can use this aliases with:-
;
; "/echo","/msg","/say","/amsg","/notice","/me","/kick" etc
;
; Example 1) msg $chan $hari aku nak bunuh kau hari nih..
;              2) kick $chan $nick Kill you on $strip($hari,cbu)
;              3) on *:start:{ echo -a $remove($strip($hari),[,]) | halt }
;              4) notice da^hype hari ini hari $hari ...bla..bla..bla..

alias hari {
  var %day = $replace($day,monday,Isnin,tuesday,Selasa,wednesday,Rabu,thursday,Khamis,friday,Jumaat,saturday,Sabtu,sunday,Ahad)
  $1 return 2[7 [ $+ [ %day ] $+ ] 2] $1-
}

; * dont ask me on how to use this script cause i have give a hint and you as a scripter must think on your own and make it works with your own style!

Comments

Sign in to comment.
amri   -  May 20, 2004

trimas sebab sudi tengok snippet aku yg x seberapa nih..wukan susa pun nk buat huuhu!!

 Respond  
da^hype   -  May 15, 2004

cayalah... ada gak melayu kat sini. www.hirc.org utk script2 malaysia. :D

 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.