Basically, im trying to make it so when a Heaven Member kills a Hell member, after 20 kills they will instantly move to hell.
Heaven members get -10 GamePoints deducted on kill
Hell members get +10 GamePoints added on kill
(But these also don't work)
Heres the M2 Errors:
[16/02/2010 22:18:41] [QuestAction] Variable not found:Murder Command:CALCVAR NPC:QFunction Map:0(0:0) Param1:HUMAN Param2:Murder Param3:+ Param4:1 Param5: Param6:
[16/02/2010 22:18:41] [QuestAction] Variable not found:Murder Command:SAVEVAR NPC:QFunction Map:0(0:0) Param1:HUMAN Param2:Murder Param3:..\QuestDiary\Variables\Integral.txt Param4: Param5: Param6:
[16/02/2010 22:18:41] [Npc Condition Error] Cmd:CHECKVAR NPC:QFunction Map:0 (0:0) Param1:HUMAN Param2:Murder Param3:= Param4:10 Param5:
QFunction Script:
[@OnMurder]
#IF
CHECKNAMELIST ..\Npc_def\Hell.txt
#ACT
PKPOINT - 100
GAMEPOINT + 10
SENDMSG 6 " Jigoku=> You Have Commited murder my child! You will be rewarded with 10 GamePoints!"
#ELSEACT
Goto @Heaven
[@Heaven]
#IF
CHECKNAMELIST ..\Npc_def\Heaven.txt
#ACT
CalcVar HUMAN Murder + 1
SaveVar HUMAN Murder ..\QuestDiary\Variables\Integral.txt
GAMEPOINT - 10
SENDMSG 6 "Tengoku=> Your such an evil person! For Murdering, 10 GamePoints have been removed! And 10 Murder Points Have Been Added"
Goto @KillCount
[@KillCount]
#IF
CheckVar HUMAN Murder = 20
#ACT
DELNAMELIST ..\Npc_def\Heaven.txt
ADDNAMELIST ..\Npc_def\Hell.txt
SENDMSG 6 "You have now killed 20 people you evil person! You will now be moved to the Jigoku Side!"
Also M2 is rejecting the Goto @Heaven command for some reason when a heaven member kills a hell.
Heres QManage:
[@Login]
#ACT
Var Integer HUMAN Murder 0
Any help appreciated, cheers
Heaven members get -10 GamePoints deducted on kill
Hell members get +10 GamePoints added on kill
(But these also don't work)
Heres the M2 Errors:
[16/02/2010 22:18:41] [QuestAction] Variable not found:Murder Command:CALCVAR NPC:QFunction Map:0(0:0) Param1:HUMAN Param2:Murder Param3:+ Param4:1 Param5: Param6:
[16/02/2010 22:18:41] [QuestAction] Variable not found:Murder Command:SAVEVAR NPC:QFunction Map:0(0:0) Param1:HUMAN Param2:Murder Param3:..\QuestDiary\Variables\Integral.txt Param4: Param5: Param6:
[16/02/2010 22:18:41] [Npc Condition Error] Cmd:CHECKVAR NPC:QFunction Map:0 (0:0) Param1:HUMAN Param2:Murder Param3:= Param4:10 Param5:
QFunction Script:
[@OnMurder]
#IF
CHECKNAMELIST ..\Npc_def\Hell.txt
#ACT
PKPOINT - 100
GAMEPOINT + 10
SENDMSG 6 " Jigoku=> You Have Commited murder my child! You will be rewarded with 10 GamePoints!"
#ELSEACT
Goto @Heaven
[@Heaven]
#IF
CHECKNAMELIST ..\Npc_def\Heaven.txt
#ACT
CalcVar HUMAN Murder + 1
SaveVar HUMAN Murder ..\QuestDiary\Variables\Integral.txt
GAMEPOINT - 10
SENDMSG 6 "Tengoku=> Your such an evil person! For Murdering, 10 GamePoints have been removed! And 10 Murder Points Have Been Added"
Goto @KillCount
[@KillCount]
#IF
CheckVar HUMAN Murder = 20
#ACT
DELNAMELIST ..\Npc_def\Heaven.txt
ADDNAMELIST ..\Npc_def\Hell.txt
SENDMSG 6 "You have now killed 20 people you evil person! You will now be moved to the Jigoku Side!"
Also M2 is rejecting the Goto @Heaven command for some reason when a heaven member kills a hell.
Heres QManage:
[@Login]
#ACT
Var Integer HUMAN Murder 0
Any help appreciated, cheers
Last edited:
