MA[S]RIY Posted July 30, 2017 Share Posted July 30, 2017 السلام عليكم معي كود ابي شرح له local Text = getPlayerName(client):gsub("#%x%x%x%x%x%x","").." : "..Text وش معني الخرابيط ذي "#%x%x%x%x%x%x" Link to comment
Rockyz Posted July 30, 2017 Share Posted July 30, 2017 http://www.lua.org/pil/20.2.html Link to comment
MA[S]RIY Posted July 30, 2017 Author Share Posted July 30, 2017 2 hours ago, #,+( _xiRoc[K]; > said: http://www.lua.org/pil/20.2.html ممكن تشرحها لي انت لو تكرمت Link to comment
Rockyz Posted July 30, 2017 Share Posted July 30, 2017 (edited) انت لو تركز بتفهم Edited July 30, 2017 by #,+( _xiRoc[K]; > Link to comment
A7M8D Posted July 30, 2017 Share Posted July 30, 2017 يعني مثلا #FF0000EGYPT يخليها تظهر EGYPT من غير ما الاكواد تظهر Link to comment
iMr.WiFi..! Posted July 30, 2017 Share Posted July 30, 2017 3 hours ago, MARIY said: ممكن تشرحها لي انت لو تكرمت "%x" ^ هاذي لوحدها يعني أي حرف من احرف الهكس او HEX Link to comment
Rockyz Posted July 30, 2017 Share Posted July 30, 2017 Quote . = all characters %a = letters %c = control characters %d = digits %l = lower case letters %p = punctuation characters %s = space characters %u = upper case letters %w = alphanumeric characters %x = hexadecimal digits %z = the character with representation 0 Some characters, called magic characters, have special meanings when used in a pattern. The magic characters are ( ) . % + - * ? [ ^ $ The character `%´ works as an escape for those magic characters. So, '%.' matches a dot; '%%' matches the character `%´ itself. You can use the escape `%´ not only for the magic characters, but also for all other non-alphanumeric characters. When in doubt, play safe and put an escape. Link to comment
MA[S]RIY Posted July 30, 2017 Author Share Posted July 30, 2017 شكرا للكل تمت الافاده Link to comment
Rockyz Posted July 31, 2017 Share Posted July 31, 2017 9 hours ago, MARIY said: شكرا للكل تمت الافاده العفو .. ! Link to comment
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