like the name siad

Check your .script. It has line setstate (targetname) (stage). It says it can’t find targetname, so check for the missing targetnames of entities.
Edit there should be a entity with the same targetname as in your script while. Now there isn’t and that’s why this error comes.
Simply said, you try to set the state of an entity (setstate [name] invisible for example) and the [name] part does not exist. There is no entity in the map with targetname “name”.
You probably made a typo in the script 
alliedconstruct_n
{
spawn
{
wait 50
trigger self setup
constructible_class 3 // 2=Satchel 3=Dyna
}
trigger setup
{
setstate alliedconstruct_n_materials default // Crate Models
setstate alliedconstruct_n_clip default // Clip brushes
setstate alliedconstruct_n_flag default
}
built final
{
setstate alliedconstruct_n_materials invisible // Crate Models
setstate alliedconstruct_n_clip invisible // Clip brushes
setstate alliedconstruct_n_flag invisible
wm_announce ""
}
decayed final
{
trigger self setup
}
death
{
trigger self setup
wm_announce ""
}
}
well i dont know what realy ,thats what im testing on right now.
Can you confirm that there are entities with the following targetname:
alliedconstruct_n_materials
alliedconstruct_n_clip
alliedconstruct_n_flag
?
o wait,so you are telling me that the targetname i set in the entities window must be the one in the line for setstate?