mIRC Snippet:
Deathmatch
Posted on May 20, 2008 12:11 pm
Posted on May 20, 2008 12:11 pm
LMFAO!
Fark owns you tbh ._.
--
About the snippet: Added a flood protection ( A small, very small one )
Fark owns you tbh ._.
--
About the snippet: Added a flood protection ( A small, very small one )
mIRC Snippet:
Deathmatch
Posted on May 20, 2008 9:53 am
Posted on May 20, 2008 9:53 am
Lmao @ SnoooP, I didn't know xD
Napa182 I don't know what $floor is, i'll read in /help $floor. Thank yuuu :)
I'll update the snippet too
Napa182 I don't know what $floor is, i'll read in /help $floor. Thank yuuu :)
I'll update the snippet too
mIRC Snippet:
Deathmatch
Posted on May 19, 2008 3:06 pm
Posted on May 19, 2008 3:06 pm
nope you cant say the f word :P lol
mIRC Snippet:
Deathmatch
Posted on May 19, 2008 2:23 pm
Posted on May 19, 2008 2:23 pm
Omg thanks Jonesy <3 I found it.
I now use:
Fark, thanks man, you saved like 200 lines! ^_^
^ Wth you can't say the f word O.o
---
Oeyeah <3 100th comment
I now use:
| Code: |
var %maxhp = 99, %myhp = %Deathmatch.HPplayer1, %hpremaining = $calc(%maxhp - %myhp) msg $chan 04• 1D14m 4[3 %Deathmatch.Player1 $+ : 3,3 $str(.,$calc(%myhp / 3)) 4,4 $str(.,$calc(%hpremaining / 3)) 7(1 %myhp $+ % 7) 4] |
Fark, thanks man, you saved like 200 lines! ^_^
^ Wth you can't say the f word O.o
---
Oeyeah <3 100th comment
mIRC Snippet:
Deathmatch
Posted on May 19, 2008 2:05 pm
Posted on May 19, 2008 2:05 pm
you could use somthing like this
or w/e ur var is just add it to where %Deathmatch.HPplayer1 is
| Code: |
| $+($str($+(09,$chr(44),09,$chr(46)),$floor($calc(%Deathmatch.HPplayer1 / 1))),$str($+(04,$chr(44),04,$chr(46)),$floor($calc(99 - %Deathmatch.HPplayer1 / 1)))) |
or w/e ur var is just add it to where %Deathmatch.HPplayer1 is
mIRC Snippet:
Deathmatch
Posted on May 19, 2008 2:00 pm
Posted on May 19, 2008 2:00 pm
oh shait, sorry the 40 should have been 4.
mIRC Snippet:
Deathmatch
Posted on May 19, 2008 1:58 pm
Posted on May 19, 2008 1:58 pm
Huh wth Jonesy, I really don't get it O.O
In your code the %myhprem ends up negative but okai you say It'd work if you apply it correctly so forget that.
But in my code there are Only 20 |'s, else it ends up WAAAY to big.
Maybe i'm wrong but I think your code can give 99 |'s.
Wtf I really don't get it anymore.
| Quote: |
Code: var %maxhp = 10, %myhp = 40, myhpremain = %myhprem = $calc(%maxhp - %myhp) msg $chan <color> $+ $str(|,%myhp) $+ %myhp $+ <color> $+ $str(|,%myhprem) |
In your code the %myhprem ends up negative but okai you say It'd work if you apply it correctly so forget that.
But in my code there are Only 20 |'s, else it ends up WAAAY to big.
Maybe i'm wrong but I think your code can give 99 |'s.
Wtf I really don't get it anymore.
mIRC Snippet:
Deathmatch
Posted on May 19, 2008 12:19 pm
Posted on May 19, 2008 12:19 pm
You need to calculate it of course.
5 * 20 = 100, there's a starter equation :-)
5 * 20 = 100, there's a starter equation :-)
mIRC Snippet:
Deathmatch
Posted on May 19, 2008 10:50 am
Posted on May 19, 2008 10:50 am
and if you use $calc((%maxhp - %myhp) / 5) it can't be correct? unless you change the max hp to 100?
Or am I totally wrong?
Or am I totally wrong?
mIRC Snippet:
Deathmatch
Posted on May 19, 2008 10:49 am
Posted on May 19, 2008 10:49 am
I hardly get it but the max hp a player can get is 99, and the hpbar contains only 20 |'s. So how can you use $str with %maxhp, it could form to 99 |'s right?
mIRC Snippet:
Deathmatch
Posted on May 18, 2008 4:07 pm
Posted on May 18, 2008 4:07 pm
okay, here's an example, translate it into your code.
.. It will work if you apply it correctly >.>
| Code: |
| var %maxhp = 10, %myhp = 40, myhpremain = %myhprem = $calc(%maxhp - %myhp) msg $chan <color> $+ $str(|,%myhp) $+ %myhp $+ <color> $+ $str(|,%myhprem) |
.. It will work if you apply it correctly >.>
mIRC Snippet:
Deathmatch
Posted on May 18, 2008 2:29 pm
Posted on May 18, 2008 2:29 pm
Okai i've read it.
But this doesn't solve the problem right? you'll still get all those If statements, I think. This only replaces |||||||||| with $str(|,9) %deathmatch.HPplayer1 $str(|,9)
That's not the problem, but I need the color combinations with them too ( that's what forms the hpbar )
But this doesn't solve the problem right? you'll still get all those If statements, I think. This only replaces |||||||||| with $str(|,9) %deathmatch.HPplayer1 $str(|,9)
That's not the problem, but I need the color combinations with them too ( that's what forms the hpbar )
mIRC Snippet:
Deathmatch
Posted on May 18, 2008 2:22 pm
Posted on May 18, 2008 2:22 pm
Hmm, thanks :D
I'll read /help $str
I'll read /help $str
mIRC Snippet:
Deathmatch
Posted on May 18, 2008 11:55 am
Posted on May 18, 2008 11:55 am
okay, use $str.
ex:
btw, check out an old script of mine called "Status Imgs" or something, that used a system a little like this..
ex:
| Code: |
| $str(character,no_of_times_to_repeat) 100% $str(character,no..) |
btw, check out an old script of mine called "Status Imgs" or something, that used a system a little like this..
mIRC Snippet:
Deathmatch
Posted on May 18, 2008 11:52 am
Posted on May 18, 2008 11:52 am
mIRC Snippet:
Deathmatch
Posted on May 18, 2008 11:25 am
Posted on May 18, 2008 11:25 am
There must be a way to reduce those if statements..
instead of all this crap,
if (%Deathmatch.HPplayer2 = 1) { msg $chan 4•1 D14m 4[3 %Deathmatch.Player2 $+ : 4,4|4,4|||||||||9,4 1% 4,4|||||||||| 4] }
just do,
msg $chan 4•1 D14m 4[3 %Deathmatch.Player2 $+ : 4,4|4,4|||||||||9,4 %Deathmatch.HPplayer2 $+ % 4,4|||||||||| 4]
instead of all this crap,
if (%Deathmatch.HPplayer2 = 1) { msg $chan 4•1 D14m 4[3 %Deathmatch.Player2 $+ : 4,4|4,4|||||||||9,4 1% 4,4|||||||||| 4] }
just do,
msg $chan 4•1 D14m 4[3 %Deathmatch.Player2 $+ : 4,4|4,4|||||||||9,4 %Deathmatch.HPplayer2 $+ % 4,4|||||||||| 4]
mIRC Snippet:
[RS] dm script (With godswords)
Posted on Apr 15, 2008 11:52 am
Posted on Apr 15, 2008 11:52 am
Xpl0reR, in the world of open source it's perfectly fine to modify an existing work as long as the original work is cited.
mIRC Snippet:
[RS] dm script (With godswords)
Posted on Apr 14, 2008 10:30 am
Posted on Apr 14, 2008 10:30 am
| Quote: |
Stealing Others Scripts is lame, you stole someone's code to redo it.. soo Your Lame.. |
http://www.hawkee.com/snippet/4274/ ( mine )
http://www.hawkee.com/snippet/3052/ ( Blknbluyoshi's )
Compare.








