NPC Help

PureKill

LOMCN Veteran
Veteran
Jan 27, 2007
428
2
65
United Kingdom
[@main]
<Join/@master>\
<UnJoin/@unmaster>\
<Commands/@Commands>\
<Buy Join recall item/@Recall>\
<Exit/@exit>
[@Recall]
#SAY
Would you like to buy a Master \
recall item ?
<Buy for 100k/@Buy>\
<Exit/@exit>
[@Buy]
#IF
CheckGold 100000
#ACT
Take gold 100000
Give JoinRecall 1
#SAY
There you go!\
<Back/@main>\
<Exit/@exit>
[@Commands]
#SAY
To recall : @MasterRecall\
To allow recall: @AllowMasterRecall\
Only master can recall!\
<Exit/@exit>

[@master]
Do you wish to join with a Hunting Partner \
\
<Yes/@agree>\
<Not/@exit>\ \
<Back/@main>
[@agree]
#if
checkismaster
#act
break
#say
You already have a partner \ \
<back/@main>
#if
checkmaster
#act
break
#say
=) \ \
<back/@main>
#if
checkposemaster
#say
=)\ \
<Back/@main>
#act
break
#if
checkposedir
#elsesay
You must face partner\ \
<Back/@main>
#elseact
break
;#if
checklevel > 39
;#say
You need to be Level 40 or higher\ \
<Back/@main>
#act
break
;#if
checkposelevel > 39
;#elsesay
;Hunting Partner needs to be Level 40 or higher\ \
;<Back/@main>
;#elseact
; break
#act
master
[@StartGetMaster]
Do you want to ask partner to join with you? \ \
\ \
<Yes/@RequestMaster>
[@StartMaster]
???8\ \
\ \
[@RequestMaster]
#if
#act
master requestmaster
[@WateMaster]
Please wait for partner to confirm ?\
[@RevMaster]
Do you want to join with partner? \ \
<Yes/@ResposeMaster> \
<No/@ResposeMasterFail>
[@ResposeMaster]
#if
#act
master responsemaster ok
[@ResposeMasterFail]
#if
#act
master responsemaster fail
[@EndMaster]
You are now partners\
<Exit/@exit>
[@EndMasterFail]
Something has gone wrong , maybe a disagreement\ \
<Exit/@exit>
[@MasterDirErr]
Person walked off?\
[@MasterCheckDir]
Person walked off? .\
[@HumanTypeErr]
>>Unknow error\
¿ªÊ¼
[@unmaster]
#if
havemaster
#act
unmaster
#elsesay
You do not have a partner \ \
<Eixt/@main>
[@UnMasterCheckDir]
Unjoin ??2\
\ \
<Force Unjoin/@fUnMaster>\
<Back/@main>
[@UnMasterTypeErr]
Some sort of error\ \
<Main/@main>
[@UnIsMaster]
Your not joined?\ \
<Main/@main>
[@UnMasterError]
Some sort of error\ \
<Main/@main>
[@StartUnMaster]
Do you wish to Unjoin?\ \
\ \
<Yes/@RequestUnMaster>
[@WateUnMaster]
Wait for conformation from other player \ \
[@RequestUnMaster]
#if
havemaster
#act
unmaster requestunmaster
[@ResposeUnMaster]
#if
havemaster
#act
unmaster responseunmaster
[@WateUnMaster]
Wait for conformation from other player. \ \
[@RevUnMaster]
Do you wish to Unjoin? \ \
<Yes/@RequestUnMaster>
<Back/@main>
[@ExeMasterFail]
Somthing whent wrong \ \
<back/@main>
[@fUnMaster]
#if
;checkitem 1
havemaster
#act
;take 1
unmaster requestunmaster force
#elsesay
????pp1\
<Eixt/@exit>
[@UnMasterEnd]
You are no longer joined! \ \
<Exit/@exit>

Should work.

GoodLuck
 
Upvote 0