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

#1 2010-07-07 12:49:44

Hygt5
Scratcher
Registered: 2009-09-22
Posts: 14

Help!

Hey Guys, Do Any Of You Know A Script Of Making A Long ChatBar In Which You Can Type In, Then Hit A "Send" Sprite, then Your "Character" Sprite Says What You Typed In?
Any Help Will Be Greatly Appreciated, Thanks!

Offline

 

#2 2010-07-07 13:03:13

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: Help!

Well there's the ask and answer block which would work like this:
http://i31.tinypic.com/25qqh69.gif


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#3 2010-07-07 13:25:39

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Help!

non advanced


You can now reach me on Twitter @johnnydean1_

Offline

 

#4 2010-07-07 13:46:44

Hygt5
Scratcher
Registered: 2009-09-22
Posts: 14

Re: Help!

I Know The Ask And Answer Script. This Is More Advanced. Think Of One Of Those Popular Multiplayer Online Games, How They Have Chat Bars. I Want Something Like That.

Offline

 

#5 2010-07-11 00:06:06

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Help!

You can't do that. Scratch can't connect to other projects. Wait... actually, there is mesh, but it wouldn't work online. I don't know how to activate it; there are other topic posts that explain how to do that. Try it!  smile


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#6 2010-07-11 00:16:25

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Help!

1. Look up mesh recreation.
(it involves the Scratch-UI-Panes, thats all i remember.)

2. Use a list and variable function with using (VSlider Sensor value) and assume the recent one is the most recently said.

To explain:

1. Make a list called ChatFrames and variable called AddRecentText

2. Make it so that (you may have to hack for this function) If enter pressed

Then ask []
Set [(answer)] to AddRecentText
Insert [(join (name- hack for it)(join (space)(VAddRecentText sensor value)))] at (Vlast) of Chatframes

That may help.

Last edited by bbbeb (2010-07-11 00:19:26)


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

Board footer