Elopus001
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 482 |
|
|
| 31 Dec 2011 09:49 AM |
| I don't understand admin scripts. How would I make one so that if I say money/50/Elopus001 then Elopus001 gets 50 money? |
|
|
| Report Abuse |
|
|
Elopus001
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 482 |
|
|
| 31 Dec 2011 09:50 AM |
| P.S. I did look at person299's and the tutorials. |
|
|
| Report Abuse |
|
|
| |
|
Elopus001
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 482 |
|
|
| 31 Dec 2011 09:51 AM |
| Could you give me an example? |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 09:56 AM |
| Yea, but do you know basic admin commands? The change thing is a bit more complicated because it has 2 things instead of just one... |
|
|
| Report Abuse |
|
|
Elopus001
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 482 |
|
|
| 31 Dec 2011 09:59 AM |
| Not really. I tryed that and I didn't understand it I even used others commands and it just full out didn't work. |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 10:03 AM |
wiki.roblox.com/index.php/How_To:_Admin_Commands
There's a good place to start if you don't understand the actual script. |
|
|
| Report Abuse |
|
|
Elopus001
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 482 |
|
|
| 31 Dec 2011 10:05 AM |
| I tried there. it confused me more. |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 10:15 AM |
| Alrite, well this is pretty much the basics of admin commands. You gotta have a table of who's an admin. Then you gotta use the Chatted Event. You use the articles to define what the person said, and who the person is. Then you take who the person is, sift through the table to see if they're an admin. If they are, you move on to what they say. You use string.sub to see if they said a certain thing, in your case change/. But that's a bit confusing to start with so I'll stick with kill/. Then you find what they say next. You look for what the person said after kill/ inside the workspace. Once you find that, you kill them. Then you're done. |
|
|
| Report Abuse |
|
|