action table() //assumes ASC letter is stored in skill 5 of box entities
{
VECTOR HotSpot1, HotSpot2, HotSpot3;
vec_for_vertex(HotSpot1, my, 25);
vec_for_vertex(HotSpot2, my, 26);
vec_for_vertex(HotSpot3, my, 27);
while(1)
{
if(c_scan(HotSpot1, nullvector, vector(360,0,100), IGNORE_ME|IGNORE_YOU|SCAN_ENTS))
if(you.skill5=69) //if first letter is "E"
if(c_scan(HotSpot2, nullvector, vector(360,0,100), IGNORE_ME|IGNORE_YOU|SCAN_ENTS))
if(you.skill5=86) //and second letter is "V"
if(c_scan(HotSpot3, nullvector, vector(360,0,100), IGNORE_ME|IGNORE_YOU|SCAN_ENTS))
if(you.skill5=65) //and third letter is "A"
{ Do_Boxes_Right(); break; }
wait(1);
}
}