Bean666 Posted August 17, 2014 Posted August 17, 2014 Is it possible to create an Anti-Caps lock script? well can anyone give me a help here , like if someone uses CAPS , the BIG letters will transform to a small one , i've seen it in other servers , please help , ))
Saml1er Posted August 17, 2014 Posted August 17, 2014 local txt = "SomETexT" txt = txt:upper outputChatBox (txt) --> sometext
ma2med Posted August 17, 2014 Posted August 17, 2014 Simply, --SERVERSIDE addEventHandler("onPlayerChat",getRootElement(),function(msg,msgtype) text = string.lower(msg) local red, green, blue = getPlayerNametagColor(source) outputChatBox(getPlayerName(source) ..": #EBDDB2".. text,getRootElement(),red,green,blue,true) cancelEvent() end )
Bean666 Posted August 18, 2014 Author Posted August 18, 2014 local txt = "SomETexT" txt = txt:upper outputChatBox (txt) --> sometext do i need to edit something in here?
Bean666 Posted August 18, 2014 Author Posted August 18, 2014 Simply, --SERVERSIDE addEventHandler("onPlayerChat",getRootElement(),function(msg,msgtype) text = string.lower(msg) local red, green, blue = getPlayerNametagColor(source) outputChatBox(getPlayerName(source) ..": #EBDDB2".. text,getRootElement(),red,green,blue,true) cancelEvent() end ) it transforms to small letters and the caps is still in the chat, the caps i typed it showed up and the small one showed up too ,when it transformed
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now