Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Cards cannot be added from either player's Main Deck to the hand, except by drawing them. * The above text is unofficial and describes the card's functionality in the OCG.
--手違い
--Mistake
local s,id=GetID()
function s.initial_effect(c)
	--Activate
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_ACTIVATE)
	e1:SetCode(EVENT_FREE_CHAIN)
	c:RegisterEffect(e1)
	--Prevent search
	local e2=Effect.CreateEffect(c)
	e2:SetType(EFFECT_TYPE_FIELD)
	e2:SetCode(EFFECT_CANNOT_TO_HAND)
	e2:SetRange(LOCATION_SZONE)
	e2:SetTargetRange(LOCATION_DECK,LOCATION_DECK)
	c:RegisterEffect(e2)
end