Posts: 1272
Registered: 2-4-06
Location: Adelaide South Australia
Member Is Offline
Mood: Very happy
posted on 24-5-09 at 07:25
A Counter that uses Chain Commands
This script is a simple counter that uses chain commands
(this script was written by Dave61).
Wave("happy1.wav",1000)
endif
if chain(1) and never() then
text("0:07")
text("")
text("")
Wave("happy1.wav",1000)
endif
if chain(1) and never() then
text("0:06")
text("")
text("")
Wave("happy1.wav",1000)
endif
if chain(1) and never() then
text("0:05") text("")endif if ssnarea(10000,1) and never() then
text("You have 1:00 minute left")
Wave("happy1.wav",1000)
endif
if chain(30) and never() then
text("You have :30 seconds left")
Wave("happy1.wav",1000)
endif
if chain(20) and never() then
text("0:10")
text("")
text("")
Wave("happy1.wav",1000)
if chain(1) and never() then
text("0:09")
text("")
text("")
Wave("happy1.wav",1000)
endif
if chain(1) and never() then
text("0:08")
text("")
text("")
text("")
Wave("happy1.wav",1000)
endif
if chain(1) and never() then
text("0:04")
text("")
text("")
Wave("happy1.wav",1000)
endif
if chain(1) and never() then
text("0:03")
text("")
text("")
Wave("happy1.wav",1000)
endif
if chain(1) and never() then
text("0:02")
text("")
text("")
Wave("happy1.wav",1000)
endif
if chain(1) and never() then
text("0:01")
text("")
text("")
Wave("happy1.wav",1000)
endif
if chain(1) and never() then // player is dead
killSSN(10000)
text("You're dead")
endif