MMOCoin

Likes Likes:  0
Results 1 to 3 of 3
  1. #1
    Scout
    Grandelf's Avatar
    Join Date
    Nov 2009
    Posts
    13
    Post Thanks / Like
    Rep Power
    17
    Reputation
    27

    [Lua] Namechange npc.

    Namechange npc.

    Quick and boring explaination =P

    I have created a name npc. You just click on him and you get an option to change your name. You fill in the new name you want. It checks if the name contains symbols like: %$!@#313. If so then it says it does not allow symbols like these. Same for spaces. If it doesn't contain symbols like these it wil capatilize the first symbol. And make the other ones normal ones. Even if the player made them capital symbols.

    The script: http://pastebin.com/f35a53ec8


    › See More: [Lua] Namechange npc.

  2. #2
    Founder
    Apple's Avatar
    Join Date
    Jul 2008
    Location
    HeaveN
    Posts
    15,917
    Post Thanks / Like
    Rep Power
    10
    Reputation
    295
    nice one ,





  3. #3
    Beginner

    Join Date
    Mar 2010
    Posts
    3
    Post Thanks / Like
    Rep Power
    17
    Reputation
    1

    Register to remove this ad
    Doesn't work

    Error while loading Lua file



    scripts/namechanger.lua:11: unexpected symbol near '='



  4. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •