Documentation about Squirrel programming language can be found here:
local victim = EntIndexToHScript(params.entityid)
printl("Name " + victim.GetName())
printl("Health " + victim.GetHealth())
printl("Classname " + victim.GetClassname())
printl("Survivor " + victim.IsSurvivor())
printl("Playername " + victim.GetPlayerName())
printl("Vic is incap : " + victim.IsIncapacitated())
printl("Vic is dying : " + victim.IsDying())
printl("Vic is dead : " + victim.IsDead())
local attacker = GetPlayerFromUserID(params.attacker)
printl(attacker.GetPlayerName())
printl(GetCharacterDisplayName(attacker))