PHP Mistresses and Their Routines
Hello all, I've been developing a virtual mistress for some time, but I admit my content creation skills are lacking.:gag: PHPMistress runs on php desktop…
Hello all, I’ve been developing a virtual mistress for some time, but I admit my content creation skills are lacking.:gag: PHPMistress runs on php desktop and is built using PHP and Java. It employs routine files much like CyberMistress does, except they rely on PHP arrays. The key distinction is that you’ll want a decent code editor with color coding to keep things clear, allowing you to write real PHP code within the routines (which makes features virtually endless). Users can also add their own PHP function files for use throughout the routines. Here’s an example of a routine file: Code: Select all
$phpm_routine = array(
"start" => array(
"if" => "mastrubatecum asked > 3",
"next" => "check1",
"else" => "start2"
),
"check1" => array(
"notif" => "mastrubatecum asked data = ".(date("y/m/d")),
"set" => "mastrubatecum asked data = ". date("y/m/d")." | mastrubatecum asked = 1",
"next" => "start2",
"else" => "already asked"
),
"already asked" => array(
"message" => "You already asked me that 3 times today. I am removing that question for today.",
"set" => "permissions blocked ask mastrubatecum = ".(date("y/m/d")),
"picture" => "images/",
"delay" => "6",
"next" => "end"
),
"start2" => array(
"message" => "So horny my ".$phpm_data_main["slave name"]." wants to cum? | So my little slave wants to cum?",
"picture" => "images/",
"delay" => "Yes Mistress(start3)|No Mistress(end)"
),
"start3" => array(
"message" => "Im thinking | I need to think about that",
"picture" => "images/",
"delay" => "random(6,12)",
"next" => phpm_userfunction_rtr("yes",$phpm_data_main["mastrubatecum data"],"0","5","1","no"),
),
"yes" => array(
"message" => "Oke slave, report when done..",
"picture" => "images/",
"set" => "mastrubatecum allowed = yes",
"delay" => "Thank you Mistress",
"next" => "asked"
),
"no" => array(
"message" => "No!",
"picture" => "images/",
"delay" => "6",
"next" => "asked"
),
"asked" => array(
"if" => "mastrubatecum asked = 0",
"set" => "mastrubatecum asked data = ". date("y/m/d")." | mastrubatecum asked = ".($phpm_data_main["mastrubatecum asked"]+1),
"next" => "end",
"else" => "asked2"
),
"asked2" => array(
"if" => "one = 1",
"set" => "mastrubatecum asked = ".($phpm_data_main["mastrubatecum asked"]+1),
"next" => "end"
),
"end" => array(
),
);
The routine above includes the function phpm_userfunction_rtr, which returns a semi-random “yes” or “no” depending on the last orgasm date.
$phpm_data_main["mastrubatecum data"]retrieves the date from the database file- The
setcommand is used to store information in the flatfile database (database) Confusing right:P Stuff I have already implemented: - Running routines (similar to CyberMistress… with options such as message=, picture=, next=, if=, notif=, else=, set=, unset=, routine=, run=, delay=)
- The
runcommand accepts arguments (as suggested by jason88888), and I’ve also added a VBS script that lets you play Windows Media Player videos in the background (useful for realtouch routines) - Flatfile database for permanent data storage and retrieval.
- Playing/Sound/Flash videos within PHPMistress (visible or hidden)
- Input boxes (forms) which automatically store data into the flatfile database based on their names
- Image encryption and decryption (for instance, for lock key combinations)
- Assignments (still somewhat buggy and incomplete) Stuff to be implemented:
- Fixing assignments
- Intro routine
- Settings (to change background, font, etc.) -????? Any help, ideas, or suggestions are greatly appreciated. Best regards, Creative