Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement