ZirixZero, you code has a few things to be aware of:
Your !gift trigger will process if no $2 is specified as to whom the sender is.
The command /say cannnot be used in an event remotely. Use /msg $chan instead, or else you'll get an error saying "you're not on a channel."
Finally, this will make the best of your example:
on *:text:!gift*:#:/msg $chan Here's a gift from $iif($2,$2,$me) $+ . Enjoy :)
Though a trigger protection is also suggested so you can be best protected if one attempts to flood you.
When you offer a suggestion, make sure it's well thought out before submitting it.