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: Message to string.lower

Previous Thread :: Next Thread 
naintor09 is not online. naintor09
Joined: 07 Sep 2011
Total Posts: 59
14 Sep 2017 05:36 PM
I need help to make a message lowercase.

game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(msg)
if msg == "hello y'all" then

end
end
end

Let's say that's the script, and "msg" = "Hello Y'all", how would I make "msg" lowercase?


B
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
14 Sep 2017 05:37 PM
if msg:lower() == "hello y'all" then
Report Abuse
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
14 Sep 2017 05:38 PM
http://wiki.roblox.com/index.php?title=Global_namespace/String_manipulation&redirect=no#string.lower
Report Abuse
naintor09 is not online. naintor09
Joined: 07 Sep 2011
Total Posts: 59
14 Sep 2017 05:42 PM
Thanks a lot, I feel stupid by not finding that out by myself. I was thinking to much about "print(string.lower(CAPS))" too much that I forgot ":lower()" was a function.


My excuse.


B
Report Abuse
naintor09 is not online. naintor09
Joined: 07 Sep 2011
Total Posts: 59
14 Sep 2017 05:44 PM
Not good at English I guess. I wish there was an edit button.


B
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