Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Detecting someone's country.
- Skeelix
-
64 posts
Detecting someone's country.
I plan on making a large project, but for it to work I need to detect what country the user is viewing the project from, any help this would be greatly appreciated.
- homewins
-
45 posts
Detecting someone's country.
There's no easy way to do this. Maybe if you learned how to use ScratchAttach it would be possible, but that's really complicated.
- Malicondi
-
1000+ posts
Detecting someone's country.
Only way to do this would be accessing the API and using ScratchAttach or some other library to send the data over to the project, but this would be complicated to code.
post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.
![](https://uploads.scratch.mit.edu/get_image/project/988667507_300x150.png)
coming soon :)
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.
![](https://uploads.scratch.mit.edu/get_image/project/988667507_300x150.png)
coming soon :)
- ramenecho
-
100+ posts
Detecting someone's country.
You could technically do this in regular scratch, it would have to be an honor system though, do something like this in the backdrop sprite I plan on making a large project, but for it to work I need to detect what country the user is viewing the project from, any help this would be greatly appreciated.
when green flag clicked
Ask [What is your home country?] and wait
set [Location v] to (answer)
Hello there, this is a cool signature! You can even make your own wow! I really need somebody to check my game for bugs, MineQuest Idle its not the highest quality of games, but its an improvement from my previous ones
- deck26
-
1000+ posts
Detecting someone's country.
You can work out their timezone by calculating the hour from ‘days since 2000’ (the fractional part is the fraction of the day in UTC time) with the current hour on their computer. But that is a long way from knowing their country.
- Discussion Forums
- » Help with Scripts
-
» Detecting someone's country.