- Oct 24, 2004
- 232
- 1
- 65
Can anyone help me out?
Ive had a problem with the admin npc that repairs the Mudwall (MONGCHON not SABUK) Walls/Palace walls.
Script below:
It doesnt repair the walls or dispatch archers, it displays as below:
Uploaded with ImageShack.us
Also anyone from any guild can use it. Im unsure what the coding part for that would be, is it;
#IF
CHECKGUILDADMIN
Thanks.
Code.
Ive had a problem with the admin npc that repairs the Mudwall (MONGCHON not SABUK) Walls/Palace walls.
Script below:
Code:
; ===================================
; Npc Def NPC File : Administrator-0150
; SabukWall Administrator
; -----------------------------------
; Name: Administrator
; Job:
; Map No: 0150
; Pos X
; Pos Y
; File name: *removed*
; Comment: SabukWall Administrator
;================================================= =
;
[@main]
#SAY
Sabuk Is owned by <$OWNERGUILD> and controlled by <$LORD>.\
The total gold of the castle is: <$CASTLEGOLD>.\
Todays income is: <$TODAYINCOME>\ \
<WithDraw Cash/@@withdrawal>\
<Store Cash/@@receipts>\
<Control Main Gate/@treatdoor>\
<Repair Castle gate and walls/@repaircastle>\
<Hire Archers/@hirearchers>\
;--------------------------------------------------
;Door control
[@treatdoor]
The Castle Door is currently <$CASTLEDOORSTATE>\ \
<Close the main gate/@closemaindoor>\
<Open the main gate/@openmaindoor>\
<Back/@main>\
[@openmaindoor]
The main gate is now open.\ \
<Back/@treatdoor>\
[@closemaindoor]
The main gate is now closed.\ \
<Back/@treatdoor>\
;--------------------------------------------------
;Repair walls and doors
[@repaircastle]
What do you want to repair?\ \
<Repair the main door./@repairdoor>\
<Repair castle walls./@repairwalls>\
<Back/@main>\
[@repairdoor]
It will cost <$REPAIRDOORGOLD> to repair the Door!\ \
<Repair Door Now/@repairdoornow>\
<Back/@repaircastle>\
[@repairwalls]
It will cost <$REPAIRWALLGOLD> to repair the Wall.\ \
<Repair Wall./@repairwallnow1>\
<Repair Wall./@repairwallnow2>\
<Repair Wall./@repairwallnow3>\
<Back/@repaircastle>\
;--------------------------------------------------
;Guard cammand
[@guardcmd]
Do you want ot hire Archers?.\ \
<Hire more Archers./@hirearchers>\
<Command order?./@commandorder>\
<Back/@main>\
[@hirearchers]
Do you want to hire some Arch's?\
They dont Come free, they will cost \
<$ARCHERFEE> each.\ \
Hire <Archer1/@hirearchernow1>, <Archer2/@hirearchernow2>, <Archer3/@hirearchernow3>\
Hire <Archer4/@hirearchernow4>, <Archer5/@hirearchernow5>, <Archer6/@hirearchernow6>\
Hire <Archer7/@hirearchernow7>, <Archer8/@hirearchernow8>\
Hire <Archer9/@hirearchernow9>, <Archer10/@hirearchernow10>\
Hire <Archer11/@hirearchernow11>, <Archer12/@hirearchernow12>\
<Back/@main>\
[@commandorder]
Guards are currently set to <$GUARDRULE>.\
Do you want to Change it?\ \
<Guards normal operation/@guardrule_normalnow>\
<Guards attack pk's on site/@guardrule_pkattack>\
<Back/@guardcmd>\
It doesnt repair the walls or dispatch archers, it displays as below:
Uploaded with ImageShack.us
Also anyone from any guild can use it. Im unsure what the coding part for that would be, is it;
#IF
CHECKGUILDADMIN
Thanks.
Code.
Last edited: