Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Give a computer a personality (Well, sort of...)

Author
Message
Robert The Robot
19
Years of Service
User Offline
Joined: 8th Jan 2007
Location: Fireball XL5
Posted: 2nd Aug 2007 13:11
Here's a bit of code I put together that will make your computer replicate the cheerful personality of Marvin, the Paranoid Android from 'The Hitchhikers Guide to the Galaxy'.

Just run the file "Marvin - program.dba" to call the separate function file and have a message from your computer displayed on screen. (It's the same type of thing as the hidden commands in DBC that output random Monty Python quotes!)

On our way 'ome, on our way 'ome...
Libervurto
20
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 2nd Aug 2007 14:44
what hidden commands?

Your signature has been erased by a mod because it was rubbish.
Robert The Robot
19
Years of Service
User Offline
Joined: 8th Jan 2007
Location: Fireball XL5
Posted: 2nd Aug 2007 22:04 Edited at: 2nd Aug 2007 22:05
There's a post on the forum listing all DBC's hidden commands:

http://forum.thegamecreators.com/?m=forum_view&t=54767&b=10

Some are quite useful, but the ones I was referring to were





and



They are rather funny...

On our way 'ome, on our way 'ome...
Libervurto
20
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 4th Aug 2007 17:45
Thanks, some of these are very useful!

Your signature has been erased by a mod because it was rubbish.
Robert The Robot
19
Years of Service
User Offline
Joined: 8th Jan 2007
Location: Fireball XL5
Posted: 5th Aug 2007 18:15 Edited at: 5th Aug 2007 18:18
Yes, they are rather. I particularly like 'Printc' and 'Rotate image'.

Anyway, I don't know if anyone enjoyed 'Marvin' (please let me know either way), but here's another personality I've created. Captain Jack Sparrow, from Pirates of the Caribbean. Just run the file "Captain Jack Sparrow - program.dba"

Oh, and when you run it, if you call the function "Jack_Sparrow" instead of "Captain_Jack_Sparrow" by mistake, the program will retort...

On our way 'ome, on our way 'ome...
Libervurto
20
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 5th Aug 2007 18:53
can you put the code in a box please.

Your signature has been erased by a mod because it was rubbish.
Robert The Robot
19
Years of Service
User Offline
Joined: 8th Jan 2007
Location: Fireball XL5
Posted: 5th Aug 2007 19:11
Ok, here's the full code, function call and function all in one. (Try not to read the function until after you've run it a few times though, or you'll spoil the surprise...)



Enjoy!

On our way 'ome, on our way 'ome...

Login to post a reply

Server time is: 2026-07-05 22:39:03
Your offset time is: 2026-07-05 22:39:03