What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Making a plugin help

Pages: (2): « First [ 1 ] 2 » Last »
Making a plugin help
Author: Message:
OWNd742
Junior Member
**

I like cheese

Posts: 29
Joined: Jan 2005
O.P. Making a plugin help
hi im trying to make a plugin for msn. and well im stuck at stage one.

dont know how to open a dll. i want to do this so i can take a look at the code and see what I have to do to make one.


anyone please msn me or write back to this forum.

goldfarb@rogers.com - msn
04-25-2005 05:39 PM
Profile PM Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
20 / Other / Flag
Joined: Jul 2003
RE: Making a plugin help
you dont disasemble dll's its wrong...


tell us what you want to do but we can provide code for you..
04-25-2005 05:40 PM
Profile PM Web Find Quote Report
OWNd742
Junior Member
**

I like cheese

Posts: 29
Joined: Jan 2005
O.P. RE: Making a plugin help
well that takes out the fun for me :(


i just wanted to add a irc script i have, it counts ur days and shit when u put in your birthday.

heres the mirc code if it helps


//code
code:
alias age {
  set %age $calc((($ctime - $ctime(1986 May 4))) /60 /60 /24 /365.2422)
  set %next.bday $duration($calc($ctime(2005 May 4) - $ctime))
  say I am $left(%age,6) years old. My Next Birthday is in %next.bday
  unset %age
}
//end of code

basically says "I am 18.976 years old. My Next Birthday is in 1wk 2days" when u say ur bday is on may 4 1986

This post was edited on 04-25-2005 at 05:49 PM by OWNd742.
04-25-2005 05:43 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Making a plugin help
to know how to make a plugin start by reading the standard help pages: http://www.msgplus.net/help_plugins.php

---------------

[OFF TOPIC]

As for the mIRC script: You forgot to unset %next.bday...

Or, even better, remove the unset command and change the set commands to:
  set -u0 %age $calc((($ctime - $ctime(1986 May 4))) /60 /60 /24 /365.2422)
  set -u0 %next.bday $duration($calc($ctime(2005 May 4) - $ctime))

This will unset the variables automatically (see the help file in mIRC).

[/OFF TOPIC]

This post was edited on 04-25-2005 at 05:56 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
04-25-2005 05:51 PM
Profile PM Find Quote Report
Tasha
Senior Member
****

Avatar

Posts: 717
Reputation: 81
31 / Female / Flag
Joined: Jan 2005
RE: Making a plugin help
quote:
Originally posted by CookieRevised
to know how to make a plugin start by reading the standard help pages: http://www.msgplus.net/help_plugins.php


Indeed. :p

I was also looking for a help, and I found a topic that may help you after you've created a plugin:

Tutorial: making an installer for your plugin in a few easy steps
www.mycutelobster.co.uk
"Of course it is happening inside your head, Harry,
but why on earth should that mean that it is not real?"
04-25-2005 05:59 PM
Profile PM Web Find Quote Report
OWNd742
Junior Member
**

I like cheese

Posts: 29
Joined: Jan 2005
O.P. RE: Making a plugin help
So can someone write that script so i can see what it would look like?

want to learn and im a fast learner for coding



Also i would like to know the program i need to dl, and mabe a link?

i have Borland C++ Compiler 5.5 but i think its for mac, cuz i cant open the friggan program...

This post was edited on 04-25-2005 at 06:04 PM by OWNd742.
04-25-2005 06:00 PM
Profile PM Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
20 / Other / Flag
Joined: Jul 2003
RE: Making a plugin help
its only math mate :)

work out age, how many months + days till birthday :)

code:
Function YMD(StartDate As Date, EndDate As Date) As String
Dim TempDate As Date
Dim NumOfYears As Long
Dim NumOfMonths As Long
Dim NumOfWeeks As Long
Dim NumOfDays As Long
Dim NumOfHMS As Double
Dim TSerial1 As Double
Dim TSerial2 As Double
NumOfYears = DateDiff("yyyy", StartDate, EndDate)
TSerial1 = TimeSerial(Hour(StartDate), _
Minute(StartDate), Second(StartDate))
TSerial2 = TimeSerial(Hour(EndDate), _
Minute(EndDate), Second(EndDate))
NumOfHMS = 24 * (TSerial2 - TSerial1)
If NumOfHMS < 0 Then
NumOfHMS = NumOfHMS + 24
EndDate = DateAdd("yyyy", -1, EndDate)
End If
StartDate = DateSerial(Year(EndDate), _
Month(StartDate), Day(StartDate))
If StartDate > EndDate Then
StartDate = DateAdd("d", -1, StartDate)
NumOfYears = NumOfYears - 1
End If
NumOfMonths = DateDiff("m", StartDate, EndDate)
StartDate = DateSerial(Year(EndDate), _
Month(EndDate), Day(StartDate))
If StartDate > EndDate Then
StartDate = DateAdd("m", -1, StartDate)
NumOfMonths = NumOfMonths - 1
End If
NumOfDays = Abs(DateDiff("d", StartDate, EndDate))
YMD = CStr(NumOfYears) & " year" & _
IIf(NumOfYears = 1, "", "s")
YMD = YMD & ", "
YMD = YMD & CStr(NumOfMonths) & " month" & _
IIf(NumOfMonths = 1, "", "s")
YMD = YMD & ", "
YMD = YMD & CStr(NumOfDays) & " day" & _
IIf(NumOfDays = 1, "", "s")
End Function


04-25-2005 06:15 PM
Profile PM Web Find Quote Report
OWNd742
Junior Member
**

I like cheese

Posts: 29
Joined: Jan 2005
O.P. RE: Making a plugin help
okay that looks nothing like C++ lol and well how is that format supposed to be initiated, like i want /age "month" "day" "year"

if u have it in that format then its all good..

04-25-2005 06:23 PM
Profile PM Find Quote Report
(CyBeRDuDe)
Senior Member
****


Posts: 512
Reputation: 21
37 / Male / –
Joined: Jul 2003
RE: Making a plugin help
Well... First of I suggest you learn programming  BEFORE you start making plugins for MSGPlus!.. That would be a great start! :P When (In a few months/years) you know how to program, either in VB or C++, then you can come back and ask the same question..... Ok?
04-26-2005 07:22 AM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Making a plugin help
It won't take as along as that to learn enough VB to write a plugin. The basics of VB can be picked up in under a week. True, C++ may take longer, but take it one step at a time: VB first, then C++.
[Image: spartaafk.png]
04-26-2005 08:25 AM
Profile PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » 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