Advertisement
Hodge-1053

ACS Switch Statement Script

Aug 27th, 2015
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "zcommon.acs"
  2.  
  3. Int Jamie1;
  4.  
  5. script 1 (void)
  6. {
  7.   Jamie1++;
  8.  
  9.   switch(Jamie1)
  10.  
  11.   {
  12.     Case 1:
  13.     print(s:"3 more to go");
  14.     break;
  15.    
  16.     Case 2:
  17.     print(s:"2 more to go");
  18.     break;
  19.    
  20.     Case 3:
  21.     print(s:"1 more to go");
  22.     break;
  23.    
  24.     Case 4:
  25.     print(s:"Sequence completed");
  26.     break;
  27.   }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement