NPC question...

Andreas

LOMCN Member
Untrusted Member
Veteran
Mar 12, 2008
2,695
21
125
Timisoara
i know that it is , because i saw on BandetMir 2.3 , a npc that ask you for ( ex:) a book but the second time when the same players goes to him , he will not ask again fot that book...
 

Elise

Dedicated Member
Dedicated Member
Jun 1, 2008
132
4
45
North East
[@Teleport]
#IF
CheckNameList Book.txt
#ACT
Goto @reject
#ELSEACT
goto @Teleport1

[@Teleport1]
#IF
Checkitem ProphecyBook 1
#ACT
Mapmove Hell 50 50
Take ProphecyBook 1
AddNameList Book.txt
#SAY
You have been teleported to Hell !!! \ \ \ \ \
<Close/@Exit>\
#ELSESAY
You do not obtain the ProphecyBook. \ \ \ \ \
<Close/@Exit>

[@reject]
You have already took part in this quest.\ \ \ \ \
<Exit/@exit>

Use text commands like above once there name has been recorded to the txt document they will be unable to the quest again on that character.
 
Upvote 0

NewHope

Golden Oldie
Golden Oldie
Nov 18, 2005
1,311
28
184
I think he means only 1 person on the whole server using an npc, once 1 person has done it no one else can. There is a way, but i don't know it. Try looking through the IF/ACTcommands word document that comes with the mirserver files. :D
 
Upvote 0

Elise

Dedicated Member
Dedicated Member
Jun 1, 2008
132
4
45
North East
I think he means only 1 person on the whole server using an npc, once 1 person has done it no one else can. There is a way, but i don't know it. Try looking through the IF/ACTcommands word document that comes with the mirserver files. :D

Wasn`t sure tbh as his question is not 100% clear.
 
Upvote 0

TravisW

LOMCN Veteran
Veteran
Sep 4, 2007
737
17
105
i know that it is , because i saw on BandetMir 2.3 , a npc that ask you for ( ex:) a book but the second time when the same players goes to him , he will not ask again fot that book...



[@Teleport]
#IF
CheckNameList Book.txt
#ACT
Goto @reject
#ELSEACT
goto @Teleport1

[@Teleport1]
#IF
Checkitem ProphecyBook 1
#ACT
Mapmove Hell 50 50
Take ProphecyBook 1
AddNameList Book.txt
#SAY
You have been teleported to Hell !!! \ \ \ \ \
<Close/@Exit>\
#ELSESAY
You do not obtain the ProphecyBook. \ \ \ \ \
<Close/@Exit>

[@reject]
You have already took part in this quest.\ \ \ \ \
<Exit/@exit>

Use text commands like above once there name has been recorded to the txt document they will be unable to the quest again on that character.

So then this would work, just needs changed a bit. A server owner should be able to do this no problem, not ask everyone else to do it, flippin easy as pie!
 
Upvote 0