Hello im looking to store info into a hash file and getting it how is it done?

for example

if i wanted my script to be something like

Code:
on *:TEXT:*:#: {
if ($1 == !News) && ($2 == Recent) {
msg $chan read hash table right here if multiple lines in hash file is also  i want to know to get them
}
}


thank you in advance


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }