This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-07-22 05:18:51

helltank
Scratcher
Registered: 2010-05-21
Posts: 1000+

OS User Accounts Script

I've recently found out how to make user accounts on an OS! To help others make OSes, I decided to add this.

When Green Flag Clicked
Ask What's your username?
Set variable username to answer
Ask What's your password?
Set variable password to answer
Change costume to Account Created
Ask What's your username?
If answer=variable username,
ask what's your password?
If answer= variable password,
broadcast login
<end if>
else
say there's no such account!
<end if>

There! Also, while we're on the subject of OSes, can someone help me with the Import Project from App Shop thing?


Error:Signature could not load. Please wait for an indefinite amount of time, until you realize you're gullible and go off to look for another potentially interesting signature to stare at.

Offline

 

#2 2010-07-22 05:51:03

wei2912
Scratcher
Registered: 2010-05-09
Posts: 100+

Re: OS User Accounts Script

Err, what do you mean by App Shop thing?

I can help you, if you want to learn how to do that.


Waiting for Scratch 2.0...

Offline

 

#3 2010-07-22 06:08:58

helltank
Scratcher
Registered: 2010-05-21
Posts: 1000+

Re: OS User Accounts Script

How do you make it so that the projects imported from your app gallery will go directly into the correct position? PS: Want to join the LogicCube dev. team? windowsapple is on it.


Error:Signature could not load. Please wait for an indefinite amount of time, until you realize you're gullible and go off to look for another potentially interesting signature to stare at.

Offline

 

#4 2010-07-22 07:20:14

iCode-747
Scratcher
Registered: 2009-11-21
Posts: 1000+

Re: OS User Accounts Script

Why don't you make the script in scratch, take a screenshot, and upload the screenshot to tinypic or something?

It just looks better when it's not typed out.  tongue

Nice!  big_smile


-End Transmission-

Offline

 

#5 2010-07-22 21:37:01

helltank
Scratcher
Registered: 2010-05-21
Posts: 1000+

Re: OS User Accounts Script

I don't have tinypic.... and I'm not good at screenshots. Besides, I'm using a mac, so there's no paint


Error:Signature could not load. Please wait for an indefinite amount of time, until you realize you're gullible and go off to look for another potentially interesting signature to stare at.

Offline

 

#6 2010-07-22 21:41:07

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: OS User Accounts Script

helltank wrote:

I don't have tinypic.... and I'm not good at screenshots. Besides, I'm using a mac, so there's no paint

Tinypic is free and there is no registration required - just upload your file and use the bottom code as you image URL.

You can take screenshots on a Mac with Apple-Shift-4 and select the area you want to take a screenshot of - the file will save to your desktop.

Great job on the script, though - a ton of users will definitely find this indispensable!

Offline

 

#7 2010-07-22 21:53:44

helltank
Scratcher
Registered: 2010-05-21
Posts: 1000+

Re: OS User Accounts Script

Okay, but I don't have Scratch on my Mac... it can't download. I can use my Windows but it's E- Learning day meaning I have lessons on my computer, and my sister is using the Windows XD Anyway, I will use this technique on my Windows Thx!


Error:Signature could not load. Please wait for an indefinite amount of time, until you realize you're gullible and go off to look for another potentially interesting signature to stare at.

Offline

 

#8 2010-07-22 22:09:15

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: OS User Accounts Script

What if you expanded this to use lists? So instead of two variables, there would be two lists, with each item in the username list corresponding with an item in the passwords list.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer