Use message. I'm assuming your script contains a variable in which the target player's name is stored (i.e. .@playerName$), so you can include a message for them after the script has sent a gift - regardless of whether or not they are online (if they're online, they'll receive it).
Example:
Code:
message .@playerName$, "A GM has sent you a gift. Please relog to receive it.";