What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Calculator (v1.20.011)

Pages: (5): « First « 1 2 3 [ 4 ] 5 » Last »
[Release] Calculator (v1.20.011)
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: [Pre-Release] Calculator
quote:
Originally posted by Shondoit
Instead of adding another command, use and empty /calc command to open the quickcalc...
so '/calc 8+5' will send '8+5=12' (:p)
and '/calc' will open the quickcalc...
Thats sounds like a good idea... Just check to see if there are any params sent or not :D Script is looking awesome so far :p
<Eljay> "Problems encountered: shit blew up" :zippy:
09-30-2006 07:45 PM
Profile PM Find Quote Report
Andrew_H
Junior Member
**

Avatar

Posts: 30
31 / Male / –
Joined: Aug 2006
RE: [Pre-Release] Calculator
Thats cool!:D

P.S. Off Topic: What version of messenger are you using? It dosn't look like mine.
09-30-2006 08:25 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: [Pre-Release] Calculator
quote:
Originally posted by Andrew_H
P.S. Off Topic: What version of messenger are you using? It dosn't look like mine.

Looks like WLM with the Vista skin and a background set
<Eljay> "Problems encountered: shit blew up" :zippy:
09-30-2006 08:31 PM
Profile PM Find Quote Report
davidpolitis
Full Member
***


Posts: 371
Reputation: 16
Joined: Aug 2006
Grin  RE: [Pre-Release] Calculator
Sorry to be off-topic, but wouldn't care to share your messenger skin or background in This Screenshot?

Also, by the way SpunkyLoveMuff your websites download for PSM+ is wrong, it links to another script.

This post was edited on 09-30-2006 at 09:33 PM by davidpolitis.
09-30-2006 09:24 PM
Profile PM Find Quote Report
Zahid™
Senior Member
****

Avatar

Posts: 954
Reputation: 18
– / Male / Flag
Joined: Nov 2005
RE: [Pre-Release] Calculator
quote:
Originally posted by davidpolitis
Sorry to be off-topic, but wouldn't care to share your messenger skin in This Screenshot?
Its:
quote:
Originally posted by SpunkyLoveMuff
WLM with the Vista skin and a background set
[Image: Zahid.png]
09-30-2006 09:32 PM
Profile PM Web Find Quote Report
vaccination
Veteran Member
*****

Avatar

Posts: 2513
Reputation: 43
32 / Male / –
Joined: Apr 2005
RE: [Pre-Release] Calculator
Yay great to see a pre-release, i love it <3

Can't wait for the final :P


[Image: spleakef5.png]

Spleak is smart :tongue:

This post was edited on 09-30-2006 at 11:39 PM by vaccination.
[Image: jumbled.png]
09-30-2006 11:33 PM
Profile PM Find Quote Report
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
RE: [Pre-Release] Calculator
Sweet pre-release! This (like all your other work) is very professional, Mattike! (Y)(Y)


In the QC, I can't quite use the letters (A-F) for hex, because the calculator doesn't parse them. Also, it might be better to convert expressions before making the calculations in other bases (so that 10+10 in binary = 100; maybe split modes to "input" and "output"). And degrees, radians and grads! :D

Again, super script!

This post was edited on 10-01-2006 at 11:57 PM by phalanxii.
10-01-2006 12:32 AM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
O.P. RE: [Pre-Release] Calculator
quote:
Originally posted by Shondoit
Instead of adding another command, use and empty /calc command to open the quickcalc...
so '/calc 8+5' will send '8+5=12' (:p)
and '/calc' will open the quickcalc...
Hmm... never thought about that. That will indeed make things easier.
And maybe, I can make '/calc pref' to open the preferences and '/calc abt' to open the about window...
That way, I only have one command left. :lol:

quote:
Originally posted by phalanxii
In the QC, I can't quite use the letters (A-F) for hex, because the calculator doesn't parse them.
I am aware of this. They were just meant to note that you will be able to use hexadecimal values, but not by simply typing them. I'll make the script to use special functions to let the user specify what mode should be used. For example, I'll make Hex(FF) to result in 255, so you can calculate with different modes. (e.g.: substracting hexadecimal numbers from binary numbers and returning the octal result)
quote:
Originally posted by phalanxii
Also, it might be better to convert expressions before making the calculations in other bases (so that 10+10 in binary = 100; maybe split modes to "input" and "output").
See previous reply. :P
quote:
Originally posted by phalanxii
And degrees, radians and grads! :D
Yes yes, I'll look for that. :)
quote:
Originally posted by phalanxii
Sweet pre-release! This (like all your other work) is very professional, Mattike! (Y)(Y)
...
Again, super script!
Hehe, thanks! :D

This post was edited on 10-02-2006 at 05:09 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
10-02-2006 05:03 PM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: [Pre-Release] Calculator
quote:
Originally posted by Mattike
quote:
Originally posted by phalanxii
In the QC, I can't quite use the letters (A-F) for hex, because the calculator doesn't parse them.
I am aware of this. They were just meant to note that you will be able to use hexadecimal values, but not by simply typing them. I'll make the script to use special functions to let the user specify what mode should be used. For example, I'll make Hex(FF) to result in 255, so you can calculate with different modes. (e.g.: substracting hexadecimal numbers from binary numbers and returning the octal result)
do as JScript does (and other languages) add a prefix to the numbers instead of creating extra functions:
eg:

0x?? for binary numbers
or h01DF4B, o1472, b0110, etc

it is a lot easier/shorter to write:

/calc h01DF4B + h412F

than:

/calc Hex(01DF4B) + Hex(412F)

Also, using the function Hex() like Hex(FF) doesn't make sense when you compare it to how such functions work in other languages and stuff. Hex() is to convert something to a hex number, not vice versa. Just like Cos() is used to calculate the cosinus not to convert a cosinus to something else.

And then you could still use those extra functions, but to change the output to some base. which would be more logical IMHO. eg:

/calc Oct(h01DF4B + b110110)



This post was edited on 10-02-2006 at 05:58 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-02-2006 05:54 PM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
O.P. RE: [Pre-Release] Calculator
quote:
Originally posted by CookieRevised
h01DF4B, o1472, b0110, etc
There you have a good point. I think I'll try these. :D
quote:
Originally posted by CookieRevised
And then you could still use those extra functions, but to change the output to some base. which would be more logical IMHO. eg:

/calc Oct(h01DF4B + b110110)
Well, for changing the output I already have:
code:
/calc oct 8+5
so I don't need them. ;)

* Matti opens his project files... :)

EDIT: Yay! I made the modes working! hA now results in the decimal number 10, just as o12 and b1010. :D
Now, I'll have to make the negative numbers work... :-/ (e.g.: h-A)

This post was edited on 10-03-2006 at 05:03 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
10-03-2006 03:56 PM
Profile E-Mail PM Web Find Quote Report
Pages: (5): « First « 1 2 3 [ 4 ] 5 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On