Other interesting tricks to PS

Tutorial 10: Using the character table to mass delete entries

Here is a way to delete large amounts of PhoenixSpeak entries en masse, even if it's a bit more on the inventive side!

The following DS line is the core:

(5:631) forget all PhoenixSpeak info about the furre named {...}.

Now for the trick: we will use the character table to store data to a non-existent character. This is because a character can’t ever have a single-letter name! Thus, no player that arrives in the Dream will cause any mix-ups with any data we store this way.

We can divide the data that is stored within our database into rows, which we can also selectively delete through the use of (5:631).

So for example, we could use the following two lines to begin storing our data within a row called a (the non-existent character) in the character table:

(5:601) memorize that the PhoenixSpeak info {...} about the furre named {a} will now be #.
(5:604) memorize that the PhoenixSpeak info {...} about the furre named {a} will now be {...}.

And we could extract their values into variables or strings as normal through the use of the following two lines:

(5:611) remember the PhoenixSpeak info {...} about the furre named {a}, and put it in variable #.
(5:614) remember the PhoenixSpeak info {...} about the furre named {a}, and put it in message ~.

And finally, should the need to get rid of that data ever come, we can simply use the (5:631) line to get rid of any data that is currently stored in the row called a in the character table:

(5:631) forget all PhoenixSpeak info about the furre named {a}.

Account E-Mail

Password