generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: New Command System (Updated)

Previous Thread :: Next Thread 
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Apr 2013 05:02 AM
~New Commands Script Made By CntKillMe~

~~Information~~
There are and always will be no free models, outside scripts, or any non-custom thing.
The script will be 100 percent mine until credit is given to people who want to help
think of useful commands.

This script was created entirely from scratch, not 1 line of script was used.
(Need proof? Let's team view!)


~~Features~~
-1 table for all players. [Can be edited through the source.]
-User levels and banning. (See table structure.)
-Player record save in table for the server. [Can be disabled, banning won't apply if disabled.]
-Easy to read and edit script. (See script information.)
-Simple command structure. (See current commands.)
-Fast and reliable. (See reliability.)
-User level commands. (See current commands.)
-Ability to use a varitey of key words. (See key words.)
-Ability to immunize or disable commands for players. (See immunity.)


~~User Levels And Banning~~

~Table Structure~
Player Name: Name of the player.
User Level: Command level of the player; higher level = more commands.
Can Use Commands: If the player can use commands.
Banned Reason: Banned reason of the player.
Immune: When true, no commands except viewing commands can be used on you.


~User Levels~
0 = Banned - Player can not play the game.
1 = Player - Default, a new player.
2 = Game Master - Balance controller. [GM]
3 = Administrator - Server controller. [Admin]
4 = Owner - Game controller. [Developer]

~Immunity~
When true, the only commands that can be used with your name are: "/online" and "/list"
Because these commands will do absolutly nothing to you.
*If you are immune, you can use commands on yourself and other players.*

~List~
Names include [offline and online players]:
Owners: All owners OR
Admins: All admins OR
GMs: All GMs OR
Players: All players OR
Banned: All banned players


~~Script Information~~
Using custom "explode" function to seperate subs and custom "check" function
to check if it's text or command.

Exmaple - kill command:
if Command[1] == "kill" and Command[2] ~= nil then
local Players = GetPlayers(Command[2], Player, PlayerInfo[2])
--Does a loop through players and kills.
end

Command[1] is the command entered. Command[2] -> Command[32767] are the subs.


~~Reliability~~
Uses pcall on possible error areas like if a player left the game and it is looping through them.
The script itself can never break unless touched through studio mode or removed.


~~Key Words~~
(Tool Key Words: all OR DefaultText)

Selecting people only works on 2 conditions:
1)The person has a lower user level than you
2)The person is not immune

You can say /kill:keyword where keyword is:
All: Selects all players OR
Others: Selects other players OR
Me: Selects yourself OR
Owners: Selects owners OR
Admins: Selects administrators OR
GMs: Selects game masters OR
Players: Selects default players OR
GMPlus: Selects GMs and higher OR
AdminPlus: Selects admins and higher OR
OwnerPlus: Selects owners and higher OR
Guests: Selects all guests OR
DefaultText: Selects a player(s)

~~Current Commands (As Of 04/05/2013)~~

~Player Commands~
reset - Kills yourself - 0 subs.
exit - Kicks yourself - 0 subs.
online - Shows all or someone online - 0 subs OR 1 sub [DefaultText].
credits - Shows credits - 0 subs.
list - Shows a player(s) from a list (see above) - 1 sub [List Name].

~Game Master Commands~
heal - Heals a player(s) - 1 sub [Key Word].
kill - Kills a player(s) - 1 sub [Key Word].
jump - Makes a player(s) jump - 1 sub [Key Word].
sit - Makes a player(s) sit - 1 sub [Key Word].
visible - Makes a player(s) visible - 1 sub [Key Word].
invisible - Makes a player(s) invisible - 1 sub [Key Word].
damage - Gives damage to a player(s) - 2 subs [Key Word] [Amount].
health - Sets health of a player(s) - 2 subs [Key Word] [Amount].
maxhealth - Sets max health of a player(s) - 2 subs [Key Word] [Amount].
walkspeed - Sets walk speed of a player(s) - 2 subs [Key Word] [Amount].
message - Sends a message to a player(s) - 3 subs [Key Word] [Text] [Time].
notice - Sends a notice to a player(s) - 3 subs [Key Word] [Text] [Time].
teleport - Teleports a player(s) to a player - 2 subs [Key Word] [DefaultText].
forcefield - Adds a force field to a player(s) - 1 sub [Key Word].
unforcefield - Removes force fields from a player(s) - 1 sub [Key Word].

~Admin Commands~
enablecontrol - Allows a player(s) to use their character - 1 sub [Key Word].
disablecontrol - Allows a player(s) to use their character - 1 sub [Key Word].
givetool - Gives a tool(s) to a player(s) - 2 subs [Key Word] [Tool Key Word].
taketool - Takes a tool(s) from a player(s) - 2 subs [Key Word] [Tool Key Word].
stats - Changes a player(s) leader stats value - 3 subs [Key Word] [Stat Name] [Value].
ambient - Changes the ambient - 3 subs [Red] [Green] [Blue].
brightness - Changes the brightness - 1 sub [Amount].
timeofday - Changes the time of day - 1 sub [String] OR 3 sub [Hour] [Minute] [Second].
fogcolor - Changes the fog color - 3 sub [Red] [Green] [Blue].
fogstart - Changes fog start - 1 sub [Amount].
fogend - Changes fog end - 1 sub [Amount].

~Owner Commands~
kick - Kicks a player(s) - 1 sub [Key Word].
ban - Bans a player(s) - 1 sub [Key Word] OR 2 sub [Key Word] [Reason].
unban - Unbans a player(s) - 1 sub [Key Word].
shutdown - Shutdown the server - 0 subs.


*If you have any ideas for commands, please comment, you will get credit if I use it (Name in /credit and in script)*

*Please do not say: fire, explode, sparkles, hint, lock, god, shield, or loopkill
And try to say commands that can be used in almost any game*
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
05 Apr 2013 05:07 AM
Stop spamming this forum! People who post here knows way more than you, and we don't use random scripts from random people.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Apr 2013 05:15 AM
Like I said, this one is the final one for the next 7 hours through days.
And everything here is created by me alone, go cry because you can't script and you think other people can't. Unlike you, I don't care about flame, so have fun.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
05 Apr 2013 05:18 AM
I hope sorcus comes soon...


One does not get dumber than this.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Apr 2013 05:19 AM
No need to stalk me anymore. kthxbai
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
05 Apr 2013 05:23 AM
I don't stalk anyone. I've forumed here for long time.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Apr 2013 05:26 AM
I usually go to scripting helpers, I'm just adding this for group. Since ROBLOX does't have an edit thread, i have to make 100..
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
05 Apr 2013 05:27 AM
That's why there is Look What I Made forum.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Apr 2013 05:32 AM
But but, but, but--uhh...
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
05 Apr 2013 05:35 AM
Also you can reply to first post.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Apr 2013 05:36 AM
I meant it to shut you up... Not to continue.
Report Abuse
triston220 is not online. triston220
Joined: 08 Mar 2010
Total Posts: 1861
05 Apr 2013 05:45 AM
You don't need to make a new thread for each update you make but since your thread is related to scripting and isn't a help request it's permitted here.

I like the way you've added the ability to easily add custom commands, too.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Apr 2013 05:48 AM
I learned that from PHP <3
Explode function, I think it's in other languages, idk.
Report Abuse
triston220 is not online. triston220
Joined: 08 Mar 2010
Total Posts: 1861
05 Apr 2013 05:52 AM
PHP <3
Report Abuse
BAUER102 is online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
05 Apr 2013 06:35 AM
"You don't need to make a new thread for each update you make but since your thread is related to scripting and isn't a help request it's permitted here."

How this is 'admin' advanced?

If you want this forum to become a admin-commands--help-troll-forum, then you truly don't belong here.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
05 Apr 2013 06:42 AM
It is already troll forum, because of em C&G(actually they've been less than usually).
Report Abuse
itunes89 is not online. itunes89
Joined: 19 Jan 2011
Total Posts: 1957
05 Apr 2013 07:07 AM
This is why this forum needs to be invite only..
Report Abuse
iStone4S is not online. iStone4S
Joined: 07 May 2012
Total Posts: 416
05 Apr 2013 07:24 AM
@itunes LOL!
Report Abuse
BAUER102 is online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
05 Apr 2013 08:10 AM
It seriously should be either:

#1 - Heavily moderated

#2 - Invite only

#3 - Hidden
Report Abuse
triston220 is not online. triston220
Joined: 08 Mar 2010
Total Posts: 1861
05 Apr 2013 08:44 AM
"How this is 'admin' advanced?

If you want this forum to become a admin-commands--help-troll-forum, then you truly don't belong here."

>"This is the place for discussion about scripting. Anything about scripting that is not a help request or topic belongs here."

He's not asking for help so his thread can be here.

You have no right to tell people who belongs here.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
05 Apr 2013 08:52 AM
But that is not discussing! He is simply posting script info that he is making.. There are special forums, like this:

http://www.roblox.com/Forum/ShowForum.aspx?ForumID=44
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
05 Apr 2013 08:52 AM
"This script was created entirely from scratch, not 1 line of script was used."

wut
Report Abuse
triston220 is not online. triston220
Joined: 08 Mar 2010
Total Posts: 1861
05 Apr 2013 08:53 AM
^"Anything about scripting that is not a help request or topic belongs here."

And that forum is full of FM SB scripts.
Report Abuse
BAUER102 is online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
05 Apr 2013 08:55 AM
"He's not asking for help so his thread can be here."

> How is it discussing?

You have no right to tell people who belongs here.

> At least, I'm a regular here, unlike you
Report Abuse
triston220 is not online. triston220
Joined: 08 Mar 2010
Total Posts: 1861
05 Apr 2013 09:22 AM
^"Anything about scripting that is not a help request or topic belongs here."

And, yes, I am a regular. Not that it matters.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image