amranroinoe wrote:Hi there,
I'm starting to get the hang of the scripting side of things to a degree and feel ready to start making full length scripts of my own. I'm wondering if there's a way to call a specific module, link, etc during a session to avoid waiting for it to pop up on its own each time I want to check if its working correctly.
If anyone has any tips or advice, it would be greatly appreciated. Thank you!
To test purposes use the method Pepsi suggested, but if you want to use it as a tool to "direct" the tease sessions a bit then use the @Call(directory\file.txt) to call that specific file.
You have to respect the rulest of taunts---module---link---taunts---module---link---etc order: so you can call a module from a link (not sure if you can call an end from a link) and a link (or an end) from a module
So for example let's say you want to call a module named test.txt (in the \modules directory of your personality) after a testlink.
You do like this:
At the end of your testlink file, instead of ending it with @End, you end it with @Call(Modules\test.txt) @End
This will make the ai move to that exact module instead of randomly choosing one.
You can do something similar but using "categories" of module types..
For example:
Create some subdirectories in your module folder...lets say \pegging and \footfetish....put a few different modules in them and, now you can call from a link a @CallRandom(Modules\footfetish) or @CallRandom(Modules\pegging) to call a random file taken from those directories.
This way you can "direct" the course of a tease session a bit more if you want
Remember that calling a module from a link will skip the taunt cycle part obviously (you cant call a module from a stroke taunt phrase though).
Obviously you can do the same to call links from modules using @Call(Stroke\Link\linkname.txt) @End instead of ending them just with @End.
TLDR:
-call modules from links using @Call(Modules\modulename.txt) @End (this will skip the taunt cycle though)
-call links from modules using @Call(Stroke\Link\linkname.txt) @End
-call interrupts at any point using @Interrupt(interruptname) (don't add .txt to the interrupt name...it has to be in the interrupt folder though)
-create subfolders for your modules/link based on specific topics and use @CallRandom(Modules\directoryname) or @CallRandom(Stroke\Link\directoryname) to call random modules/link in those directories
P.s: use the right capitalizations for files and directory for it to work correctly (and add .txt at the end of filename). And all these directories have to be inside that specific personality folder