You bring food to the party,the teachers will take it away.(用if连成主从复合句)

问题描述:

You bring food to the party,the teachers will take it away.(用if连成主从复合句)
我忘记了if的条件状语从句的用法,请顺便赐教.

If you bring food to the party,the teachers will take it away.
if 引导条件状语从句,“如果”
if 还可以引导宾语从句,“是否”
如:He asked me if I would like to lend him a hand.