View Full Version : English to LUA translator
Nappy
01-28-2013, 05:42 AM
Basically, I think Dark should make a translator that would translate english words and sentences into LUA scripts.
It would be hard as fuck, but maybe possible, it would also be great for everyone that doesnt know how to script...
Elvang
01-28-2013, 05:57 AM
.... can't tell if serious right now or just joking.
xiaospike
01-28-2013, 06:14 AM
Basically, I think Dark should make a translator that would translate english words and sentences into LUA scripts.
It would be hard as fuck, but maybe possible, it would also be great for everyone that doesnt know how to script...
Laughed till I nearly choked and died.
Joshwa534
01-28-2013, 06:37 AM
Laughed till I nearly choked and died.
^ I heard this via Skype call and laughed til I choked xD!
XtrmJosh
01-28-2013, 07:20 AM
Lua is English o.0
The only way it could be easier is if the variables & functions were changed a bit, like:
if mymana < minimummanaiwanttohave then
usethisitemonmyself('mana potion')
end
Infernal Bolt
01-28-2013, 09:57 AM
http://0-media-cdn.foolz.us/ffuuka/board/sp/image/1339/86/1339863993562.png
Hendy
01-28-2013, 10:31 AM
So you want DarkstaR to start putting his time into developing some silly English to Lua program where his time could be better spent on Xenobot?
Messed Around
01-28-2013, 11:42 AM
So you want DarkstaR to start putting his time into developing some silly English to Lua program where his time could be better spent on Xenobot?
http://diablo.incgamers.com/wp-content/uploads/2012/09/Genius.jpg
Avani
01-28-2013, 11:49 AM
I think DarkstaR should re-write LUA to be in Dutch...
...
http://stuffpoint.com/memes/image/133651-memes-60s-spider-man-meme-33.jpg
Hendy
01-28-2013, 01:21 PM
Messed Around I think Nick should get started on it right away!
Nappy
01-28-2013, 04:10 PM
Lua is English o.0
The only way it could be easier is if the variables & functions were changed a bit, like:
if mymana < minimummanaiwanttohave then
usethisitemonmyself('mana potion')
end
Lua is not english. It is a programming language developed by monkeys, and used by mostly english people. But yes, it would be easier if it was like that. Sort of how Elfbot NG is...
Petit Ours
01-28-2013, 04:16 PM
lol ^^
Nostrax
01-28-2013, 04:19 PM
Why so hard for this fella? :(
Joshwa534
01-28-2013, 04:20 PM
http://diablo.incgamers.com/wp-content/uploads/2012/09/Genius.jpg
:D What happened to your avatar?
SamDaMan
01-28-2013, 04:30 PM
Lua is not english.
then why.theFuck(is, it, all)
inEnglish == seriously.what(the, fuck)
wutthefuk
XtrmJosh
01-28-2013, 06:51 PM
Lua is not english. It is a programming language developed by monkeys, and used by mostly english people. But yes, it would be easier if it was like that. Sort of how Elfbot NG is...
Actually Lua is English, unless I'm mistaken and "end", "and", "while", "for", "do", and other keywords are actually not English? I guess it's probably considered to be a standard language amongst programmers, they are English keywords anyway :P
Nappy
01-29-2013, 12:18 AM
Why so hard for this fella? :(
:D Thanks for not being a CYBERBULLY >:|
XtrmJosh
It isnt English, Yet it is worded in English.
Made in Brazil, as a Scripting Language...
Hendy
01-29-2013, 12:46 AM
:D Thanks for not being a CYBERBULLY >:|
XtrmJosh
It isnt English, Yet it is worded in English.
Made in Brazil, as a Scripting Language...
/facepalm
If its worded in English then its English, it was made in Brasil using the English language.
Nappy
01-29-2013, 01:36 AM
BUT ITS NOT ENGISH.
its not even a real language...
jo3bingham
01-29-2013, 01:55 AM
English to LUA translator:
If my mana is less than 100 then use a mana potion on myself.
if (Self.Mana() < 100) then
Self.UseItemWithMe('mana potion')
end
Avani
01-29-2013, 02:05 AM
BUT ITS NOT ENGISH.
its not even a real language...
als (refill = waar) dan
ganaarLabel(leave) andersals
ganaarLabel(hunt)
einde
So this is not Dutch?
Nappy
01-29-2013, 02:05 AM
O.0 I just dont know when, where or how to put the script together. It looks simple when you do it...
Can you toss me a small library together when you get free time?
Nappy
01-29-2013, 02:06 AM
als (refill = waar) dan
ganaarLabel(leave) andersals
ganaarLabel(hunt)
einde
So this is not Dutch?
Lua itself is not a language...
Never said that the language inside of LUA isnt or is anything....
Hendy
01-29-2013, 02:07 AM
English to LUA translator:
If my mana is less than 100 then use a mana potion on myself.
if (Self.Mana() < 100) then
Self.UseItemWithMe('mana potion')
end
You mean English to English translator do you not? ;/
jo3bingham
01-29-2013, 02:36 AM
You mean English to English translator do you not? ;/
Well...yes, BUT I ran that English sentence through my own personal English to LUA translator to show Nappy how good it is..:cool:
Nappy
01-29-2013, 02:47 AM
Which is your brain?
If not... GIMME plox
Raziol
01-29-2013, 06:02 AM
http://0-media-cdn.foolz.us/ffuuka/board/sp/image/1339/86/1339863993562.png
Best reply ever!!!
SamDaMan
01-29-2013, 06:46 AM
BUT ITS NOT ENGISH.
its not even a real language...
fish
TITS ass words KeyBOARD
HA HA HA ONOMATOPOEIA CRASH BOOM HAHAHAHAHAHAHAH
slang WUT LOL LOL LMAO!!!!!!! ! ! ! !
So is this not English? Don't be daft. It's colloquial more often than not.
Nappy
01-29-2013, 07:06 AM
Never said that wasnt. Dumbass....
Any programming language does not have a base language.
It can be written in other forms of base languages....
XtrmJosh
01-29-2013, 07:19 AM
This thread is going a bit far into the debate of whether Lua is English or not, let's all agree to disagree?
SamDaMan
01-29-2013, 09:54 AM
This thread is going a bit far into the debate of whether Lua is English or not, let's all agree to disagree?
http://www.youtube.com/watch?v=bWXazVhlyxQ&feature=youtu.be&t=4m35s
RoxZin xD
01-29-2013, 10:12 AM
LOLing @ replies, but this one goes #1
http://www.youtube.com/watch?v=bWXazVhlyxQ&feature=youtu.be&t=4m35s
FUCK YOU I WON'T DO WHAT YOU TELL ME! MOTHERFUCKER!
chris4lakers
01-29-2013, 11:04 AM
Well guises i think this guy wants something like syri
Hey Xyri, i want a lua code that puts soft boots on me at 500 mana!
Sure Nappy, just a moment.
function equipSoftBoots()
local BOOTS1ID = 6529 -- Soft Boots ID
local SoftsOnFeet = 3549 -- softs on feet got different ID, that was the problem
local BOOTS2ID = 3079 -- Other Boots ID
local MANATOEQUIP = 500 -- Mana Amount to equip Soft Boots
local MANATOUNEQUIP = 750 -- Mana Amount to equip Other Boots
local BACKPACKNAME = 'Backpack' -- Backpack where Boots are in
local Backpack = Container.GetByName(BACKPACKNAME)
if (Self.Mana() <= MANATOEQUIP) and (Self.Feet().id ~= SoftsOnFeet) then
for Spot = 0, Backpack:ItemCount() do
local Boots = Backpack:GetItemData(Spot)
if (Boots.id == BOOTS1ID) then
Backpack:MoveItemToEquipment(Spot, "feet")
end
end
elseif (Self.Mana() >= MANATOUNEQUIP) and (Self.Feet().id ~= BOOTS2ID) then
for Spot = 0, Backpack:ItemCount() do
local Boots = Backpack:GetItemData(Spot)
if (Boots.id == BOOTS2ID) then
Backpack:MoveItemToEquipment(Spot, "feet")
end
end
end
end
while (true) do
equipSoftBoots()
wait(1000,1500)
end
Spectrus
01-29-2013, 11:08 AM
Closed. I think you guys need to be nicer to people who don't understand what goes in to script making. Just because he is a beginner, does not give you the right to make fun of him. Try helping him, or explaining what's wrong with his idea next time.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.