Author Topic: Basic command script...  (Read 2887 times)

functionhelloworld\c2
{
\c2helloworld
}

dont know what to do from there someone send me the rest of any basic command script
and then thx.

What
Wrong section
Horrible attempt at coding
No description of what trying to do

What
Wrong section
Horrible attempt at coding
No description of what trying to do
For once I agree. What dafuq?

 function servercmdhelloworld\c2 (%client)

{
 \c2function servercmdhelloworld
};

{
$$helloworld::default=0; ("Hello World");

$$helloworld::default=1; ("Hello World");
}

Would this work as a script?


And im asking to send me what would work of that...

And im asking to send me what would work of that...
we don't even know what you WANT, that's how bad your code is

we don't even know what you WANT, that's how bad your code is
This. And you don't even loving explain anything.

What the hell do you want this to do.
If we don't know what you want it to do, then we can't do anything.

What the hell do you want this to do.
If we don't know what you want it to do, then we can't do anything.
ib4otherrandomcrappyscript.

But seriously. Explain your stuff so people can help you.

I think he's trying to:
functionhelloworld\c2
{
\c2helloworld
}
Code: [Select]
function helloworld() {
    echo("Hello, World!");
}
function servercmdhelloworld\c2 (%client)

{
 \c2function servercmdhelloworld
};

{
$$helloworld::default=0; ("Hello World");

$$helloworld::default=1; ("Hello World");
}
Code: [Select]
function servercmdHelloWorld() {
    messageAll('',"\c2Hello, World");
}

I think he's trying to:
Code: [Select]
function helloworld() {
    echo("Hello, World!");
}
Code: [Select]
function servercmdHelloWorld() {
    messageAll('',"\c2Hello, World");
}


I hate when people place their brackets like that. Also, please stop being a script kiddie, spamming servers with your joining and leaving stuff, thanks.

I hate when people place their brackets like that. Also, please stop being a script kiddie, spamming servers with your joining and leaving stuff, thanks.
In some languages that's considered proper syntaxical format.

In some languages that's considered proper syntaxical format.
I think some of the TS devs actually do it that way in TS, but I personally think it looks bad.

In some languages that's considered proper syntaxical format.
Hm, like which?

I hate when people place their brackets like that.
It's just a style, I only hate it when people recommend it to coding newbies, because it makes it harder to see if they don't indent properly, and when think they're saving valuable space by doing it



I really don't understand how you guys couldn't figure out what he wanted. To me, just seeing "helloworld" in the function name gave it away
« Last Edit: September 09, 2012, 08:06:06 AM by Headcrab Zombie »