Image Methods
Shows an image file that matches the given path.
Parameters:
path - The path you want to show an image file from
Alias: showPicture, displayImage, displayPicture
Example:
showImage("Images/SomeImages/leaf.jpg");
showImage("https://i.imgur.com/JWVxVoY.jpg");
Shows an image file that matches the given path and waits for x seconds.
Parameters:
path - The path you want to show an image file from
secondsToWait - The amount of seconds you want to wait before continuing
Alias: showPicture, displayImage, displayPicture
Example:
showImage("Images/SomeImages/leaf.jpg", 5);
showImage("https://i.imgur.com/JWVxVoY.jpg", 5);
Shows an image file of a certain type.
Parameters:
type - The type you want the picture to belong to
Alias: showCategoryPicture, displayCategoryImage, displayCategoryPicture
Example:
showCategoryImage("BLOWJOB");
Shows an image file of a certain type and waits for x seconds.
Parameters:
type - The type you want the picture to belong to
secondsToWait - The amount of seconds you want to wait before continuing
Alias: showCategoryPicture, displayCategoryImage, displayCategoryPicture
Example:
showCategoryImage("BLOWJOB", 5);
Shows an image from one of the url files that are used for teasing.
Alias: showTeasePicture, displayTeaseImage, displayTeasePicture
Example:
showTeaseImage();
Shows an image from one of the url files that are used for teasing and waits for x seconds.
Parameters:
secondsToWait - The amount of seconds you want to wait before continuing
Alias: showTeasePicture, displayTeaseImage, displayTeasePicture
Example:
showTeaseImage(5);
Creates a media url file from a file that the path is pointing to. Which means the file needs to be a file following the layout from the TeaseAI-Java/Images/System/URL Files folder. Best way to go would just to register an url in the settings gui and then copy it to the path of your choice.
Parameters:
path - The path pointing to your file.
Example:
sendMessage("Look! Some custom sexy picture from a custom file!", 0);
const sexyGirlURL = createMediaURL("URLs/sexygirlsandporn.tumblr.com.txt");
showImage(sexyGirlURL, 10);
Returns the web url of the image that was latest loaded from an url for example when using showImage("http://") or when using a media url file/showTeaseImage().
Example:
//Load a custom url media file
const sexyGirlURL = createMediaURL("URLs/sexygirlsandporn.tumblr.com.txt");
lockImages();
//Show a random image from that file
showImage(sexyGirlURL);
//Store the url of the image currently shown
const url = getCurrentImageURL();
//Print the url
sendMessage("Current url being shown is: " + url);
//....
//Show the stored image using the url for 5 seconds again
showImage(url, 5);
Prevents the domme from changing the current image when she is talking. (Usually the domme changes the shown picture everytime she sends a message to a picture that is selected from her active set)
Example:
lockImages();
Allows the domme to change the current image when she is talking to one of her active set.
Example:
unlockImages();