Attack logging (finally)

there might be some things I missed, and feel free to change the messages if you want
This commit is contained in:
Miniature
2012-03-08 15:16:54 +10:30
parent 25fc27849b
commit cf53a0cc7a
23 changed files with 70 additions and 1 deletions

View File

@@ -25,6 +25,8 @@
M.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been attacked with [src.name] by [user.name] ([user.ckey])</font>")
user.attack_log += text("\[[time_stamp()]\] <font color='red'>Used the [src.name] to attack [M.name] ([M.ckey])</font>")
log_admin("ATTACK: [user] ([user.ckey]) attacked [M] ([M.ckey]) with [src].")
message_admins("ATTACK: [user] ([user.ckey]) attacked [M] ([M.ckey]) with [src].")
var/t = user:zone_sel.selecting
if (t == "head")