Page 6 of 31

Re: Tease Ai scripting: The HELP CORNER

Posted: Sat Feb 27, 2016 4:14 pm
by Daragorn
PtheV wrote: Ah, makes much more sense to me now, thanks! I assumed days was the only available increment. If I understand correctly, you have to choose between seconds, minutes, etc? In other words, @SetDate(today,1 day, 6 hours) would not work, but @SetDate(today, 30 hours) would?
Exactly, you can only set 1 single parameter. If you just write a number, teaseAI consider that days, otherwise you have to specify if it is hours or minutes,seconds, etc....but you cant have 2 different values, only 1.
If you want to set it at 30 hours from now, use that, 1day,6hours will give an error (or do nothing in the best case...or maybe just get 1 day and ignore the rest....but, anyway, it would be wrong using it that way :-D )

Re: Tease Ai scripting: The HELP CORNER

Posted: Sun Feb 28, 2016 8:43 pm
by genome231
Can someone explain how the @RapidCodeOn and @RapidCodeOff works?
I had them in my start scripts, because I needed the program to run over some code. But the program basicly ran over and skipped them.
If I dont have a tool to quickly run over code my starts basicly goes like this..

Hello
Pause* (Lasting about 8-14 seconds, while running some checks) <-- Here I really need the @RapidCodeOn :P
then it starts.

* During the pause a mood is set, is she happy etc, and a temporary flag is placed, with the RapidCodeOn, no flag was ever set.
But I removed the RapidCode and that made it work again.

Is this a bug with patch 48?

Regards
Genome

Re: Tease Ai scripting: The HELP CORNER

Posted: Tue Mar 01, 2016 3:15 am
by opiate
genome231 wrote:Can someone explain how the @RapidCodeOn and @RapidCodeOff works?
I had them in my start scripts, because I needed the program to run over some code. But the program basicly ran over and skipped them.
If I dont have a tool to quickly run over code my starts basicly goes like this..

Hello
Pause* (Lasting about 8-14 seconds, while running some checks) <-- Here I really need the @RapidCodeOn :P
then it starts.

* During the pause a mood is set, is she happy etc, and a temporary flag is placed, with the RapidCodeOn, no flag was ever set.
But I removed the RapidCode and that made it work again.

Is this a bug with patch 48?

Regards
Genome
Are you running more than one command per @NullResponse...

I think I read somewhere that @RapidCode works by reading the whole line as a single command.
I have no idea what that actually means, but it might mean that after the first command is read, the rest are ignored.

If your script doesn't look like this, try it this way:

Code: Select all

@NullResponse @RapidCodeOn
@NullResponse @DoStuff
@NullResponse @MoreStuff
@NullResponse @OtherStuff
@NullResponse @ThisStuffToo/code]

Re: Tease Ai scripting: The HELP CORNER

Posted: Tue Mar 01, 2016 3:21 am
by opiate
Another question!
Can I use a wildcard with the CheckFlag Command?

I have a series of flags
Sleeping1
Sleeping2
Sleeping3
Sleeping4
Sleeping5

And I use @CheckFlag(Sleeping*, LineName)
Will the program return with one of the five Sleeping flags...
(P.S.) Doesn't matter if the program grabs the first one or a random one...

Also, if I use the @Call command like this...
Script:
Would you like to use this feature?
[yes] @Call(Call1.txt)

Call1:
Please Input Todays Date:
[monday] @Call(Call2)

Call2:
I hate monday, but I see you have a flag from sunday... I should delete that
@DeleteFlag(Sunday)
@End

...
Will Call2 end back to where Call1 left off? Or will it end to where the original script executed Call1?

Re: Tease Ai scripting: The HELP CORNER

Posted: Tue Mar 01, 2016 12:36 pm
by genome231
opiate wrote:
genome231 wrote:Can someone explain how the @RapidCodeOn and @RapidCodeOff works?
I had them in my start scripts, because I needed the program to run over some code. But the program basicly ran over and skipped them.
If I dont have a tool to quickly run over code my starts basicly goes like this..

Hello
Pause* (Lasting about 8-14 seconds, while running some checks) <-- Here I really need the @RapidCodeOn :P
then it starts.

* During the pause a mood is set, is she happy etc, and a temporary flag is placed, with the RapidCodeOn, no flag was ever set.
But I removed the RapidCode and that made it work again.

Is this a bug with patch 48?

Regards
Genome
Are you running more than one command per @NullResponse...

I think I read somewhere that @RapidCode works by reading the whole line as a single command.
I have no idea what that actually means, but it might mean that after the first command is read, the rest are ignored.

If your script doesn't look like this, try it this way:

Code: Select all

@NullResponse @RapidCodeOn
@NullResponse @DoStuff
@NullResponse @MoreStuff
@NullResponse @OtherStuff
@NullResponse @ThisStuffToo/code][/quote]

Interesting
Will test that later
Thank you!

Re: Tease Ai scripting: The HELP CORNER

Posted: Wed Mar 02, 2016 9:26 am
by genome231
Is there a way to change what the TeasiAI says after returning from a CallReturn?
If there is a vocab I cant seem to find it. :/
Basicly there are a lot of cases where I dont need her to say anything.

Regards
Genome

Re: Tease Ai scripting: The HELP CORNER

Posted: Thu Mar 03, 2016 7:59 pm
by Daragorn
genome231 wrote:Is there a way to change what the TeasiAI says after returning from a CallReturn?
If there is a vocab I cant seem to find it. :/
Basicly there are a lot of cases where I dont need her to say anything.
Regards
Genome
Not right now....you can only change it in the base code sorry, it is a pre-written sentence depending on the return state (stroking/edgind or not)

Re: Tease Ai scripting: The HELP CORNER

Posted: Sun Mar 06, 2016 9:06 pm
by genome231
Daragorn wrote:
genome231 wrote:Is there a way to change what the TeasiAI says after returning from a CallReturn?
If there is a vocab I cant seem to find it. :/
Basicly there are a lot of cases where I dont need her to say anything.
Regards
Genome
Not right now....you can only change it in the base code sorry, it is a pre-written sentence depending on the return state (stroking/edgind or not)
I see
thank you :)

Re: Tease Ai scripting: The HELP CORNER

Posted: Tue Mar 08, 2016 5:19 am
by avatarbr
genome231 wrote:Can someone explain how the @RapidCodeOn and @RapidCodeOff works?
I had them in my start scripts, because I needed the program to run over some code. But the program basicly ran over and skipped them.
If I dont have a tool to quickly run over code my starts basicly goes like this..

Hello
Pause* (Lasting about 8-14 seconds, while running some checks) <-- Here I really need the @RapidCodeOn :P
then it starts.

* During the pause a mood is set, is she happy etc, and a temporary flag is placed, with the RapidCodeOn, no flag was ever set.
But I removed the RapidCode and that made it work again.

Is this a bug with patch 48?

Regards
Genome
@RapidCodeOn will work while teaseAI find a @NullResponse line, but will stop if find anything else, included ( ) parts.

Re: Tease Ai scripting: The HELP CORNER

Posted: Tue Mar 08, 2016 5:27 am
by avatarbr
opiate wrote:Another question!
Can I use a wildcard with the CheckFlag Command?

I have a series of flags
Sleeping1
Sleeping2
Sleeping3
Sleeping4
Sleeping5

And I use @CheckFlag(Sleeping*, LineName)
Will the program return with one of the five Sleeping flags...
(P.S.) Doesn't matter if the program grabs the first one or a random one...

Also, if I use the @Call command like this...
Script:
Would you like to use this feature?
[yes] @Call(Call1.txt)

Call1:
Please Input Todays Date:
[monday] @Call(Call2)

Call2:
I hate monday, but I see you have a flag from sunday... I should delete that
@DeleteFlag(Sunday)
@End

...
Will Call2 end back to where Call1 left off? Or will it end to where the original script executed Call1?
I remember 1885 said 48.x would have wildcards, but I think just to images. 47.x dont have for sure.

Sometimes, I can make this works with vocabulary, like this:

#Opiate_Sleep.txt
@CheckFlag(Sleeping1, LineName)
@CheckFlag(Sleeping2, LineName)
@CheckFlag(Sleeping3, LineName)

And use #Opiate_Sleep in the script. Works with images, not sure with this commands.


About the @Call command, I thing the Call2 will send to a Link file.
You will need to use the @CallReturn in 48.x to do that. Or use everything in a single script with @Goto.

Re: Tease Ai scripting: The HELP CORNER

Posted: Thu Mar 10, 2016 6:38 pm
by genome231
I've been trying to find a website where you could download women saying all sorts of sexy stuff.
I need it for my Spicy personality for TEASE AI.

Does such a website exist or do I have to download audio teases and cutting the voice into pieces? :D

Thank you!

Regards
Genome

Re: Tease Ai scripting: The HELP CORNER

Posted: Fri Mar 11, 2016 12:51 pm
by genome231
RandomStranger wrote:
genome231 wrote:I've been trying to find a website where you could download women saying all sorts of sexy stuff.
I need it for my Spicy personality for TEASE AI.

Does such a website exist or do I have to download audio teases and cutting the voice into pieces? :D

Thank you!

Regards
Genome
You could try "https://www.reddit.com/r/gonewildaudio/"

Make a list of things you want voiced and maybe set up a request and a small explanation as to what it is for.
Finding someone willing to say stuff there should not be all that hard. :-P

Although i'm not a 100% sure if they allow requests for outside projects to be posted, that being said a lot of the sound files i noticed in your personality folder come from GWA.
I most certainly do :P
Good sounds are hard to come by. Found something last night, basicly i'm listening through all of it (4 hours) and cutting into each clip whenever I find something useful :P
The redditforum doesn't seem to allow download?

Regards
Genome

Re: Tease Ai scripting: The HELP CORNER

Posted: Mon Mar 21, 2016 1:58 pm
by genome231
Is there a list of all commands and everything else that might be relevant to script writing.
Often I come across new things I didn't knew existed through other scripts
Ex. I have never seen this before @CheckStrokingState
(Sub Stroking)
(Sub Not Stroking)

Nor have I seen this
@FinishTease
Whats the different between @EndTease and @FinishTease?

Regards
Genome :)

Re: Tease Ai scripting: The HELP CORNER

Posted: Mon Mar 21, 2016 6:33 pm
by Harry2stroke
genome231 wrote:I've been trying to find a website where you could download women saying all sorts of sexy stuff.
I need it for my Spicy personality for TEASE AI.

Does such a website exist or do I have to download audio teases and cutting the voice into pieces? :D

Thank you!

Regards
Genome
i found some here
https://www.sounddogs.com/results.asp?T ... ageSize=50

Re: Tease Ai scripting: The HELP CORNER

Posted: Tue Mar 22, 2016 1:37 am
by avatarbr
genome231 wrote: Ex. I have never seen this before @CheckStrokingState
(Sub Stroking)
(Sub Not Stroking)
Almost sure this was created to use in Interrupts. So, you can use the @StopStroking just in case the Interrupt was loaded from a Taunt file (while the user is stroking). And stop the metronome.