dialog cfModifyaDialogTable { title "Modify Custom Filter" size -1 -1 248 208 option pixels box "Modify Custom Filter", 1, 8 0 233 136 edit "", 5, 104 32 115 20 text "Nick(s)", 2, 32 32 56 16, right edit "", 3, 104 64 115 20 text "Expression", 4, 32 64 56 16, right edit "", 6, 104 96 115 20 text "Test", 7, 32 96 56 16, right button "Modify", 8, 12 160 64 25, ok default button "Test", 9, 92 160 64 25 button "Cancel", 10, 172 160 65 25, cancel } on *:dialog:cfModifyaDialogTable:sclick:9: { echo -a Hi ;if ($did(3) iswm $did(6)) { ;echo -a was ;noop $input(The text was successfully matched, o) ;} ;else { ;echo -a wasnt ;noop $input(The text wasn't successfully matched, o) ;} } alias test { dialog -mro cfModifyaDialogTable cfModifyaDialogTable }