quote:
Originally posted by xsouldeath
your code worked like a charm for my bot good stuff
lol one step closer to smarterchild lol..
the only thing is i can't exactly make an online or internally stored database(don't know how)
to resolve people's emails to their real name or "nickname"
that the bot can greet them with.
I could of course hard code the "emails" in...but I rather let it say
"what is your name"
(get name)
then the bot remembers the name
and then they can perhaps change their name if there so foolish as to type a wrong name or w/e
I think you don't understand what the
Origin parameter is. It is the screen name of the contact which send the message. This should not be stored in an "internal database" at all as this can and will change. Let alone you should ask "what is your name" for a greeting as that has got nothing todo with
Origin.
As we have suggested in your other thread, before starting to make scripts, learn the basic scripting principles. This includes the available methods, properties and objects and what they all do.
Sorry to say it but you seem to be a runner who don't know how to walk and don't know what a shoe is or how to put it on (so to speak).
Don't take this offensive, we are here to help you. But if you don't first learn how to do things properly and don't understand the basics involved you will have one problem after the other (as it already shows in your other thread) all the time.