Smart pants and skirts