Quote:
Originally Posted by cbkbud
I dislike the GUI builder; I generally don't allow it on servers I work on, it's much cleaner if you script them yourself, and the code matches your standards (perhaps if some options such as braces on new lines, spaces after parenthesis ( x ), etc?)
I agree, sometimes I've needed to switch back and forth between scripts and it is more convenient. But still, I would probably stick with tabs.
|
Braces on new lines is the devil.
Brace placement is always going to be one of those hotly debated things though
Personally I think masses of whitespace is horrid to look at.
PHP Code:
function onCreated()
{
player.chat = "This looks horrible";
if (you.really.think.this.is.nice == true)
{
player.chat = "You ought to be shot.";
}
else
{
player.chat = "Look at that else. Makes me feel sick.";
}
}
function onCreated()
{
player.chat = "I actually saw someone doing this the other day. You know who you are. *slap*";
}
function onCreated() {
player.chat = "Ah much clearer.";
if (you.are.clever == true) {
player.chat = "Then you probably prefer this";
} else {
player.chat = "That is a sexy else.";
}
}
You know it makes sense.