Thread: Caps on second letter.

Results 1 to 9 of 9
  1. #1 Caps on second letter. 
    Sam
    Sam is offline
    Registered Member

    Join Date
    Sep 2012
    Age
    24
    Posts
    2,905
    Thanks given
    808
    Thanks received
    834
    Rep Power
    5000
    How would i fix this?

    It only happens in yell..


    Reply With Quote  
     

  2. #2  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,476
    Thanks given
    685
    Thanks received
    895
    Rep Power
    477
    c.playerName.toUpperCase();

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  3. #3  
    Sam
    Sam is offline
    Registered Member

    Join Date
    Sep 2012
    Age
    24
    Posts
    2,905
    Thanks given
    808
    Thanks received
    834
    Rep Power
    5000
    were would i put that in here?
    Code:
    if (c.playerName.equalsIgnoreCase("sam")) {
    c2.sendMessage("[@[email protected]@[email protected]] " + Misc.optimizeText(c.playerName) +": "
    + Misc.optimizeText(playerCommand.substring(5)) +"");

    Reply With Quote  
     

  4. #4  
    Cheeeeeese *-*

    CoordinatesRS's Avatar
    Join Date
    Feb 2012
    Age
    23
    Posts
    281
    Thanks given
    31
    Thanks received
    106
    Rep Power
    165
    Code:
    if (c.playerName.equalsIgnoreCase("sam")) {
    c2.sendMessage("[@[email protected]@[email protected]] " + Misc.optimizeText(c.playerName.toUpperCase()) +": "
    + Misc.optimizeText(playerCommand.substring(5)) +"");
    osu! name: [Only registered and activated users can see links. ]

    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Sep 2011
    Age
    22
    Posts
    807
    Thanks given
    511
    Thanks received
    158
    Rep Power
    0
    Quote Originally Posted by 'Sam View Post
    were would i put that in here?
    Code:
    if (c.playerName.equalsIgnoreCase("sam")) {
    c2.sendMessage("[@[email protected]@[email protected]] " + Misc.optimizeText(c.playerName) +": "
    + Misc.optimizeText(playerCommand.substring(5)) +"");
    It's probably your optimizeText method, anyway you could replace that with this:

    Code:
    if (c.playerName.equalsIgnoreCase("sam")) {
    c2.sendMessage("[@[email protected]@[email protected]] " + c.playerName.toUpperCase() +": "
    Reply With Quote  
     

  6. #6  
    Sam
    Sam is offline
    Registered Member

    Join Date
    Sep 2012
    Age
    24
    Posts
    2,905
    Thanks given
    808
    Thanks received
    834
    Rep Power
    5000
    Quote Originally Posted by CoordinatesRS View Post
    Code:
    if (c.playerName.equalsIgnoreCase("sam")) {
    c2.sendMessage("[@[email protected]@[email protected]] " + Misc.optimizeText(c.playerName.toUpperCase()) +": "
    + Misc.optimizeText(playerCommand.substring(5)) +"");
    that made it all caps lol..


    and the other one gave me errors.

    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Sep 2011
    Age
    22
    Posts
    807
    Thanks given
    511
    Thanks received
    158
    Rep Power
    0
    Quote Originally Posted by 'Sam View Post
    that made it all caps lol..


    and the other one gave me errors.
    Well it doesn't take a genius to figure out that toUpperCase() will make the string uppercased
    Reply With Quote  
     

  8. #8  
    Sam
    Sam is offline
    Registered Member

    Join Date
    Sep 2012
    Age
    24
    Posts
    2,905
    Thanks given
    808
    Thanks received
    834
    Rep Power
    5000
    alright fixed it thanks

    Reply With Quote  
     

  9. #9  
    Cheeeeeese *-*

    CoordinatesRS's Avatar
    Join Date
    Feb 2012
    Age
    23
    Posts
    281
    Thanks given
    31
    Thanks received
    106
    Rep Power
    165
    Nevermind.
    osu! name: [Only registered and activated users can see links. ]

    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Caps please.
    By Barrage Time in forum Usernames
    Replies: 3
    Last Post: 10-14-2008, 09:58 PM
  2. Make the a Cap letter after a specific letter.
    By Ninja Cat in forum Tutorials
    Replies: 5
    Last Post: 12-22-2007, 10:07 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •