355 posts
Posted 27 November 2012 - 06:53 AM
Feeling lonely?
Thinking noone likes you?
Well, those feelings are over with the new Lonely Me program.
So far, it will only ask how you feel, and give a respond to that, and it will ask about your day!
But there is a lot more coming.
Check it out, and please post some tips/suggestions down below.
http://pastebin.com/xnMiBNa4Pictures:
Planned:
Improve the askDay function.
Make the order of questions random, but still logical (Oh god…)
386 posts
Location
France
Posted 27 November 2012 - 06:57 AM
Please put the actual link :)/>
355 posts
Posted 27 November 2012 - 07:03 AM
Please put the actual link :)/>/>
Alright, just wait a second, uploading a newer version already that includes:
-Bug fixes
-Unknown mood
-And a little easter egg…
355 posts
Posted 27 November 2012 - 07:08 AM
NEW UPDATE:
-Added a askDay function.
-Preparing for the functions to happen randomly, but still logical.
-Preparing for saving what you did today and putting it in a good sentence (Holy mother of jesus, thats going to be tough… I have to learn it english…)
386 posts
Location
France
Posted 27 November 2012 - 08:18 AM
Lol you seems to work very hard on it, you have just released two updates in 10min. :P/>
147 posts
Location
England
Posted 27 November 2012 - 09:55 AM
386 posts
Location
France
Posted 27 November 2012 - 07:23 PM
The askDay function is defined after the askMood wich call it. So if I type awesome I will get a attempt to call nil. :P/>
355 posts
Posted 28 November 2012 - 03:01 AM
Currently rewriting the code so it knows the language, and fixing the bugs listed above.
264 posts
Location
Where you aren't
Posted 28 November 2012 - 03:18 AM
goodMood = (yourMood == "good" or yourMood == "Good" or yourMood == "great" or yourMood == "Great" or yourMood == "nice" or yourMood == "Nice" or yourMood == "awesome" or yourMood == "Awesome" or yourMood == "potato" or yourMood == "Potato")
--
badMood = (yourMood == "bad" or yourMood == "Bad" or yourMood == "not good" or yourMood == "Not good" or yourMood == "awful" or yourMood == "Awful")
--
unknownMood = (yourMood == "idk" or yourMood == "Idk" or yourMood == "IDK" or yourMood == "i dont know" or yourMood == "I dont know" or yourMood == "I Dont Know" or yourMood == "dunno" or yourMood == "Dunno")
Why not do string.lower()?
355 posts
Posted 28 November 2012 - 04:38 AM
goodMood = (yourMood == "good" or yourMood == "Good" or yourMood == "great" or yourMood == "Great" or yourMood == "nice" or yourMood == "Nice" or yourMood == "awesome" or yourMood == "Awesome" or yourMood == "potato" or yourMood == "Potato")
--
badMood = (yourMood == "bad" or yourMood == "Bad" or yourMood == "not good" or yourMood == "Not good" or yourMood == "awful" or yourMood == "Awful")
--
unknownMood = (yourMood == "idk" or yourMood == "Idk" or yourMood == "IDK" or yourMood == "i dont know" or yourMood == "I dont know" or yourMood == "I Dont Know" or yourMood == "dunno" or yourMood == "Dunno")
Why not do string.lower()?
As I said, I am currently rewriting the code, fixing the bugs, including those giant lines.
1583 posts
Location
Germany
Posted 28 July 2013 - 04:24 AM
The easter egg is a good mood. The Potatoe :D/>
355 posts
Posted 28 July 2013 - 04:39 AM
uhm…
This thing is like 8 months old?
1583 posts
Location
Germany
Posted 28 July 2013 - 06:48 AM
Oh, s**t…
I haven't seen it on my mobile…
84 posts
Posted 30 July 2013 - 05:30 AM
goodMood = (yourMood == "good" or yourMood == "Good" or yourMood == "great" or yourMood == "Great" or yourMood == "nice" or yourMood == "Nice" or yourMood == "awesome" or yourMood == "Awesome" or yourMood == "potato" or yourMood == "Potato")
--
badMood = (yourMood == "bad" or yourMood == "Bad" or yourMood == "not good" or yourMood == "Not good" or yourMood == "awful" or yourMood == "Awful")
--
unknownMood = (yourMood == "idk" or yourMood == "Idk" or yourMood == "IDK" or yourMood == "i dont know" or yourMood == "I dont know" or yourMood == "I Dont Know" or yourMood == "dunno" or yourMood == "Dunno")
Why not do string.lower()?
Does string.lower() make it so the capitals dont matter?
587 posts
Location
Wrocław, Poland
Posted 30 July 2013 - 05:53 AM
- It makes all chars lowercase
- This thread is dead…
1852 posts
Location
Sweden
Posted 30 July 2013 - 07:09 AM
goodMood = (yourMood == "good" or yourMood == "Good" or yourMood == "great" or yourMood == "Great" or yourMood == "nice" or yourMood == "Nice" or yourMood == "awesome" or yourMood == "Awesome" or yourMood == "potato" or yourMood == "Potato")
--
badMood = (yourMood == "bad" or yourMood == "Bad" or yourMood == "not good" or yourMood == "Not good" or yourMood == "awful" or yourMood == "Awful")
--
unknownMood = (yourMood == "idk" or yourMood == "Idk" or yourMood == "IDK" or yourMood == "i dont know" or yourMood == "I dont know" or yourMood == "I Dont Know" or yourMood == "dunno" or yourMood == "Dunno")
Why not do string.lower()?
Does string.lower() make it so the capitals dont matter?
An example:
-- If you would type 'HeLLo' or something
input = string.lower(read())
-- It would print 'hello'
print(input)
Also as jesusthekiller said… The thread is dead
8543 posts
Posted 04 August 2013 - 01:33 PM
This is a fine example of many people who have confused the Reply button with the Report button.