Error - attempt to call global 'sprintf' (a nil value)

Discuss, ask for help, share ideas, give suggestions, read tutorials, and tell us about bugs you have found with MicroMacro in here.

Do not post RoM-Bot stuff here. There is a subforum for that.
Forum rules
This is a sub-forum for things specific to MicroMacro.

This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
Post Reply
Message
Author
zer0
Posts: 213
Joined: Sat Feb 16, 2008 11:55 pm

Error - attempt to call global 'sprintf' (a nil value)

#1 Post by zer0 »

what happened to the function?

I'm getting:

Code: Select all

attempt to call global 'sprintf' (a nil value)
At first I thought I probably didn't need it most of the time, but their are a few parts which require it.
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: Error - attempt to call global 'sprintf' (a nil value)

#2 Post by Administrator »

Woops. Looks like I accidently commented that line out. Just open lib.lua, and find

Code: Select all

--sprintf = string.format;
Remove the -- and you're set.
Post Reply