Advertisement
SaNCaK

mIRC Timestamp change

Feb 3rd, 2014
537
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.67 KB | None | 0 0
  1. menu menubar,channel {
  2.   Timestamp change:dialog -ma Stamps Stamps
  3. }
  4. dialog Stamps {
  5.   title "Timestamp change"
  6.   size -1 -1 266 84
  7.   option pixels notheme
  8.   box "", 1, 2 -4 261 85
  9.   button "ok", 9, 194 57 65 20, ok
  10.   box "", 10, 190 44 72 37
  11.   button "green", 12, 11 9 52 20
  12.   button "red", 13, 11 33 52 20
  13.   button "blue", 14, 11 57 52 20
  14.   box "", 16, 4 -4 65 85
  15.   radio "off", 8, 193 36 68 15
  16.   box "", 11, 67 -4 125 85
  17.   text "Timestamps will be changed!!!", 15, 70 6 117 52, disable center
  18.   button "reset", 17, 97 58 65 20
  19.   box "", 18, 93 47 74 32
  20.   text "timestamp:", 20, 193 4 66 14, disable
  21.   radio "on", 19, 193 21 68 15
  22. }
  23. on 1:dialog:Stamps:init:0: {
  24.   did -c Stamps $iif(%tstamp,19,8)
  25. }
  26. on 1:DIALOG:Stamps:sclick:*:{
  27.   if ($did == 12) { green }
  28.   if ($did == 13) { red }
  29.   if ($did == 14) { blue }
  30.   if ($Did == 19) { timestamp on | timestamp -f hh:nn:ss | echo $active 4Time is on (resetted) !!! | set %tstamp on }
  31.   if ($did == 8) { timestamp off | echo $active 4Time is off !!! | unset %tstamp }
  32.   if ($did == 17) { unsetT }
  33. }  
  34. alias blue {
  35.   timestamp -f 10(11HH10:11nn10:11ss10)
  36.   set %tstamp on
  37.   echo $active 10Timestamp blue loadet: 10(11HH10:11nn10:11ss10)
  38. }
  39.  
  40. alias green {
  41.   timestamp -f 3(9HH3:9nn3:9ss3)
  42.   set %tstamp on
  43.   echo $active 9Timestamp green loadet: 3(9HH3:9nn3:9ss3)
  44. }
  45.  
  46. alias red {
  47.   timestamp -f 5(4HH5:4nn5:4ss5)
  48.   set %tstamp on
  49.   echo $active 4Timestamp red loadet: 5(4HH5:4nn5:4ss5)
  50. }  
  51.  
  52. alias unsetT {
  53.   timestamp -f hh:nn:ss
  54.   set %tstamp on
  55.   echo $active Timestamp reset hh:nn:ss
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement