you have to learn basic scripting methods. fpsc doesnt like to get actions in the first line sometimes, especially without a state.
when you wanna do loops, you also have to work with states to loop back when a state is checked.
;Artificial Intelligence Script
;Header
desc = Medzone
;Triggers
:state=0:state=1
:state=1,plrdistwithin=70:plraddhealth=1,state=0
;End of Script
something like this. look into your scriptbank-folder and search there for a zonescript called "plrhealthinzone" or something like that. this does what you try with the second script.
and by the way: dont know what you wanna do with the first script, but keypressed= has to be followed by a number instead of what letter it is. look into your docs-folder and read the official community guide, you can learn a lot out of the scripts in there. in addition look into the first stickie in the scriptboard: ched´s complete syntax script list (
http://forum.thegamecreators.com/?m=forum_view&t=180924&b=23), this is your PONDS-vocabulary for fpsc-scripting
and second addition: the forum-search-field down each site here is your best friend. there are not that much scripts out there that are not written yet, even only to see how others do things.