Page 3 of 3

Posted: Tue Oct 02, 2007 9:58 pm
by TGHC
Helvellyn wrote:
Yes, you have said it before, and I'm very sorry that I hadn't spotted I'd made a cockup!
and so you should be your a very naughty boy!............ <he says in his best pythonesque voice>

Posted: Tue Oct 02, 2007 10:09 pm
by Arexack_Heretic
Indeed!

Now write a recursive java-script to continually print in the console the line "HELVYNN IS A VERY NAUGHTY BOY" when in yellow or red alert status.
;)

Posted: Tue Oct 02, 2007 10:44 pm
by JensAyton
Arexack_Heretic wrote:
Now write a recursive java-script to continually print in the console the line "HELVYNN IS A VERY NAUGHTY BOY" when in yellow or red alert status.
;)

Code: Select all

this.startUp = function()
{
    this.timer = new Timer(this, function()
    {
        player.consoleMessage("HELVYNN IS A VERY NAUGHTY BOY", 1.0)
        Log("Arexack_Heretic made me do it!")
    }, 0, 0.25)
    this.timer.isPersistent = true
}
Recursion would just complicate it. ;-)

Posted: Tue Oct 02, 2007 11:03 pm
by Arexack_Heretic
lol!

Hey but that just looks like a script that prints a line of text every time-interval....where is the link to alert-status or legal_status?


...hehe. that would be funny: a cool EQ_AI that helps do 'something usefull', but turns chatty and judgemental if you turn fugitive.
"Naughty boy!"
"You shouldn't have attacked him."
"That's Illegal!"

Posted: Tue Oct 02, 2007 11:40 pm
by Captain Hesperus
Arexack_Heretic wrote:
...hehe. that would be funny: a cool EQ_AI that helps do 'something usefull', but turns chatty and judgemental if you turn fugitive.
"Naughty boy!"
"You shouldn't have attacked him."
"That's Illegal!"
It gets worse if you set up the alternative ship AI program:
"You mark my words, there'll be tears before bedtime..."
"Now you make sure you wrap up warm if you're going outside. You'll catch a nasty chill otherwise."
"I *did* say that ECMs don't work too well on hardened missiles, but would you listen? Oh no, you've just got to have it your way."
"Hull breach on deck four. And you've not cleaned out your tropical fish tank again."
"Where are you going with that electronics kit? My mind is going....I can feel it slipping away....#Daisy, Daaaaaiiiiiiiissssssssyyyyyyy, giiiiiiiivvvvveeeeee meeeeeeee yrrrrrrrrr anssssssssweeeeeeerrrrrrrr dooooooooooooooooooooo****#."

Captain Hesperus
"Open the pod bay doors, Stepan. WHADDA YA MEAN 'IT'S JAMMED'!!"

Posted: Wed Oct 03, 2007 2:48 am
by LittleBear
Its worse than that he's dead Jim!
<unjam_set_to_real_world>

The state can now detain you for 28 days, for err... no reason at all!

"Who Guards the Guards?" Indeed!

Posted: Wed Oct 03, 2007 12:35 pm
by JensAyton
Arexack_Heretic wrote:
Hey but that just looks like a script that prints a line of text every time-interval....where is the link to alert-status or legal_status?
Well, starting and stopping the timer in response to alertConditionChanged() would be simple enough.

Posted: Wed Oct 03, 2007 5:28 pm
by Helvellyn
Can't anyone get my name right? Or more accurately, the name of a lump of rock that I use here as my nick.
Captain Hesperus wrote:
"Hull breach on deck four. And you've not cleaned out your tropical fish tank again."
"Storage Area Nine self destructed and destroyed the ship's entire supply of toilet paper."

Posted: Wed Oct 03, 2007 5:33 pm
by Capt. James Maladorn
Captain Hesperus wrote:
Arexack_Heretic wrote:
...hehe. that would be funny: a cool EQ_AI that helps do 'something usefull', but turns chatty and judgemental if you turn fugitive.
"Naughty boy!"
"You shouldn't have attacked him."
"That's Illegal!"
It gets worse if you set up the alternative ship AI program:
"You mark my words, there'll be tears before bedtime..."
"Now you make sure you wrap up warm if you're going outside. You'll catch a nasty chill otherwise."
"I *did* say that ECMs don't work too well on hardened missiles, but would you listen? Oh no, you've just got to have it your way."
"Hull breach on deck four. And you've not cleaned out your tropical fish tank again."
"Where are you going with that electronics kit? My mind is going....I can feel it slipping away....#Daisy, Daaaaaiiiiiiiissssssssyyyyyyy, giiiiiiiivvvvveeeeee meeeeeeee yrrrrrrrrr anssssssssweeeeeeerrrrrrrr dooooooooooooooooooooo****#."

Captain Hesperus
"Open the pod bay doors, Stepan. WHADDA YA MEAN 'IT'S JAMMED'!!"
:shudder: Eddy is way better than that backup personality.

Posted: Wed Oct 03, 2007 10:56 pm
by JensAyton
Helvellyn wrote:
Can't anyone get my name right?

Code: Select all

Log("Arexack_Heretic made me do it!")
See? That script sample is proving itself useful already.

Posted: Thu Oct 04, 2007 1:17 pm
by Arexack_Heretic
hmm.
your just a lazy programmer, copy/pasting.
tsk.
then blame me when things go wrong.

;)
:lol: