Language Operation Flashpoint Scripting
Date: | 04/20/05 |
Author: | Unknown |
URL: | n/a |
Comments: | 1 |
Info: | n/a |
Score: | ![]() |
; beer.sqs ; ; by Jussi Tawaststjerna ; fd@finnishplatoon.org ; ; for Operation Flashpoint scripting language ; counter = 99; unit = "bottles"; #loop ? counter == 1: goto "end"; hint format ["%1 %2 of beer on the wall",counter,unit]; ~2 ? (counter - 1) == 1: unit = "bottle"; hint format ["Take one down and pass it around, you got %1 %2 of beer on the wall.",(counter - 1),unit]; counter = counter - 1; ~3 goto "loop"; #end hint "Only one bottle of beer on the wall"; ~2 hint "Take one down and pass it around, and you're out of beer. Damn." exit;
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments