Hi
I need your help people. I want to put first one IF the input is not filled and the OK button is pressed, return the following input "you must fill in the field". I put it like this:
var %x = $$input(Enter an exclude in nick!ident@host format!,evu,Add)
if (%x == $null) && (%x != $false) { return $input(You need to fill in the field!,io,Info) }
elseif (*!*@* !iswm %x) { errdialog You have to enter an exclude in nick!ident@host format! }
elseif ($hget(pexclude,%x)) { errdialog You already added this exclude! }
But I do not want that when the Cancel button is pressed the input appears and I am not getting it.
Is there a way to solve it?