Love calculator

By QuickStep on Jul 07, 2005

Start it by typing /lovecalc , have fun

alias lovecalc dialog -mdrv love love

dialog love {
  Title "The Love Calculator"
  size -1 -1 150 70
  option dbu
  edit "Person 1", 1, 10 10 60 10
  edit "Person 2", 2, 80 10 60 10
  button "Calculate", 3, 50 30 50 12
  edit "0%", 4, 60 50 30 10, read
}
on *:dialog:love:sclick:3:did -o love 4 1 $+($love($did(1),$did(2)),%)
alias love return $round($randompercent($asccount($+($1,$$2))),1)
alias -l randompercent return $calc(($sin($$1) + 1) / 2 * 100)
alias -l asccount {
  var %a = 1, %t
  while (%a <= $len($$1)) {
    %t = $calc(%t + $asc($lower($mid($1,%a,1))))
    inc %a
  }
  return %t
}

Comments

Sign in to comment.
Corne   -  Jul 28, 2005

I tried to figure out what it does but it doesnt make any sense to me, could you tell us/me what it does ? (I put Corne - Corne and I got 97.7....)

 Respond  
aeros   -  Jul 11, 2005

NICE :)

I put in aeros and quickstep and got 81.1% :D

loVES ya too

 Respond  
DarthReven   -  Jul 08, 2005

Interesting QuickStep

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.