Posts: 51
Threads: 10
Joined: Nov 2014
15 May 15, 07:59PM
(This post was last modified: 15 May 15, 07:59PM by Mhtsos.)
lolc = 0
checkinit onKill [
if (= $arg1 (player1 cn)) [
if ( = $lolc 0)[
hudecho "You have slain an enemy"
lolc = 1
][
if ( = $lolc 1 ) [
hudecho "Double kill"
lolc = 2
][
if ( = $lolc 2 ) [
hudecho "Triple kill"
lolc = 3
][
if ( = $lolc 3 ) [
hudecho "Quadra kill"
lolc = 4
][
if ( = $lolc 4 ) [
hudecho "Penta kill"
lolc = 0
sleep 10000
hudecho "Ace!"
]
]
]
]
]
]
]
Posts: 1,033
Threads: 85
Joined: Oct 2013
What's not working? My first guess is that nothing is calling it.
Posts: 51
Threads: 10
Joined: Nov 2014
(15 May 15, 08:35PM)Mousikos Wrote: What's not working? My first guess is that nothing is calling it.
Actually its not working as its supposed to.
The caller of this script is onKill
Posts: 1,033
Threads: 85
Joined: Oct 2013
Posts: 51
Threads: 10
Joined: Nov 2014
This script works my saved.cfg was a bit f*cked up