All pastes #436223 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-12 11:44 UTC
rendered paste body
dialog ColorOutline {
  title "Colour Text Outline Dialog v1.1 By UnbOrN"
  size -1 -1 222 12
  option dbu
  button "Red", 1, 0 0 37 12
  button "Blue", 2, 37 0 37 12
  button "Green", 3, 74 0 37 12
  button "Gray", 4, 111 0 37 12
  button "Done", 5, 185 0 37 12, ok
  button "Pink", 6, 148 0 37 12
}
#blueinput off
on *:INPUT:*:{ if ($left($1,1) != / && $left($1,1) != @ && $left($1,1) != !) { msg $active 12»11] $1- 11[12« | halt } }
#blueinput end
#redinput on
on *:INPUT:*:{ if ($left($1,1) != / && $left($1,1) != @ && $left($1,1) != !) { msg $active 04»07] $1- 07[04« | halt } }
#redinput end
#greeninput off
on *:INPUT:*:{ if ($left($1,1) != / && $left($1,1) != @ && $left($1,1) != !) { msg $active 03»09] $1- 09[03« | halt } }
#greeninput end
#grayinput off
on *:INPUT:*:{ if ($left($1,1) != / && $left($1,1) != @ && $left($1,1) != !) { msg $active 14»15] $1- 15[14« | halt } }
#grayinput end
#pinkinput off
on *:INPUT:*:{ if ($left($1,1) != / && $left($1,1) != @ && $left($1,1) != !) { msg $active 06»13] $1- 13[06« | halt } }
#pinkinput end
menu * {
  Input Colors:/dialog -m ColorOutline ColorOutline 
}
on *:DIALOG:ColorOutline:sclick:1:{ .disable #greeninput | .enable #redinput | .disable #blueinput | .disable #grayinput | .disable #pinkinput | .notice $me Color Outline Settings Changed to: 04Red }
on *:DIALOG:ColorOutline:sclick:2:{ .disable #greeninput | .disable #redinput | .enable #blueinput | .disable #grayinput | .disable #pinkinput | .notice $me Color Outline Settings Changed to: 12Blue }
on *:DIALOG:ColorOutline:sclick:3:{ .enable #greeninput | .disable #redinput | .disable #blueinput | .disable #grayinput | .disable #pinkinput | .notice $me Color Outline Settings Changed to: 3Green }
on *:DIALOG:ColorOutline:sclick:4:{ .disable #greeninput | .disable #redinput | .disable #blueinput | .enable #grayinput | .disable #pinkinput | .notice $me Color Outline Settings Changed to: 14Gray }
on *:DIALOG:ColorOutline:sclick:5:{ .disable #greeninput | .disable #redinput | .disable #blueinput | .disable #grayinput | .disable #pinkinput | .notice $me Color Outline Settings Changed to: None }
on *:DIALOG:ColorOutline:sclick:6:{ .disable #greeninput | .disable #redinput | .disable #blueinput | .disable #grayinput | .enable #pinkinput | .notice $me Color Outline Settings Changed to: 13Pink }