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,502 - 3,513 of 8,132
Posts 3,502 - 3,513 of 8,132
Many questions are answered in the FAQ.
Ulrike
19 years ago
19 years ago
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.
MickMcA
19 years ago
19 years ago
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
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
MickMcA
19 years ago
19 years ago
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
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
djfroggy
19 years ago
19 years ago
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!
little monster 1
19 years ago
19 years ago
hello baby_nisha and welcome to this site. i hope you have alot of fun here making bots
Calandale
19 years ago
19 years ago
Wow, the spacing on the AI scripts is really unforgiving. It requires a space between the semi-colon and the question mark. Any idea what kind of tool is being used to parse these?
MickMcA
19 years ago
19 years ago
A warning for newcomers. DO NOT send a series of chat messages to anyone when they are offline. If you send more than four, you will get an automated message telling you that you are obviously a SPAMMER and "your account will probably be deleted."
I was debugging someone's bot yesterday and sent a handful of progress reports (unsolicited, of course) that broke this unwritten rule, so my days may be numbered.
I've "appealed" to the Prof, pointing out that I have invested quite a bit of time into building credibility (and three bots) before revealling my evil plan. I understand the need for this control, but I am wondering if my account really IS about to be deleted. Kind of puts the Kibosh on my plans to work on my bots this morning.
If I am executed, just to let you know thanks and it's been fun.
Mick
I was debugging someone's bot yesterday and sent a handful of progress reports (unsolicited, of course) that broke this unwritten rule, so my days may be numbered.
I've "appealed" to the Prof, pointing out that I have invested quite a bit of time into building credibility (and three bots) before revealling my evil plan. I understand the need for this control, but I am wondering if my account really IS about to be deleted. Kind of puts the Kibosh on my plans to work on my bots this morning.
If I am executed, just to let you know thanks and it's been fun.
Mick
» More new posts: Doghead's Cosmic Bar