【示例脚本】
==================================PK触发==========================================================
[@KillPlay]
#if
<$CURRRTARGETNAME>.CHECKLEVELEX > 10 ;检测被杀者等级
CHECKVAR HUMAN GJZY = 1 ;检测自己
<$CURRRTARGETNAME>.CHECKVAR HUMAN GJZY = 1 ;检测被杀
#ACT
CHANGEPKPOINT + 500
SENDMSG 7 玩家【<$USERNAME>】杀死了【<$CURRRTARGETNAME>】
break
[@KillPlay]
#if
M.CHECKLEVELEX > 10 ;检测被杀者等级
CHECKVAR HUMAN GJZY = 1 ;检测自己
M.CHECKVAR HUMAN GJZY = 1 ;检测被杀
#ACT
CHANGEPKPOINT + 500
SENDMSG 7 玩家【<$USERNAME>】杀死了【<$CURRRTARGETNAME>】
break
==================================死亡触发==========================================================
[@PlayDie]
#if
L.CHECKVAR HUMAN GJZY = 1 ;检测PK者的阵营
CHECKVAR HUMAN GJZY = 1 ;检测自己的阵营
#act
L.CHANGEPKPOINT + 100 ;给PK者加PK值
L.GAMEGLORY + 2 ;给PK者加荣誉
SENDMSG 6 你被[<$KILLER>]杀死了![<$KILLER>]荣誉值增加2点!
break
[@PlayDie]
#if
<$KILLER>.CHECKVAR HUMAN GJZY = 1 ;检测PK者的阵营
CHECKVAR HUMAN GJZY = 1 ;检测自己的阵营
#act
<$KILLER>.CHANGEPKPOINT + 100 ;给PK者加PK值
<$KILLER>.GAMEGLORY + 2 ;给PK者加荣誉
SENDMSG 6 你被[<$KILLER>]杀死了![<$KILLER>]荣誉值增加2点!
break