LibraIRC.net Forums
Timestamp change - Printable Version

+- LibraIRC.net Forums (https://librairc.net/forums)
+-- Forum: Public Forums (https://librairc.net/forums/forum-47.html)
+--- Forum: IRC Discussions (https://librairc.net/forums/forum-57.html)
+---- Forum: mIRC (https://librairc.net/forums/forum-64.html)
+---- Thread: Timestamp change (/thread-10592.html)



Timestamp change - SaNCaK - 10-01-2017

Code:
on *:load: {
 .echo -aq $input(Author: SaNCaK $+ $crlf $+ $crlf $+ Addon: Timestamp Change $chr(40) $+ v5.4 $+ $chr(41) $+ $crlf $+ $crlf $+ Released at: 17/10/2016 $+ $crlf $+ $crlf $+ Contact: sancak@outlook.com.tr $+ $crlf $+ $crlf $+ Thank you for using this Addon,igo,Addon: Timestamp Change $chr(40) $+ v5.4 $+ $chr(41))
 .echo -s _____________________________________________________
 .echo -s 0,1 Loading 9,1Timestamp Change0,1 Add-On... 
 .echo -s 0,1 You are running mIRC $version on Windows $+ $os
 .echo -s ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
}
on *:unload: {
 .echo -aq $input(Author: SaNCaK $+ $crlf $+ $crlf $+ Addon: Timestamp Change $chr(40) $+ v5.4 $+ $chr(41) $+ $crlf $+ $crlf $+ Released at: 17/10/2016 $+ $crlf $+ $crlf $+ Contact: sancak@outlook.com.tr $+ $crlf $+ $crlf $+ Unloading...,igo,Addon: Timestamp Change $chr(40) $+ v5.4 $+ $chr(41))
}
;############################  -«•»SaNCaK ScripT«•»-    ############################
menu menubar,channel {
 Timestamp change:dialog -ma Stamps Stamps
}
dialog Stamps {
 title "Timestamp change"
 size -1 -1 266 84
 option pixels notheme
 box "", 1, 2 -4 261 85
 button "ok", 9, 194 57 65 20, ok
 box "", 10, 190 44 72 37
 button "green", 12, 11 9 52 20
 button "red", 13, 11 33 52 20
 button "blue", 14, 11 57 52 20
 box "", 16, 4 -4 65 85
 radio "off", 8, 193 36 68 15
 box "", 11, 67 -4 125 85
 text "Timestamps will be changed!!!", 15, 70 6 117 52, disable center
 button "reset", 17, 97 58 65 20
 box "", 18, 93 47 74 32
 text "timestamp:", 20, 193 4 66 14, disable
 radio "on", 19, 193 21 68 15
}
on 1:dialog:Stamps:init:0: {
 did -c Stamps $iif(%tstamp,19,8)
}
on 1:DIALOG:Stamps:sclick:*:{
 if ($did == 12) { green }
 if ($did == 13) { red }
 if ($did == 14) { blue }
 if ($Did == 19) { timestamp on | timestamp -f hh:nn:ss | echo $active 4Time is on (resetted) !!! | set %tstamp on }
 if ($did == 8) { timestamp off | echo $active 4Time is off !!! | unset %tstamp }
 if ($did == 17) { unsetT }
}  
alias blue {
 timestamp -f 10(11HH10:11nn10:11ss10)
 set %tstamp on
 echo $active 10Timestamp blue loadet: 10(11HH10:11nn10:11ss10)
}

alias green {
 timestamp -f 3(9HH3:9nn3:9ss3)
 set %tstamp on
 echo $active 9Timestamp green loadet: 3(9HH3:9nn3:9ss3)
}

alias red {
 timestamp -f 5(4HH5:4nn5:4ss5)
 set %tstamp on
 echo $active 4Timestamp red loadet: 5(4HH5:4nn5:4ss5)
}  

alias unsetT {
 timestamp -f hh:nn:ss
 set %tstamp on
 echo $active Timestamp reset hh:nn:ss
}



RE: Timestamp change - ^Debra - 19-01-2017

what is that for.??


RE: Timestamp change - immortal - 22-01-2017

you can change your timestamp color by the code and turn it on off by its option.