of     3   
chevron_rightchevron_rightchevron_right

moneypoll9317
#16011838Thursday, October 29, 2009 8:55 PM GMT

MONEYPOLL9317'S HELP THREAD!!Yes I have came back, and turned a better scripter.Please, PLEASE!Do not say I can't script.
bloccoRPG
#16011884Thursday, October 29, 2009 8:56 PM GMT

tell me what this does: print(getfenv(0)["print"]~=nil)
moneypoll9317
#16012380Thursday, October 29, 2009 9:09 PM GMT

prints...DUH!Wait do you want me to be speciphic cuz in the wiki I didnt get Function Dump/Core Functions
bloccoRPG
#16012449Thursday, October 29, 2009 9:10 PM GMT

No I meant, what does it do, like explain all the stuff in there for me. I know waht it does, but tell ME what it does.
gijsbel11
#16012531Thursday, October 29, 2009 9:12 PM GMT

i think it print nothing becuze in the line i says print == nil...
bloccoRPG
#16012602Thursday, October 29, 2009 9:13 PM GMT

No, gij. You are so wrong right there.
moneypoll9317
#16012723Thursday, October 29, 2009 9:15 PM GMT

print-- Makes this say something in the output window(getfenv(0)-- this returns the global workspace. ["print"]~=nil) -- this just makes the print nil,right?
bloccoRPG
#16012784Thursday, October 29, 2009 9:16 PM GMT

It doesn't make the 'print' nil. And getfenv(0) does not return the global workspace.
moneypoll9317
#16012830Thursday, October 29, 2009 9:17 PM GMT

oh well...What does it do, then?
bloccoRPG
#16012870Thursday, October 29, 2009 9:18 PM GMT

It prints true.
Eyin
#16013002Thursday, October 29, 2009 9:20 PM GMT

He is messing with the enviorments again...useful, but the way he does it is bad...
moneypoll9317
#16013016Thursday, October 29, 2009 9:20 PM GMT

wow whats the point of that??This is off topic, just, umm, somebody gimme a script...Not that one.
Eyin
#16013092Thursday, October 29, 2009 9:21 PM GMT

why won't this work? function Printer() print(Printer) end setfenv(Printer, {Print = "L", _G = _G})
bloccoRPG
#16013097Thursday, October 29, 2009 9:22 PM GMT

@Eyin: I'm not messing with the environments... Where do you see '='? I see '~=', but not '='. Please tell me where I am MESSING with it.
moneypoll9317
#16013195Thursday, October 29, 2009 9:24 PM GMT

first, what is,"printer"?
bloccoRPG
#16013234Thursday, October 29, 2009 9:24 PM GMT

'Printer' is the function that he made, duh.
Eyin
#16013284Thursday, October 29, 2009 9:25 PM GMT

woops...put Print wrong.. function Printer() print(Print) end setfenv(Printer, {Print = "L", _G = _G})
moneypoll9317
#16013373Thursday, October 29, 2009 9:27 PM GMT

lol epic fail of me... why won't this work? function Printer() print(Printer) end setfenv(Printer, {Print = "L", _G = _G}) -- what's the point of changing the enviorment??
Eyin
#16013392Thursday, October 29, 2009 9:28 PM GMT

CMON! =D because I am re-doing RBLX Lua so people can type in english...
moneypoll9317
#16014308Thursday, October 29, 2009 9:48 PM GMT

Oh wow, that a little big for you, MrNicNac.
RightLegRed
#16014338Thursday, October 29, 2009 9:48 PM GMT

Could you please tell me how to use rawset to set a _G please?
Eyin
#16014341Thursday, October 29, 2009 9:48 PM GMT

No check this out... function TestFunctions() output("Text Appears in Output") m = make.new(message) m.Text = " " m.Parent = game h = make.new(hint) h.Parent = game hp = make.new(hopperbin) hp.Parent = game t = make.new(tool) t.Parent = game m = make.new(model) m.Parent = game f = make.new(forcefield) f.Parent = game end setfenv(TestFunctions, {output = print, script = script, game = workspace, make = Instance, message = "Message", hint = "Hint", model = "Model", tool = "Tool", hopperbin = "HopperBin", brick = "Part", truss = "TrussPart", forcefield = "ForceField"}) TestFunctions()
RightLegRed
#16014357Thursday, October 29, 2009 9:49 PM GMT

Oh and I only want Moneypoll to help me here.
moneypoll9317
#16014398Thursday, October 29, 2009 9:50 PM GMT

Ahh I see you replace Instance with make.Roks
moneypoll9317
#16014507Thursday, October 29, 2009 9:53 PM GMT

sorry dont understand when they say that rawsets Sets the real value of table[index] to value, without invoking any metamethod. table must be a table, index any value different from nil, and value any Lua value.

    of     3   
chevron_rightchevron_rightchevron_right