Konata's Ramble Corner

From Vendetta Lua
Revision as of 06:25, 8 July 2007 by Konata (Talk | contribs) (A note on RegisterUserCommand)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Ramble ramble ramble.

Apparently most of the goodies are sandboxed via lua metatables. One hopes that bypassing these metatables is possible. Unfortunately, rawget and rawset aren't helpful in the least. But.....we'll see how stuff goes.

Haha. dofile() can do internal files. Konata 20:58, 4 July 2007 (EDT)

I'll have to put this aside until declare() is in the client Konata 21:42, 4 July 2007 (EDT)


A note on RegisterUserCommand

After doing RUC("fun", funfunc, "parrots"), here's how things go down.

If the user types in /fun choo choos, funfunc will be called like so:
funfunc("parrots", { 1: choo, 2: choos })


Thus, RUC still acts slightly funny.