Write here tutorials.
Password pages:
EOS script and tricks
-
- Explorer At Heart
- Posts: 552
- Joined: Sun Jul 06, 2014 2:11 pm
- Gender: Male
- Sexual Orientation: Open to new ideas!
- I am a: Slave
Re: EOS script and tricks
I would recommend password == "zdsadfgzt123"
In your example you are using a comparison of numbers, so the password may only contain digits and leading zeros will be ignored.
In your example you are using a comparison of numbers, so the password may only contain digits and leading zeros will be ignored.
-
- Explorer At Heart
- Posts: 256
- Joined: Wed Oct 21, 2015 2:41 pm
- Gender: Male
- Sexual Orientation: Straight
- Location: Slovakia
Re: EOS script and tricks
Counter points for knowledge competition or test.
I did not come up with the need to change the name of the variable.
var score = points+1
var score2 = score+1
etc.
I did not come up with the need to change the name of the variable.
var score = points+1
var score2 = score+1
etc.
-
- Explorer
- Posts: 98
- Joined: Tue Mar 13, 2018 4:13 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: EOS script and tricks
There is a way much easier way to do this you just have to declare
in the init then use
and here your score is 1 etc. There is no need to use a new variable every time
Code: Select all
var score = 0
Code: Select all
score = score + 1
-
- Explorer At Heart
- Posts: 256
- Joined: Wed Oct 21, 2015 2:41 pm
- Gender: Male
- Sexual Orientation: Straight
- Location: Slovakia
Re: EOS script and tricks
I also thought it might work. I tried.FeetTickler wrote: ↑Sun Feb 03, 2019 2:55 pm There is a way much easier way to do this you just have to declare
in the init then useCode: Select all
var score = 0
and here your score is 1 etc. There is no need to use a new variable every timeCode: Select all
score = score + 1
-
- Explorer
- Posts: 98
- Joined: Tue Mar 13, 2018 4:13 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: EOS script and tricks
If you want to optimise it even more you can even do this :
Code: Select all
score += 1
Who is online
Users browsing this forum: Google [Bot] and 31 guests