Echo server chat

For toolset tutorials as well as question and answers.
Locked
User avatar
Nalo Jade
Githyanki
Posts: 1407
Joined: Thu Dec 23, 2004 1:27 pm
Location: Paso Robles, CA (-8 GMT)
Contact:

Echo server chat

Post by Nalo Jade »

I am working on a secret project, I think I have most of it worked out ... except ... I need the Server to send chat twice, once to just the player that activated an item and then again to local PCs near the player.

So ...

Player A activates <item>

<item> sends text "X" to Player A only

Player A activates the <item> again and now the text "X" is displayed to all the local players.

The text generated will change each time it is first activated, but the second time it will only repeat the original text.

What function would I need to "get last text generated from player A's item use"
"The reasonable man adapts to fit the world. The unreasonable man adapts the world to suit him. Therefore all progress is achieved by the unreasonable." - unknown

removed self from forums, contact via E-mail. Adios.
User avatar
Demson
Retired
Posts: 396
Joined: Wed Apr 02, 2008 12:10 pm

Post by Demson »

Can't you just store the first text somehow? As a variable.
PR efforteer, OAS2 DM, builder.
User avatar
White Warlock
Otyugh
Posts: 920
Joined: Mon Jan 05, 2004 3:44 am
Location: Knu-Mythia
Contact:

Post by White Warlock »

Always helps to know what the end goal is, that way 'alternative' approaches can be presented rather than headbanging on one approach that may very well be hardcoded and thus inflexible.
User avatar
Nalo Jade
Githyanki
Posts: 1407
Joined: Thu Dec 23, 2004 1:27 pm
Location: Paso Robles, CA (-8 GMT)
Contact:

Post by Nalo Jade »

secret project is a secret... I will try a little harder on my own, if I cannot succeed I will return and reveal the secret project and all its sillyness.

I will try the storing variable and recalling that makes sense to me, thanks
"The reasonable man adapts to fit the world. The unreasonable man adapts the world to suit him. Therefore all progress is achieved by the unreasonable." - unknown

removed self from forums, contact via E-mail. Adios.
Locked