of     1   

mich5643
#52577710Thursday, August 11, 2011 6:48 PM GMT

I think there should be a way for someone to view what the output is saying in-game. Im thinking you should make a new game service called "OutputService" and it should have an Event called "Printed". I also think for the argument there should Be A Method Called "TypeOfMessage()" that ident ifys if its just a printed message or and error. Heres an Example of What an Output Gui Script would look like: game.OutputService.Printed:connect(function(Outputed) if Outputed:TypeOfMessage() == "Printed" then script.Parent.PrintLabel.Text = Outputed elseif Outputed:TypeOfMessage() == "Error" then script.Parent.ErrorLabel.Text = Outputed end end) This function would make it easier to fix chat scripts or even make user created Outputs for games like "Script Builder" for example. Please think about making this game service.
Virtualdarks
#52577976Thursday, August 11, 2011 6:51 PM GMT

It's alittle above my head on the scripting, but I caught on. Support. :D -Virtualdarks
trappingnoobs
#52579802Thursday, August 11, 2011 7:16 PM GMT

pcall.
mich5643
#52584222Thursday, August 11, 2011 8:15 PM GMT

What does pcall mean? and im a fan of your Videos Trapping and im honoured that your replied
trappingnoobs
#52634142Friday, August 12, 2011 11:39 AM GMT

:L I don't do that many videos? I guess you mean either my acertainblockgamethatisn'troblox lts plays which were CURSED. Every single video had something going wrong- One didn't upload, one had no sound, one had no color if I remember, and one had the first 10 or so minutes cut off. :L Or my roblox scripting tutorials? Eh, here's an example of pcall. I'd advise making it use a GUI instead of a message though. pcall simply lets a chunk of script run, and if it errors, it skips the rest of the code in pcall and carries on. xpcall is what you want; it has the same functionality, but as the second argument, you pass in a function, and when it errors, it'll call that function with the error string, so for example: function displayError(errorText) local a=Instance.new("Message",Workspace) a.Text = errorText game:GetService("Debris"):AddItem(a,5) -- Deletes a after 5 seconds. end xpcall(function() lulz --Going to error. end, displayError)
mich5643
#52637501Friday, August 12, 2011 1:37 PM GMT

Oh so you put it like that So woulds this example work? function displayError(errorText) local a=Instance.new("Message",Workspace) a.Text = errorText game:GetService("Debris"):AddItem(a,5) -- Deletes a after 5 seconds. end xpcall(script.Parent.Touched:connect(function() print("Lol") Tacos end), displayError) Write back :)
tofwap
#52637661Friday, August 12, 2011 1:42 PM GMT

It would really just be nice if the place owner could open the regular output in a server, yes pcall is a method if you can get it to work. But I would prefer to see a log of what scripts are running, which ones bugged out, and what lines the problems are on all in one text log.
trappingnoobs
#52638657Friday, August 12, 2011 2:04 PM GMT

function displayError(errorText) local a=Instance.new("Message",Workspace) a.Text = errorText game:GetService("Debris"):AddItem(a,5) -- Deletes a after 5 seconds. end xpcall(function() script.Parent.Touched:connect(function() print("Lol") Tacos end end), displayError)
mich5643
#53190509Friday, August 19, 2011 10:04 PM GMT

Im testing That Method now for my admin Script :)
mich5643
#53326117Sunday, August 21, 2011 5:30 PM GMT

xpcall didnt work. Can you Just show me what i did wrong it said nothings wrong in the output so i dont know where its glitching so can you look It over? Thanks The code is at http://www.roblox.com/mich5643-39-s-Admin-Commands-item?id=59954370 ok?
mich5643
#53326335Sunday, August 21, 2011 5:33 PM GMT

Nevermind i figured out what i did wrong, I misspelled Character XD
mich5643
#53326505Sunday, August 21, 2011 5:35 PM GMT

Again Nevermind it wasnt That problem still look it over ok? Thanks!

    of     1