croxis
Chat room op
I am attempting to add LuaSockets to try and implement in game IRC chat (and maybe xmpp or AIM down the road). Following Kael's excellent guide I set everything up in ModBuddy, installed the libraries to the mod's Lua folder. However when I call the basic line socket = require("socket") I obtain this output in the live tuner
Runtime Error: [string "Lua/irc.lua"]:5: atempt to call global 'require' (a nil value)
When plugging in socket = requires("socket") directly I get module socket not found, and lists all the path lua hunts for. I am not familiar with lua at all. Any suggestions?
Runtime Error: [string "Lua/irc.lua"]:5: atempt to call global 'require' (a nil value)
When plugging in socket = requires("socket") directly I get module socket not found, and lists all the path lua hunts for. I am not familiar with lua at all. Any suggestions?