one time login script

hi! i need a hotspot profile script in which the user can only use the code once. thanks