What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » AddTimer makes msn crash

AddTimer makes msn crash
Author: Message:
Dauntless
Junior Member
**


Posts: 16
– / Male / –
Joined: Aug 2006
O.P. RE: RE: AddTimer makes msn crash
quote:
If you read your code you'd understand that because you don't do that, it causes your whole code to fail. Also doing that won't make the command show, as it returns the message if it is counting.
I wrote this myself! I just only thought about the first time the event is triggerd (when you type /countdown).

Now, it's really not that complex... I mean, how complex can 100 lines of basic JScript be...

The flow of the program:
-receive message
-check if its a command (checkCommand())
-if its a command, what command? (getCommand())
-switch between the known commands (switch statement)
-if the command is 'countdown', call 'countDown()'
-add a timer and send a message (sendMessage)

Since JScript doesnt support propper OO, I can't put this in nice, structured classes ;).

And from your code, i take it that type conversion is done automaticly ?
08-10-2006 07:45 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
AddTimer makes msn crash - by Dauntless on 08-10-2006 at 12:08 AM
RE: AddTimer makes msn crash - by Silentdragon on 08-10-2006 at 12:36 AM
RE: RE: AddTimer makes msn crash - by Dauntless on 08-10-2006 at 12:49 AM
RE: AddTimer makes msn crash - by cloudhunter on 08-10-2006 at 01:09 AM
RE: AddTimer makes msn crash - by Silentdragon on 08-10-2006 at 03:17 AM
RE: RE: AddTimer makes msn crash - by Dauntless on 08-10-2006 at 07:45 AM
RE: AddTimer makes msn crash - by Silentdragon on 08-10-2006 at 07:51 AM
RE: AddTimer makes msn crash - by RaceProUK on 08-10-2006 at 08:43 AM
RE: RE: AddTimer makes msn crash - by Dauntless on 08-10-2006 at 08:49 AM
RE: AddTimer makes msn crash - by -dt- on 08-10-2006 at 08:56 AM
RE: AddTimer makes msn crash - by Dauntless on 08-10-2006 at 08:57 AM
RE: AddTimer makes msn crash - by -dt- on 08-10-2006 at 09:05 AM
RE: RE: AddTimer makes msn crash - by Dauntless on 08-10-2006 at 09:10 AM


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