All pastes #708739 Raw Edit

Anonymous

public text v1 · immutable
#708739 ·published 2007-09-24 02:52 UTC
rendered paste body
on *:start:{ timestamp -f %t.stamp }
dialog TMSMP {
  title "Timestamp Changer By iPeer"
  size -1 -1 122 46
  option dbu
  text "Enter your timestamp here", 1, 1 1 66 8
  edit "", 2, 1 10 119 10
  button "&Preview", 3, 61 32 37 12
  button "S&ave + Close", 4, 24 32 37 12
}
on *:dialog:TMSMP:sclick:*:{
  if ($did == 3) {
    echo -ta Timestamp Preview -> $did(2)
  }
  if ($did == 4) {
    set %t.stamp
    timestamp -f $did(2)
    echo -ta Timestamp saved.
    dialog -x TMSMP
  }
}
menu channel {
  Timestamp Changer:/dialog -md TMSMP TMSMP
}