It doesn't do anything cool, you don't get awesome admin powers or way too many images or npc's or whatever it is you lot like so much, it only makes scripting a little easier for a few of you.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
local function lolz(id, txt) 	msg(player(id, "name") .. " wrote: " .. txt) end addhook("say", "lolz") -- works addhook("say", lolz, 3) -- works addhook("say", function(...) lolz(...) end) -- works freehook("say", "lolz") -- works freehook("say", lolz) -- same freehook("say", function(...) lolz(...) end) -- can't work because it creates a new function timer(1000, "lolz") timer(1000, lolz) timer(1000, function(p) print(p) end, "hi", 2) -- works
None of the above would work normally (try it), now it does.
Approved by GeoB99
Download
2 kb, 362 Downloads