[cubescript]
// like a boos
alias likeaboss [ if (= $arg1 4) [ if (= (player1 cn) $arg2 ) [ say "%Good job, team!" ] ] ]
alias onFlag [ likeaboss $arg1 $arg2; ]
// autosorry
alias srymsgpost [ "hey %1! sorry :c" "sorry %1! :/" "sorry %1! u.u" "sorry %1! :|" ]
alias smessage [ strmsg = (at $srymsgpost (rnd 4)); result (format $strmsg $arg1) ]
alias autosorry [
if (&& (= $arg1 (player1 cn) ) (= (curmodeattr "team") 1 ) ) [
if (!= $arg1 $arg2 ) [
if (= (player1 team) (player $arg2 team) ) [
plname = (findpn $arg2); sleep 500 [voicecom sorry (smessage $plname)]
]
]
]
]
alias onKill [ autosorry $arg1 $arg2 ]
[/cubescript]
// like a boos
alias likeaboss [ if (= $arg1 4) [ if (= (player1 cn) $arg2 ) [ say "%Good job, team!" ] ] ]
alias onFlag [ likeaboss $arg1 $arg2; ]
// autosorry
alias srymsgpost [ "hey %1! sorry :c" "sorry %1! :/" "sorry %1! u.u" "sorry %1! :|" ]
alias smessage [ strmsg = (at $srymsgpost (rnd 4)); result (format $strmsg $arg1) ]
alias autosorry [
if (&& (= $arg1 (player1 cn) ) (= (curmodeattr "team") 1 ) ) [
if (!= $arg1 $arg2 ) [
if (= (player1 team) (player $arg2 team) ) [
plname = (findpn $arg2); sleep 500 [voicecom sorry (smessage $plname)]
]
]
]
]
alias onKill [ autosorry $arg1 $arg2 ]
[/cubescript]