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

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -