Top

Comments

  (7)  RSS
Zaiba91's
Viper01
Comments: 40
 
mIRC Snippet:  Fatality Kicker
Posted on Apr 30, 2008 6:36 am
I know, i got bored one day and just went beserk on making this lol
(I'm Zaiba91 as well so...) ^-^
mountaindew
Comments: 1308
 
mIRC Snippet:  Rizon Server Channel Modes
Posted on Apr 7, 2008 7:57 pm
/help $style

It'll make it a lot better if you checkmark the on/off or disable on/off
jonesy44
Comments: 364
 
mIRC Snippet:  Energy Sword
Posted on Mar 31, 2008 8:38 pm
on $*:text:/^[`!](esword)/Si:#: {
if ($2 == $me) || ($2 == <YourName>) {
msg $chan I will not kill myself/him!
halt
}
if ($2 !ison $chan) {
msg $chan Can't seem to find them, $nick $+ .
halt
}
else {
var %sword = $rand(1,9999999)
.timer 1 3 describe $chan rushes at $2 with an Energy Sword drawn!
.timer 1 5 describe $chan connects with $2 $+ , causing %sword damage!
if (%sword > 9000) {
if (!%pwned) {
set %pwned 0
}
inc %pwned
.timer 1 8 describe $chan watches $2 die drowning in his own blood. ( $+ %pwned people pwned.)
}
if (%sword <= 9000) {
if (!%unpwned) {
set %unpwned 0
}
inc %unpwned
.timer 1 8 describe $chan watches $2 get up, barely alive! ( $+ %unpwned unpwned people.)
}
}
}
ShAmPi
Comments: 7
 
mIRC Snippet:  Energy Sword
Posted on Mar 31, 2008 8:25 pm
Well he uses var %sword $rand(1,9999999) because he want's to show some random damage :)

And if it's lower than 9000 it doesn't kill him :)
So if you use another var for damage only and 1,2 for the output, it wouldn't fit right.

But indeed he should have done if (%sword =< 9000)


Nontheless I would do it different as well :)
DemonicDerek666
Comments: 25
 
mIRC Snippet:  Fatality Kicker
Posted on Mar 31, 2008 3:36 pm
very very interesting but i prefer to normal kick/ban
Zaiba91
Comments: 3
 
mIRC Snippet:  Energy Sword
Posted on Mar 27, 2008 3:43 pm
well, thats one way of going about it .-.
Andrew-|
Comments: 5
 
mIRC Snippet:  Energy Sword
Posted on Mar 27, 2008 7:42 am
If the local variable %sword is assigned the value 9000, what will be the outcome? :?

Because there are two possible outcomes, why don't you use $r(1,2) and if (%sword == 1) { ... } else { ... }?
Bottom