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 » Scripting Helpers
Home Search
 

Re: Name Detection PLEASE HELP

Previous Thread :: Next Thread 
Zeloi is not online. Zeloi
Joined: 27 Sep 2010
Total Posts: 1143
22 May 2014 08:57 PM
This is Name Detection.

I want to see if there's a way to find Children if they have certain letters in order on them.

So I can detect something by MSG and it really is called MSG784.

So basically I want to detect certain Children if they have certain letters in them in order.
Report Abuse
Zeloi is not online. Zeloi
Joined: 27 Sep 2010
Total Posts: 1143
22 May 2014 09:01 PM
Bump.
Report Abuse
JimmyChance is not online. JimmyChance
Joined: 01 Nov 2009
Total Posts: 3681
22 May 2014 09:05 PM
string.match

or

string.find

str = "I want Mah Cookies!"

str:find("Mah")
Report Abuse
Spectrabox is not online. Spectrabox
Joined: 29 Aug 2008
Total Posts: 6888
22 May 2014 09:05 PM
Hmm, for anywhere in the string I am not sure but for a certain place, like the first thre letters, you can do:
if string.sub(Player.Name,1,3) == "MSG" then

Report Abuse
Spectrabox is not online. Spectrabox
Joined: 29 Aug 2008
Total Posts: 6888
22 May 2014 09:06 PM
Oh nevermind, listen to Jimmy.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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