|
| 29 May 2013 03:02 AM |
Where would I start on this?
--Yes, I have the beginning and end of this onchatted function. This is just an example.
if msg == "fix" then --stuff end
Thanks!
~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~ |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 03:03 AM |
But then again... if the script breaks, how would I use the fix command?
~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~ |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 29 May 2013 03:08 AM |
| Make all the orher commands run in new thread. No need for fix command anymore. |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 03:12 AM |
Wat.
~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~ |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 03:29 AM |
I hope you inferred I meant for my admin script I'm creating..
~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~ |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 07:32 AM |
| Why create an Admin Script if you don't know how to make it fix? Admin Scripts are advanced. Well, some of them. But then again, I probably shouldn't be talking, I don't program in RBX Lua. |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 07:37 AM |
| Couldn't you reset everything to return to a certain point of time, like when you press the reset button in Studio? |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 29 May 2013 07:54 AM |
Admin scripts are NOT advanced.
I had to say it. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 29 May 2013 08:05 AM |
Now if one of yourcommands derp, it won't disconnect event, so you are able to use other commands that works.
player.Chatted:connect(function(msg) Spawn(function() if msg:match("^/ded") then player.Character:BreakJoints() end end) end) |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 06:49 PM |
imma stick to pcall. e.e And just make sure I make it error-proof.
~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~ |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 08:14 PM |
no don't stick with pcall stick with ypcall |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 08:24 PM |
| Fix command could be to clone a Disabled copy of the script from Lighting back into Workspace, delete the current one, and Enable the new one. |
|
|
| Report Abuse |
|
|
|
| 30 May 2013 04:32 AM |
If the script is broken, how would I say 'Fix'? I would have to create a whole 'nother individual script for that.
~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~ |
|
|
| Report Abuse |
|
|
|
| 13 Jun 2013 02:18 PM |
Just use ypcall.
~ninja poster~ |
|
|
| Report Abuse |
|
|