Deathclock
mIRC Code
+ 2 likes
Please Register to submit score.
| Average Score | 7.0 (of 3 scores) |
| Date Added | Mar 26, 2009 |
| Last Updated | Mar 27, 2009 |
| Tags | deathclock |
Introduction
Syntax:
~deathclock <date> <month> <year> <sex> <mode> <body mass index> <smoker>
- modes can be < normal | pessimistic | sadistic | optimistic >
- sex can be < male | female >
- smoker can be < yes | no >
Example:
~deathclock 25 7 1984 male optimistic 25 yes
edit:
added a bit more error checking
mIRC Snippet:
Deathclock
Posted on Mar 26, 2009 11:57 am
Posted on Mar 26, 2009 11:57 am
What if your an hermaphrodite like Jonesy? What would you put then?
And the 'Smoking' part, does that cover bongs?
And the 'Smoking' part, does that cover bongs?
mIRC Snippet:
Deathclock
Posted on Mar 26, 2009 12:02 pm
Posted on Mar 26, 2009 12:02 pm
"What if your an hermaphrodite like Jonesy? What would you put then?"
unfortunatley they cant use this snippet. :-(
"And the 'Smoking' part, does that cover bongs?"
yea, why not.
unfortunatley they cant use this snippet. :-(
"And the 'Smoking' part, does that cover bongs?"
yea, why not.
mIRC Snippet:
Deathclock
Posted on Mar 26, 2009 12:07 pm
Posted on Mar 26, 2009 12:07 pm
lol, good to have that cleared up.
Just spent 10 minutes looking over the script, looks good, haven't had a chance to test it yet, but for the layout, i'll give you a 4/10, when i've tested it, i'll update the rating accordingly :)
Just spent 10 minutes looking over the script, looks good, haven't had a chance to test it yet, but for the layout, i'll give you a 4/10, when i've tested it, i'll update the rating accordingly :)
mIRC Snippet:
Deathclock
Posted on Mar 26, 2009 12:51 pm
Posted on Mar 26, 2009 12:51 pm
Nice Job PunkTuReD ! Only the results are in difference (+- 13 years) when using the same info but thats not a scripting fault :) Well done man 7/10
mIRC Snippet:
Deathclock
Posted on Mar 26, 2009 2:43 pm
Posted on Mar 26, 2009 2:43 pm
I saw someone wanting one of these on forums nice work as always
mIRC Snippet:
Deathclock
Posted on Mar 26, 2009 3:33 pm
Posted on Mar 26, 2009 3:33 pm
you should look over the code again.
on the elseif line you used $4 instead of $3
on the output you could make it like this
anyways nice work
| Code: |
| if ($3 isnum) { set %dc.month $3 } elseif ($4 !isnum) { msg # month has to be a number. | halt } |
on the elseif line you used $4 instead of $3
on the output you could make it like this
| Code: |
| on *:sockread:deathclock: { var %sockread | sockread %sockread if ($regex(%sockread,/ <b>(.+)<\/b>/g)) { msg %dc.targ Your Personal Day of Death is... $remove($regml(1), ) | unset %dc.* } } |
anyways nice work
mIRC Snippet:
Deathclock
Posted on Mar 26, 2009 8:01 pm
Posted on Mar 26, 2009 8:01 pm
Ha! I was just getting ready to post the same script Only mine has different syntax.
DeathClock mm/dd/yyyy m|f s|n bmi. s|n, bmi optional. Then I just had !pessimistic
!sadistic !optimistic to refer to the last call. Here is my bmi alias anyway ;/
At least I looked first this time ;/
DeathClock mm/dd/yyyy m|f s|n bmi. s|n, bmi optional. Then I just had !pessimistic
!sadistic !optimistic to refer to the last call. Here is my bmi alias anyway ;/
| Code: |
| ;Syntax $1 = weight in lbs $2 = height in inches alias bmi { return $round($calc(($1 * 703) / ($2 * $2)),0) } |
At least I looked first this time ;/
mIRC Snippet:
Deathclock
Posted on Mar 26, 2009 11:29 pm
Posted on Mar 26, 2009 11:29 pm
Excellent work! Thanks so much..will be a lot of fun!
mIRC Snippet:
Deathclock
Posted on Mar 27, 2009 12:18 am
Posted on Mar 27, 2009 12:18 am
@Slickone ahh shoot cheers, fixed. and updated the output to Slickone's.
@Aucun yea i put in the description, it was a request but i thought it had a place here too.
@EveryoneElse cheers glad u like.
yea i might add some more checks on to check month etc
dont want people putting 13 for month for example.
@Aucun yea i put in the description, it was a request but i thought it had a place here too.
@EveryoneElse cheers glad u like.
yea i might add some more checks on to check month etc
dont want people putting 13 for month for example.












