x ~= "" and x ~= nil
myedit = guiCreateEdit(10, 186, 380, 29, "", false, factionwindow)
if guiGetText(myedit) then