function onGrab(subitem) --if文は if(条件式) then と書く if subitem == "bell" then print("linlinlin") else print("bellではありません") end end