• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Scripting (Learning)

killing

Member
Joined
Feb 23, 2012
Messages
815
Reaction score
11
Location
BIH
Hello
Im not sure if i can ask this in here.?
But i want to learn how to script...
Im tired to ask for Help!.
I want to learn..
I want to know What this means.
Lua:
if
Lua:
then
Lua:
elseif
Lua:
else
Lua:
return TRUE
Lua:
 ==
Lua:
if item.itemid
Lua:
for
Lua:
do
Please Don't giv me some links ("Learn for here")
I want to leanr to Script..
I want to be Like Evan or Limos..

Who helps me rep++
for sure!!!!!!!
but please help :$
i well rep++xD
okay
 
Last edited:
Can you explain this
else
please plzzz oh plzzzz
make me happy

- - - Updated - - -

Lua:
else
What this man i want answer for you limos you know to better to explain
 
Read through the tutorials carefully and you'll probably understand a thing or two.
 
Yep, tutorials were made to avoid answering each new thread made like this
 
Please Ninja tell me what this means
Lua:
doTransformItem(item.uid, item.itemid + 1)
please plzzzzz
this is the part that i do not understand
Lua:
(item.uid, item.itemid + 1)
 
i guess your the answers are not so hard, just translate it to your lenguage like I do, and first of all -like you do your homework- you need to practice with real life problems:
Lua:
if IWantToLearnThis then 
	INeedToStudy
else
	IWontLearn
elseif IStudy then
	IWillLearn
end
 
i guess your the answers are not so hard, just translate it to your lenguage like I do, and first of all -like you do your homework- you need to practice with real life problems:
Lua:
if IWantToLearnThis then 
	INeedToStudy
else
	IWontLearn
elseif IStudy then
	IWillLearn
end
BUGGED CODE
should be:
Lua:
if IWantToLearnThis then 
	INeedToStudy
elseif IStudy then
	IWillLearn
else
	IWontLearn
end

EDIT:
Some moderator should remove that useless thread.
 
Please Ninja tell me what this means
Lua:
doTransformItem(item.uid, item.itemid + 1)
please plzzzzz
this is the part that i do not understand
Lua:
(item.uid, item.itemid + 1)

Code:
doTransformItem(item.uid, item.itemid + 1)
If item.itemid is 2160(Crystal Coin ID) then it will be transformed to +1, so it will be 2161.


Code:
(item.uid, item.itemid + 1)
item.uid is a param, the item you are manipulating. item.itemid + 1 is the second param, tells what i wrote above


If you have basic english then you can write some scripts without any problem. Then you must study about logic.
 
Code:
doTransformItem(item.uid, item.itemid + 1)
If item.itemid is 2160(Crystal Coin ID) then it will be transformed to +1, so it will be 2161.


Code:
(item.uid, item.itemid + 1)
item.uid is a param, the item you are manipulating. item.itemid + 1 is the second param, tells what i wrote above


If you have basic english then you can write some scripts without any problem. Then you must study about logic.

Thanks!!!!!!!
So much!!
Im so happy

- - - Updated - - -

One big Thanks to all.

- - - Updated - - -

LucasFerraz
you have one repp++
from me

- - - Updated - - -

Where I have to put all
Lua:
end
 
Back
Top