home *** CD-ROM | disk | FTP | other *** search
- symbols
- message startup
- message entered
- message crossed
-
- sector sector1 linkid=1
- sector sector2 linkid=2
- sector sector5 linkid=5
- sector sector20 linkid=20
-
- end
-
- # ========================================================================================
-
- code
- startup:
- ca1=0;
- ca2=0;
- ca5=0;
- ca20=0;
- return;
-
- entered:
- if ( (getsenderid()==1)&&(ca1==0) ) {
- print("playing line 1");
- ca1=1;
- dwPlayCammySpeech(16001, "m2ca001.wav", 30, 2);
- }
- if ( (getsenderid()==2)&&(ca2==0) ) {
- print("playing line 2");
- ca2=1;
- dwPlayCammySpeech(16002, "m2ca002.wav", 30, 2);
- }
- if ( (getsenderid()==5)&&(ca5==0) ) {
- print("playing line 5");
- ca5=1;
- dwPlayCammySpeech(16005, "m2ca005.wav", 30, 2);
- }
- if ( (getsenderid()==20)&&(ca20==0) ) {
- print("playing line 20");
- ca20=1;
- dwPlayCammySpeech(16020, "m2ca020.wav", 30, 2);
- }
- return;
-
-
- end
-
-