rendered paste bodyon *: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 $did(2)
timestamp -f $did(2)
echo -ta Timestamp saved.
dialog -x TMSMP
}
}
menu channel {
Timestamp Changer:/dialog -md TMSMP TMSMP
}