An effective anticonvulsant prepared following a host-guest strategy that uses hydroxypropyl-beta-cyclodextrin and benzaldehyde semicarbazone.