added /define <d> <r> command, fixed empty string submitting