Page 1 of 1

SCN code?

Posted: Fri Jun 24, 2005 2:16 pm
by Flynn
Firstly, this is an amazing project. I've got this, the UBCD4Win, and Winternals, and I gotta say, this free project gets more use than the uber-costly tech guy software. Good show.

And that brings me to my next point. I'm building a multi-disk. Going to put UBCD and UBCD4Win on one disk, with some win98 floppies, that kinda thing for the guys at the office here, and prolly a few of my techie friends/classmates. I was wanting to do something kinda fun with it.

In the main scn and custom scn, I want to add a random text line in the blank line under your sites URL.

something like:

Code: Select all

srand((double)microtime()*1000000);
int x = rand(0,50);
if (x == 1); ping " quote 1"
and so on. Granted this is PHP ( I was gonna put a C++ example in, but this was shorter ) So I was wondering if this would work, because it's only printing line X then the line count is still going to be the correct number of output print lines.

Anyway, I have coding background, but it's been a while, so I was wondering if I could get a little syntax help?

Thanks all :D

SCN code?

Posted: Fri Jun 24, 2005 2:38 pm
by bldrdash
What ever functions are available are provided by CDShell so
check out the documentation; start with this page and work
through commands, functions, etc: http://www.cdshell.org/doc/scripting.html
I'm sure CDShell does not provide some of the functions you're looking
for but you can always modify the CDShell code (in assembly).

-- Charles