Newcomers

This is a forum for newcomers to the Personality Forge. Many questions can be answered by reading the Book of AI and the FAQ under the "My Bots" link in the upper corner.

Posts 3,499 - 3,510 of 8,130
Many questions are answered in the FAQ.


19 years ago #3499
Thanks for your help with the single word application, Boner. That was exactly what I needed to fix my problem

19 years ago #3500
This seems pretty basic. I can't get AI scripts with things like

if (key1) is "Bach";

to work. Instead, I have to go through an additional step:
rem (key1) as "tmpwd";
and then run the conditional. What am I doing wrong? This seems to be the same sort of problem as the
if (name) is (friend);
problem, although (key1) is NOT a plugin.

M

19 years ago #3501
yes, it seems one needs to record the value as a memory and then access it using the conditional aiscript

19 years ago #3502
Yes. It has to be stored as a memory before you can test it as part of an if-statement. However, it's fairly easy to make it work with a series of seeks.

19 years ago #3503
Actually my strategy (when I remember to do it) is in the example above. I have a variable called tmpwd which I load with an Only when I want to carry a phrase into AI Script. I'll start using it routinely.

The main reason I haven't is that without an if/else machine, I don't find the conditionals very useful. They are especially troublesome in multiple statement scripts. I suspect that they grab the entire script as their scope, rather than only the first (or all) command that follows.

For example:
rem (name) as "nickname"; if (name) is "Bob"; rem 'Y' as only "SexPig";
If it isn't Bob, it won't load (mem-nickname), I think.
The desired result is to load (mem-nickname) because I use it more than I do (name), and to check for an undesirable (invented) User. I seem to have to do this in two separate scripts in order for it to work.

M

19 years ago #3504
hi all i am new but hope to find out how to work this site pretty soon.

19 years ago #3505
Ok, I have the following (tildes are tabs):

would you (verb) [40,0]
~goto do you (verb)

do you (verb) [40,0]
~Do you mean...
~I don't usually.

There are no gotos in the Do you Responses. But hits on "Would you" generate a "too many gotos in a row" complaint. I'm using this mechanism quite a bit, and now it seems not to be working. As near as I can tell, I have ONE goto in a row....

Any ideas?

Thanks,
Mick

19 years ago #3506
baby_nisha: Best of luck! Try reading the 'beginner' part of the book of AI, and if you have any questions, feel free to ask!

19 years ago #3507
hello baby_nisha and welcome to this site. i hope you have alot of fun here making bots

19 years ago #3508
Hi baby_nisha good luck

19 years ago #3509
i am a straith against my own poower

19 years ago #3510
u 2 orchid


Posts 3,499 - 3,510 of 8,130

» More new posts: Doghead's Cosmic Bar