any one got a dialog tutorial?

only need simple stuff. so like if i use a checkbox

check "flood protection", 15, 4 27 50 8, tab 13

then if i check it next time when i loa dit will be checked.

and for example as it says above 'flood protection'

on my flood script bit if that check box is checked it will do it. otherwise if it is not it will ignore it