Guest User

Untitled

a guest
Oct 30th, 2016
119
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. quest test begin
  2.     state start begin
  3.         when 70001.use begin
  4.             say("1. " .. type(mysql.query("SELECT vnum FROM item_proto LIMIT 1;"))); --table
  5.             say("2. " .. type(mysql.query("SELECT vnum FROM item_proto;")[1][1]));   --nil
  6.             say("3. " .. type(mysql.query("SELECT vnum FROM item_proto;")[1]));      --table
  7.             say("4. " .. type(mysql.query("SELECT * FROM item_proto;")[1][1]));      --nil
  8.             say("5. " .. type(mysql.query("SELECT * FROM item_proto;")[1]));         --table
  9.         end -- when
  10.     end -- state
  11. end -- quest
RAW Paste Data