1601601901010
Graph Entry
Character

Hey, What's the temperature today?

Open dropdown
Player

<temperature_options>

Memory

To get your character to say whatever was saved to this memory, use <temperature> in a Character node.

FUNCTION
const temperatureFromPlayer = await getMemory("temperature")

const temperatureInFarenheit =  (temperatureFromPlayer * 9/5)+32

await setMemory("fahrenheit_equivalent", temperatureInFarenheit);
Character

Hmm, that's about <fahrenheit_equivalent> in Fahrenheit, right?

Open dropdown
Comment