Lua, find string.match , take second variable and do a hex and then match it -


  1. i string message /whisper
  2. the string contains password:name:nameinhex
  3. i want find first variable in string , compare password trigger , if trigger == first variable in string continue nr4 in list.
  4. i want find second variable in string, name , convert hex.
  5. i want compare name nameinhex , if true, continue invite person using chat command /invite

split string when reach each colon, , store them respective variables. have logic process each once have them stored in variable

http://lua-users.org/wiki/splitjoin


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -