Why doesn't work this code?
Ive testet it but it won't work!
Please help me
alias mta.join {
/set %warn [ $+ [ $2 ] ] 0
}
alias mta.kill {
if ( $3 != $2 ) {
/set %killed [ $+ [ $2 ] ] $3
mta.say $1 $mta.name($1,$2) $+ , du kannst $mta.name($1,$3) vergeben indem du !forgive $3 eintippst in 10 Sekunden
timer.k 1 10 mta.killer $1 $2 $3
}
}
alias mta.text {
if ( ( $3 == !forgive ) && ( $4 != $null ) ) {
if ( $4 == %killed [ $+ [ $2 ] ]) {
unset %killed [ $+ [ $2 ] ]
timer.k off
mta.say $1 $mta.name($1,$2) vergibt dem Killer
}
}
if ( $3 == !warning ) {
if ( ( $4 == $null ) || ( $4 isalpha ) ) {
mta.say $1 $mta.name($1,$2) $+ , du hast %warn [ $+ [ $2 ] ] Verwarnung(en)
mta.say $1 Wenn du noch $calc( 3 - %warn [ $+ [ $2 ] ] ) bekommst wirst du gekickt!
}
else mta.say $1 $mta.name($1,$4) hat %warn [ $+ [ $4 ] ] Verwarnungen!
}
}
alias mta.killer {
if ( %killed [ $+ [ $2 ] ] != $null ) {
inc %warn [ $+ [ $3 ] ]
if ( %warn [ $+ [ $3 ] ] == 3 ) {
mta.say $1 $mta.name($1,$3) $+ , du wurdest gewarnt jetzt ist es aus!
mta.kick $1 $3
unset %killed [ $+ [ $2 ] ]
}
else {
mta.say $1 $mta.name($1,%killed [ $+ [ $2 ] ]) $+ , Du bekommst eine Warnung wegen Killen im STUNT Modus
unset %killed [ $+ [ $2 ] ]
}
}
}