You can atleast check \"if (o isincs $usermode) {\"
To see if ur an oper or not.
Then, use \"on :dialog:dname:edit:: {\" and use -e/b switches, depening on if the user typed anything in the edit boxes, or not. If they typed a user to kill, the kill button it enabled, else disabled.
The dialog can/will return errors if u try to open it twice, use $iif to solve it easiely.