Author Topic: Code fail  (Read 2196 times)

My brother tryed to code, and said:
Quote from: Ryan Smith
Fix Dis
And i said sure...
Tell me, what isn't wrong with this:
Code: [Select]
//====================================================
//This is funny =3        |
//Can you believe a billion year old wrote this!?                                     |
//Author: Brian Smith (BRO!!!)        |
//Title: Lol command        |
//Use: Annoying to admins!        |
//====================================================
package("LOL");
}
}
clientCmdLOL("%client").findclientbyname("%client");
}
else;
}
}
findclientbyname(%client).client.centerprint("\c6The Client \c3'%client',\c6 Is not found.");
}
}
}
function LOL(%client)
}
}
serverCmdLOL(%client).player.instantRespawn("20000");
}
}
activatePackage("LOL");
}
}
}
}
findclientbyname(%client).player.findclient("client,' ',isadmin'true',issuperadmin'true',ishost'true',isguest'false");
}
else;
}
findclientbyname(%client).client.centerPrintClient("\c6Sorry, Guest, Your not aloud to use this function/cmd. Go away. Now!");
package Crag.Boar("%clnt,%a,%b,%admin");
}
}
}
findclientbyname("%admin").client.centerPrintClient("Somebody is using the lol command, '%clnt', is using it, i suggest the /banid command.");
}
}
serverCmdNoRawr(Brian).client.centerPrintClient("Somebodys Rawring on your server |_|, have fun using commands!");
}
}
}
}
}
findclientbyname("Brian).player.addVelocity = "10 10 10";
}
serverCmdHelp(%clnt).client.centerPrintAll("\c3How to use /banid/c6: Well, you do /banid id time reason");
activatePackage("Crag.Boar");
}
Hazzah.

That first line already beat all my coding skills.

Including the fact you probably don't know how to code.

What isn't wrong with the code?

was it scripted as C#?

Well i guess hes somewhat on the right track

Including the fact you probably don't know how to code.
Way to kill the joke.

All of the brackets are backwards, and its just... What did he script this in? It barely looks like torque.

The only thing that IS right is the comments at the top.

Whoever wrote that is handicapped... There's not a single opening ( { ) and the syntax on every single line is seriously messed up.

Whoever wrote that is handicapped... There's not a single opening ( { ) and the syntax on every single line is seriously messed up.
Which is why I am asking what language it's written in.

Even I can write something better then that. That's gotta burn.

what is this stuff, also if this is not a joke and he really is 'trying' to make a code to annoy admins tell him to gtfo


was it scripted as C#?

isn't that right?

The first line isn't even right  :cookieMonster:

The first line isn't even right  :cookieMonster:
It's still better that me. :c