Hello!
I just need a bit of advice on how to create a small snippet for deleting emails. Delivering emails is already implemented (a function created by the extension Computers by Emily Short). How would I go about that?
I’m trying to create a simple error message that is delivered to the device on taking it, and is deleted when the variable, functioning, is made true.
This is what I’m working with:
Include Computers by Emily Short.
Functioning is a truth state that varies. Functioning is false. [Decides whether SnailMail is functioning]
Cell Phone is a kind of computer.
Cracked Cellular Device is a cell phone. There is a Cracked Cellular Device.
A trackpad is a part of every cell phone.
A keyboard is a part of every cell phone.
Cracked Cellular device runs an email program called SnailMail. SnailMail is privately-named.
The message table of SnailMail is Table of Cellular Device Messages.
Table of Cellular Device Messages
topic message arrival time read answered description
"Error" "ERROR" -- false false "SnailMail cannot connect to server. No messages recieved."
After taking Cellular Device:
if functioning is false:
deliver "error" to SnailMail;
continue the action.
To delete (chosen message - text) from (chosen program - an email program):
[I'm not sure what to implement here];
Every turn:
if functioning is true:
delete "error" from SnailMail;
continue the action.
Thank you for any advice given, I appreciate the help, and this site, immensely.