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: Simplify lua?

Previous Thread :: Next Thread 
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
11 Aug 2015 02:26 AM
This is for a friend that is horrible at scripting...

but lets say b4 evry script you would copy/past this...
(Just a thought)
stop = end
loop = while true do
yes = true
no = false
Msg = instance.New("Message")
home = game.Workspace
touch = OnTouched(hit)
! well you get the point, yes the code above wont work, but maybe you could make a plugin?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Aug 2015 02:27 AM
That actually would be a pretty bad idea.
You can do stuff like

yes = true
no = false
etc

But in all honesty, Lua is simple enough. If you can't learn the real syntax and have to rely on macros (which don't exist in Lua) for a language as simple as Lua, you're doing something wrong.

Tell this friend (whether it might be you or not) to spend more time practicing.
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
11 Aug 2015 02:28 AM
Why would you want to do this in the first place?
Why not use a module to load common used parameters//functions?
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
11 Aug 2015 02:30 AM
@cnt


Yes that works

but im thinking of making a plugin that makes lua simple to newbs.

/w exaples...
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
11 Aug 2015 02:40 AM
A plugin would work to convert it into valid lua code, but honestly syntax is the easier part, but the biggest hurdle (sort of, if that makes any sense).

Honestly this is just going to dig anyone who uses it deeper into their hole.
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
11 Aug 2015 02:42 AM
^

if you can't really learn RBX.Lua, or at least the basics, you'll have some trouble when trying to learn anything else probably.
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
11 Aug 2015 02:43 AM
but image you could just type this

make a new part
put that new part in the game
make that new part red
make that new part 0.5 invnisible
make that new part anchored
Wait for 2 seconds
deleat that new part
loop
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
11 Aug 2015 02:44 AM
@instawin


.im learning lua, with little experience from c++, ruby, and pro at python.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Aug 2015 02:45 AM
believe it or not, that'll be even harder to script in then regular lua

I'll gladly make you a basic interpreter, and you will soon realize just how bad it is to program "in english"
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Aug 2015 02:45 AM
omg i used then instead of than
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
11 Aug 2015 02:47 AM
@cnt

thats cous your used to LUA


but a new player would find that very simple like really.

LUA:
"part = instance.New("part")"
Possible Plugin:
"make a new part named Part1"
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
11 Aug 2015 02:49 AM
Well this could open programming to new ppl..
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
11 Aug 2015 02:53 AM
no that would be impossible to teach lua english
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
11 Aug 2015 02:54 AM
Well nothing is impossible when programming but it will never be done in a million years
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
11 Aug 2015 02:55 AM
@pischo What you are talking about here is creating your own language entirely different from Lua. It's not going to help newbs because it'll have entirely less documentation that Roblox's flavor of Lua and they'll have only you to learn from. If they try to move from this to Lua they'll be pretty much where they initially started minus however much time they sank into learning this.

This is something that won't be useful to them anywhere else and they'll have an extremely limited community to help them learn this.

In sort, they'd have to actively try harder to learn your language than they would attempting to learn lua
Report Abuse
Iterum is not online. Iterum
Joined: 30 Jan 2009
Total Posts: 1982
11 Aug 2015 03:00 AM
LUA != Lua

its Lua


-ChiefDelta/Discommodate/iC7G/Vulnerite + 100 other accounts
Report Abuse
Iterum is not online. Iterum
Joined: 30 Jan 2009
Total Posts: 1982
11 Aug 2015 03:01 AM
Also, this is an asbolutely terrible idea. I just can't explain how stupid this is.

Sure, it comes from a good heart so I guess that has to count for something, but this is terrible.


-ChiefDelta/Discommodate/iC7G/Vulnerite + 100 other accounts
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
11 Aug 2015 03:02 AM
how would you even implement functions in "that language"?

maybe we should call it Luglish
Report Abuse
StartDeveloping is not online. StartDeveloping
Joined: 16 Feb 2015
Total Posts: 740
11 Aug 2015 03:14 AM
So:

loop
local Answer = true
if Answer == yes then
Msg.Parent = home
Msg.Text = "HI"
stop
wait(1)
stop

?

Bad idea..

Hard hard is it to

while true do
local Answer = true
if Answer == true then
local Msg = Instance.new("Message", game.Workspace).Text = "HI"
end
wait(1)
end

??
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Aug 2015 03:17 AM
I think he wants something like

i want to set a variable named Answer to yes
if Answer is yes then:
- create a new Message in Workspace and set the Text to HI
stop
wait 1 second
loop

idk
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
11 Aug 2015 03:20 AM
Maybe ill create my own programming language..



hmm
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Aug 2015 03:22 AM
Everyone will hate to program in English like that, literally everyone.
One of my favorite things about programming is I don't have to deal with the bullsht of the english language.
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
11 Aug 2015 03:22 AM
Well, when lua was made noone liked it.





But aftera while.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Aug 2015 03:23 AM
'Well, when lua was made noone liked it.'
You have no idea what you're talking about and don't know the history of Lua, so shut up please.
Report Abuse
Everment is not online. Everment
Joined: 08 Oct 2009
Total Posts: 6020
11 Aug 2015 03:26 AM
"omg i used then instead of than"
CNT HOW DARE YOU.

@OP don't do it. here's why:

no matter what, there's either one of two problems that are guaranteed to arise in the making of an "english" programming langauge:

1. the syntax won't recognise everything well enough, causing users to complain about how they can't just "tell" the interpreter to do stuff, or:
2. you'll have to force users to learn how to tell the interpreter to do certain things, in which case they'd be better off learning regular lua as it's the same thing with a different set of syntax.
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