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
 

Chat command help

Previous Thread :: Next Thread 
bluemantrolls101 is not online. bluemantrolls101
Joined: 31 Oct 2013
Total Posts: 322
11 Aug 2015 08:54 PM
How do I do it so if the player says /kick then the players name it kicks that players. I am starting to learn how to make chat commands.

Please help.
Report Abuse
Robbyiscrazy is not online. Robbyiscrazy
Joined: 17 Feb 2014
Total Posts: 723
11 Aug 2015 08:55 PM
Well start with an admin list
Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
11 Aug 2015 08:55 PM
If you just need to add one command, use the Player.Chatted event to get a chatted message. If the first character is "/" then check whatever is after it. If what is after it is "kick" then find what is after the preceding space(presumably a player's name) and find the player with that name, and then call player:Kick(message or "This game has shut down") on them.
Report Abuse
bosswalrus is not online. bosswalrus
Joined: 04 Jan 2013
Total Posts: 5430
11 Aug 2015 08:56 PM
What do you currently know?
Well not really what you currently know that doesn't mean anything.
What do you currently know and have practiced enough to use it efficiently?
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