Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Re: Love calculator script for "pinocchioh "

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,30570
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Re: Love calculator script for "pinocchioh "
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1] 2   next >   >>
Login
Message << Older Topic   Newer Topic >>
 Re: Love calculator script for "pinocchioh " - 2/2/2006 4:56:38 AM   
  hamboy

 

Posts: 94
Score: 6
Joined: 7/11/2005
Status: offline
From:
pinocchioh

To:
hamboy

Date:
2/2/2006 12:50:02 AM

Subject:
hey can u help me??


hey,
for school i have to make a script called "Love Calculator"
i'm using the VBScript in microsoft word

it should be as following:
the user can enter two names;
let's say Paul and Lisa
then it will calculate all the same letters cumulative;
P(1) A(2) U(1) L(2) I(1) S(1)
then it counts the first and the last cum # of the letters so;
1+1=2 (P+S) 2+1=3 (A+I) and 1+2=3 (U+L)
then again;
2+3=5 and 3, total gives 53% (it goes on until it reaches a number from 1-100)
the interface should now say
"Paul and Lisa match each other 53%"

the problem is, i have no idea how to start or what to use at all! :(
and i have to have it done this saturday
can you give me some hints..make the start or a part (or make the full thing  but i know you guys don't do that)
or has there ever been a script that kind of works like this one on this site?

thanks in advance! i really need help :(
pinocchioh  
------------------------------------------------------------------------------------------------------------------------
This sounds like a really fun problem... is that how they actually calcuate love online?
eitherway, this script shouldn't be too hard. give me some time to work it out
 
 
Post #: 1
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 5:01:49 AM   
  pinocchioh

 

Posts: 5
Score: 0
Joined: 2/2/2006
Status: offline
hey thanks
does this mean you're going to make the full thing?
u can't imagine how much i love u right now 
how long do u think it will take u? i have to have it done feb 4th max!

(in reply to hamboy)
 
 
Post #: 2
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 5:12:41 AM   
  hamboy

 

Posts: 94
Score: 6
Joined: 7/11/2005
Status: offline
give me till tomorrow? i should be done by then..

I've just recently learnt vbscript.. so my tactic may not be the best, but i'm sure I can solve a simple problem like this
hopefvully once I'm done, some one with more experience can take a look and make imporovements if necessary.

(in reply to pinocchioh)
 
 
Post #: 3
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 5:15:06 AM   
  pinocchioh

 

Posts: 5
Score: 0
Joined: 2/2/2006
Status: offline
yes i will give u till tomorrow
i don't know what ur gonna use but i will PM u some things that we've "learned" on school
so my teacher won't be like: we've never had this before

(in reply to hamboy)
 
 
Post #: 4
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 5:27:57 AM   
  hamboy

 

Posts: 94
Score: 6
Joined: 7/11/2005
Status: offline
got your pm.. hmm  havne't used it for awhile.. good way to refresh my memories

(in reply to pinocchioh)
 
 
Post #: 5
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 7:18:27 AM   
  kirrilian


Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
id use a scripting dictionary to store the letters that have already been used, that would be easiest


how many people did this pinocchioh person pm to get them to write this script for them?

_____________________________

Have you searched here ?
VBScript Fundamentals
My Site

(in reply to hamboy)
 
 
Post #: 6
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 7:22:15 AM   
  Cybex


Posts: 412
Score: 0
Joined: 9/14/2005
From: Florida
Status: offline
I got the same PM request for help.

Cybex

_____________________________

Common sense is not so common.

(in reply to kirrilian)
 
 
Post #: 7
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 7:25:39 AM   
  Cybex


Posts: 412
Score: 0
Joined: 9/14/2005
From: Florida
Status: offline
I seriously doubt their teacher has covered using dictionaries yet...

He needs to do most of this himself or he will just be worse off later on...
I have no problem helping him but he needs to understand this if it is part of a class.  Why would you take the class if you didn't want to learn it?

Cybex

_____________________________

Common sense is not so common.

(in reply to Cybex)
 
 
Post #: 8
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 7:53:39 AM   
  pinocchioh

 

Posts: 5
Score: 0
Joined: 2/2/2006
Status: offline
i've sent hamboy some files in which you can see what we kind of use

(in reply to Cybex)
 
 
Post #: 9
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 7:59:49 AM   
  Cybex


Posts: 412
Score: 0
Joined: 9/14/2005
From: Florida
Status: offline
First thing you have to do is get the variable strings into the script. (inputbox)
Then you have to break the string up letter by letter.  (Mid in a For Next)
Push each letter into an array as a unique element in the array.
Then loop through each element in each of the arrays and compare it to the other elements, if it matches count it (start variable = 1 and then on match variable = variable  + 1)
After you have compared each element in both arrays you should have a total value to finish the math against.
 
This is barebones, but it gives you an idea.  I got the first half coded in about 10 minutes.  The match count is somewhat trickier.  I doubt I will post my script but please post yours and we will help you along.
 
 
Cybex

_____________________________

Common sense is not so common.

(in reply to Cybex)
 
 
Post #: 10
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 8:37:11 AM   
  hamboy

 

Posts: 94
Score: 6
Joined: 7/11/2005
Status: offline
that's ok... It's a good practice for me too...

what they say is true that you have to do it yourself in order to learn...
but from my experince, people learn better if you help them out in their first few scripts.. then they get a jist of it and not only do they learn, but they will also enjoy it, instead of having to go through all those fustration and wasting time.

(in reply to Cybex)
 
 
Post #: 11
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 11:24:26 AM   
  hamboy

 

Posts: 94
Score: 6
Joined: 7/11/2005
Status: offline
Ok finally done...hmm... i got 74% with my current gf.. is that a bad thing?

anyway, since you requested not to post the code here... how do you want to receive the script?

(in reply to hamboy)
 
 
Post #: 12
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 11:46:48 AM   
  Cybex


Posts: 412
Score: 0
Joined: 9/14/2005
From: Florida
Status: offline
Bull, if you are going to give it to him aleast post it publicly to help others that are willing to read and learn.  He is getting it written for him, why does he get to establish how it gets posted?


Cybex

***EDIT***

I don't have anything against helping him it just seems shady the way he PM everyone asking for someone to write it for him and then he doesn't want it posted in the open forum so his instructor can't see where he got the code or something.  I work with a few people who have degrees and certs that dont know their a** from a hole in the ground so I disagree with giving people the answers versus helping them understand the problem.

< Message edited by Cybex -- 2/2/2006 3:04:03 PM >


_____________________________

Common sense is not so common.

(in reply to hamboy)
 
 
Post #: 13
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/2/2006 7:31:14 PM   
  ginolard


Posts: 1068
Score: 21
Joined: 8/10/2005
Status: offline
quote:

then it counts the first and the last cum


*snigger*

I think your Love Calculator might be getting a little TOO over-eager.

(in reply to Cybex)
 
 
Post #: 14
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/3/2006 12:52:44 AM   
  Country73


Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
Just wanted to make a little comment on this current post.

This forum was setup to help out other scripters (give them a helping hand and share the knowledge for anyone that visits this site).

I don't believe this forum was setup for individuals to locate specific individuals to do their work for them.
Helping out a fellow scripter is fine, but the information should be passed along for everyone else.

(in reply to hamboy)
 
 
Post #: 15
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/3/2006 1:56:45 AM   
  crazymatt

 

Posts: 296
Score: 0
Joined: 3/4/2005
From:
Status: offline
*agrees*

_____________________________

-There is only 10 sorts of people, those who understand binary and those who dont.

(in reply to Country73)
 
 
Post #: 16
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/3/2006 1:59:53 AM   
  kirrilian


Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
actually this is for school work looks like. i dont mind helping, but i wont write something for someone that they need to learn themselves

_____________________________

Have you searched here ?
VBScript Fundamentals
My Site

(in reply to crazymatt)
 
 
Post #: 17
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/3/2006 2:01:04 AM   
  hamboy

 

Posts: 94
Score: 6
Joined: 7/11/2005
Status: offline
"i'm just one of those non political guys that script for fun".. but i agree, what cybrex & country said is right..
I'll post the script when I get back from the slave pit/over the weekend...

(in reply to Country73)
 
 
Post #: 18
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/3/2006 2:49:40 AM   
  pinocchioh

 

Posts: 5
Score: 0
Joined: 2/2/2006
Status: offline
i never told him he couldn't post it, i just wanted my name out of here...

(in reply to hamboy)
 
 
Post #: 19
 
 RE: Re: Love calculator script for "pinocchioh &q... - 2/4/2006 11:55:20 AM   
  pinocchioh

 

Posts: 5
Score: 0
Joined: 2/2/2006
Status: offline
quote:

ORIGINAL: hamboy
I'll post the script when I get back from the slave pit/over the weekend...


upping to remind u

(in reply to hamboy)
 
 
Post #: 20
 
 
Page:   [1] 2   next >   >>
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Re: Love calculator script for "pinocchioh " Page: [1] 2   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts