No ,no .
You don't understand my problem .
Onkill = [echo died ]
This script write "died" when any player die .
onKill (findcn $curname) = [echo died ]
this script write "died" when i kill a player .The script work .
It's the same things that :
onKill = [ if (= ($arg1) (findcn $curname)) [ echo died] ]
The advantage of first script is who avoid to do condition (if)
Now i want to make a script who write gibs when i kill a player in gibs .
I could make a script like this
onKill = [ if (= ($arg1) (findcn $curname)) [ if ($arg3)[echo gibs] [echo no gibs] ] []]
or
onKill (findcn $curname) = [ if ($arg3)[echo gibs] [echo no gibs] ]
I think he exist a techiq for the same things without the condition (if)
onkill (findcn $curname) target (curweapon) 0 = [echo gib ]
The problem is argument target .
You don't understand my problem .
Onkill = [echo died ]
This script write "died" when any player die .
onKill (findcn $curname) = [echo died ]
this script write "died" when i kill a player .The script work .
It's the same things that :
onKill = [ if (= ($arg1) (findcn $curname)) [ echo died] ]
The advantage of first script is who avoid to do condition (if)
Now i want to make a script who write gibs when i kill a player in gibs .
I could make a script like this
onKill = [ if (= ($arg1) (findcn $curname)) [ if ($arg3)[echo gibs] [echo no gibs] ] []]
or
onKill (findcn $curname) = [ if ($arg3)[echo gibs] [echo no gibs] ]
I think he exist a techiq for the same things without the condition (if)
onkill (findcn $curname) target (curweapon) 0 = [echo gib ]
The problem is argument target .