Little Timestamp Change 0.1 Beta

By blue187 on Dec 18, 2011

Screenshots

After a lil help, now it works fine.

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
}

Comments

Sign in to comment.
blue187   -  Dec 18, 2011

Oh yes i´ll edit it ^^ =)

 Respond  
Kiddo96   -  Dec 18, 2011

I made a typo here

alias blue {
  timestamp -f 10(11HH10:11nn10:11ss10)
  set %tsamp on
  echo $active 10Timestamp blue loadet: 10(11HH10:11nn10:11ss10)
}

Should be %tstamp.

 Respond  
Kiddo96   -  Dec 18, 2011

Very velcome :-)

 Respond  
blue187   -  Dec 18, 2011

Thank you =))

 Respond  
Kiddo96   -  Dec 18, 2011

Here you go (radio button request)

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 | echo $active 4Time is on !!! | 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 %tsamp 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
  echo $active Timestamp reset hh:nn:ss
} 
 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.