generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Simply Scripts

Previous Thread :: Next Thread 
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 04:45 PM
This post is in regard to this place : http://www.roblox.com/Simply-Scripts-place?id=173869544

If you're new to scripting read this, if not skip ahead to the big line.

Lets start with a variable.
A variable is something that holds a value whether it's a word or a number or anything else.

For example.
variable = 5

^ varaible now is equal to 5.
How do we use the info stored in a variable?
Well we can do many things, but for now let's start with outputting the variable's value.

variable = 5
output(5)

Now you'll notice when you run this script it'll output the number 5 in the output box. You have your first program. Good job! :D

Surely we can't use just this for all our programs. That would be ridiculous.

Lets try to get the player to affect our program.
To do this we'll use uinput.

Uinput will prompt the user with a question in which they can answer like so.

uinput("This is the question","Standard")

This will prompt a a question saying "This is the question"
If you're wondering what the "Standard" is for it changes the look of the prompt.
The current two settings are Question and Standard.
Question holds longer questions.
Prompt holds short ones and is smaller. Cleaner looking.
Try them both out right now to get a feel for em.

Now what is so useful about this? It doesn't do anything.
Lets make uinput do something.

Variable = uinput("What's your name?","Question")

Now variable will be equal to their answer to the question.
Let me give you a simple program to explain this.

Name = uinput("What's your name?","Question")
output(name)

Now it'll output the user's name.
However what if we wanted it to output "(the user name) is your name!"
Then we'd do this.

Name = uinput("What's your name?","Question")
sentence = Name.." is your name!"
output(sentence)

In Simply Scripts you will want to create a seperate variable and combine the strings (word/sentence/letter values in programming) by using ..

That's the very basics to simply scripts.
It's fun to learn how to use it on your own, but if you have questions ask me.

Here's a short example script that you could most likely learn from.

age = uinput("What is your age?","question")
math = age - 5
sentence = "No way! I bet you're really like "..math.." years old!"
output(sentence)



------------------------------------------------------------------------
Simply scripting syntax.

Setting a variable.
var = value

Getting input from the player
var = uinput("question here","form (standard/question)")
var will equal the players reply to the prompt.

Getting output.
output(var)

Math.
var = 5 * 5/2

Functions/loops/if statements/etc.. are not finished yet.
Simply Scripts is in very early development and is to be worked on intensively for the next couple weeks.


SIMPLY SCRIPTS IS NO WHERE NEAR FINISHED! THIS IS THE VERY VERY EARLY DEV VERSION! I HOPE YOU ENJOY IT BUT BE AWARE THE FEATURES ARE MINIMAL!


"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
dogwarrior24 is not online. dogwarrior24
Joined: 10 Nov 2010
Total Posts: 1401
23 Aug 2014 04:57 PM
Your guis suck.
Report Abuse
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 04:58 PM
Wow what an oddly hostile comment?
Did I somehow offend you? wtf? really?

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Aug 2014 05:12 PM
shhh don't curse at dogs...
Report Abuse
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 05:18 PM
Who says he's a dog?

His name is dogwarrior.

Possibly he fights dogs, or he is a dog that's also a warrior.

The world may never know.

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Aug 2014 05:24 PM
He climbs the latter C:
Report Abuse
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 05:29 PM
I actually just finished if statements a lot faster than I thought I would.

Here is how you should use them.

if (condition)
output("It met the condition")
stop

The reason it took so long for if statements is because of the way I had to create
the ability to have if statements inside of if statements working completely correct, which was harder than expected.

More syntax coming soon!
Thanks guys. :)

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 05:37 PM
I'm planning to simplify Simply Scripts even more and
create some online tutorials to help get people who've never scripted to learn for the first time.

I'm trying to make Simply Scripts a great first language in which will teach you fundamentals of programming and allow you to quickly get some input and output and make some fun/cool programs with your friends.

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Aug 2014 05:37 PM
what's wrong with lua?
print seems simple enough
so do the conditional statements and everything else
Report Abuse
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 05:47 PM
"
what's wrong with lua?
print seems simple enough
so do the conditional statements and everything else
"

(you didn't go check it out so I'll explain)

Simply Scripts takes the dimension of Vector3, Cframe, Color3, and other tuple's (if you use python they're called tuples) out of the questions and places the user in a completely GUI/Console based scripting environment in which they don't have to worry about a 3D environment.

They can just fool around with scripts and get a feel for them.

I also have a failsafe system in case they mess up the script will find their fault and continue to run, since new scripts make mistakes like crazy.
Basically it's not as 'hard written' as Lua.

Simply Scripts will also have a code system in which you can copy codes for your scripts and send them to your friends to send your scripts to them, this way they can edit, play with, and send back the edited version of the script.
This will lead to a quick and easy way to tell other players in game your code so they can help you find problems with your code and fix it.

(Along with a lot of upcoming features)

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Aug 2014 05:48 PM
You can do that all in Lua
Report Abuse
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 05:50 PM
cnt,

What parts of that can you do in Lua?
Did you read my entire post? (Not a hostile tone, I must adress because it's text e_e)

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Aug 2014 05:53 PM
'Simply Scripts takes the dimension of Vector3, Cframe, Color3, and other tuple's (if you use python they're called tuples) out of the questions and places the user in a completely GUI/Console based scripting environment in which they don't have to worry about a 3D environment.'
Vector3 = nil
CFrame = nil
Color3 = nil
BrickColor = nil
Tada none of that

"They can just fool around with scripts and get a feel for them."
You can obviously do this in Lua

"I also have a failsafe system in case they mess up the script will find their fault and continue to run, since new scripts make mistakes like crazy.
Basically it's not as 'hard written' as Lua."
You can obviously do this in Lua

"Simply Scripts will also have a code system in which you can copy codes for your scripts and send them to your friends to send your scripts to them, this way they can edit, play with, and send back the edited version of the script.
This will lead to a quick and easy way to tell other players in game your code so they can help you find problems with your code and fix it."
And you are using Lua to do this...

Your language can't do anything, it's Lua doing everything
Report Abuse
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 05:56 PM
Maybe I'm not wording it right, but you obviously have no idea what I'm attempting to say.

You're also making opinionated assumptions even though you've yet to actually use it.

Also, Why are you acting like such a d---e

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 05:59 PM
"Your language can't do anything, it's Lua doing everything"
That's funny, I mean you have 20k posts, but you seem to not understand that all languages work in layers.

You could lua can't do anything, because ANSI C is doing everything.
When obviously Lua can do many things even though it's simply ANSI C doing all the work.

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Aug 2014 06:33 PM
You don't understand that what you are doing is not making a programming language at all.

You say Lua can't do what you are doing, but it obviously can since you are making your language in Lua.
Report Abuse
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 06:43 PM
e_e
Are you joking?
You seriously couldn't figure out what I meant?

Lua can't do this on it's own (Lua can't do this without the scripts I'm using to create Simply Scripts)

And I completely understand.
I can't tell if you're trying hard to start an argument or you
literally can't figure out what I'm saying.

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Aug 2014 06:46 PM
You phrased it like an idiot
'What parts of that can you do in Lua?'
Report Abuse
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 06:54 PM
Get a life dude, I know you take pride in your absurdly large amount of posts you have, but it proves your social life does not surpass the forums on a children's site.

Cya!

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Aug 2014 07:00 PM
nice rage quit br0

i love the excuse people use saying more posts = less friends, much ignorance
Report Abuse
HardcoreMinecraftian is not online. HardcoreMinecraftian
Joined: 01 Apr 2013
Total Posts: 118
23 Aug 2014 08:34 PM
He means you couldn't make SS without Lua in the first place to start iff,
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
23 Aug 2014 08:57 PM
Lua will never be able to debug itself.
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
23 Aug 2014 09:05 PM
I don't see where cnt bragged about post count???
Report Abuse
cade2000 is not online. cade2000
Joined: 09 Aug 2009
Total Posts: 887
23 Aug 2014 09:22 PM
"He means you couldn't make SS without Lua in the first place to start iff,"
Yes, I'm aware, however he did so in a hostile way and
the only purpose of his posts were to intentionally annoy me which I don't take kindly to.

Also, you couldn't make Lua without ANSI C

The argument is 100% invalid and pointless.
You'll also notice as you scale down the layers of programming languages,
functionality is lost, and simplicity increased.

This is why C is harder to learn than Python.
If you don't understand what I'm saying than you don't really
have a place in this argument.

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Aug 2014 09:57 PM
'Also, you couldn't make Lua without ANSI C'
Yes you can, it can be made in another language.

I was hotile because you act like Lua isn't simple enough yet your way is even harder.

I mean really?
if(condition)
stop?

really stop? Maybe you can replace that with break, but for end?...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image