[archived content]

Lua functions available in LuafnDbot:

FunctionDescription
_cardsStringinternal, use etc.getCards
_createCardinternal, use etc.getCards
_funcReturns the current function
_getCardsinternal, use etc.getCards
_getPokerHandScore...
_yieldinternal
action(message)Like /me
atTimeout(str)When the CPU limit is reached print `str` instead of the standard error
boost()Ups the CPU limit for byte[] scripts (proof of bot being rigged)
botstock...
cash...
dbotscript...
directprint...
eval...
getCleanTextFromHtml...
getCode(fn)Returns the code for a user-defined function as a string.
getContentHtml...
getHonors...
getLastError([user])Returns the last error as a string.
getUnicodeInfo(n)internal, use getUnicodeInfo
getUserFS...
getname(uid)User ID to user name conversion
getuidCurrent user ID
globToLuaPattern...
haltHalts script execution
html2text...
httpGet...
httpPost...
input...
irc2html...
ircUser...
iscmd...
jeebus...
names...
nicklist...
owner...
parseURL...
pickone...
require(mod)Modified to load modules from the `plugin` table
rnick...
safeloadstring...
seen...
sendNotice...
setTimeout...
singleprint...
sleep...
stopwatch...
ucash...
ucashGive...
ucashInfo...
ucharge...
urlDecode...
urlEncode...
x_ent...
Page last modified on September 24, 2013, at 10:16 PM