• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Simple script fix

Dankoo

Active Member
Joined
Sep 4, 2010
Messages
1,007
Reaction score
27
How to make this:

Lua:
string = string..' You are '.. getPlayerVocationName(cid) ..'.'

To be in lowercase? 'Cause when I look at myself I receive like

You see yourself. You are Master Sorcerer.

It should be "master sorcerer"... Is there a LUA command to set all to lower case?

nevermind, did it:

Lua:
string = string string.lower..' You are '.. getPlayerVocationName(cid) ..'.'

Actually the right way is this

Lua:
string = string..string.lower(' You are '..getPlayerVocationName(cid) ..'.')

Now it's working perfectly
 
Last edited:
Back
Top