if my map has for example 3 areas, hospital, police and streets, how do I use ifs to have different results to a verb depending on the place I am in?
a bit like the following:
IF area_im_in=area/hospital
THEN do this with the verb 'work'
IF area_im_in=area/police
THEN do this other thing with the verb 'work'
ELSE do that with the verb 'work'
I've already learnt loads, but is beginning to get complicated for a rookie like me!
do this
else
do this
example:
if(usr.dead==1)
usr<<"You dead!"
del(usr)
else
usr<<"You alive"