Npc Help

Play Now

Karl

LOMCN VIP
VIP
Mar 8, 2004
897
34
255
Gloucester
[Gary]™ said:
please could somebody post the npc code for a guild house

thanks in advance.

Not possible unless you say actually what you want this NPC to do, elaborate and I may post you one.
 

brimble2010

Dedicated Member
Dedicated Member
Jul 27, 2003
194
0
92
death server have made a auto guild house npc, i want to do this too but havent figured out how yet lol
 

Karl

LOMCN VIP
VIP
Mar 8, 2004
897
34
255
Gloucester
i think i have a good idea what it is, but the script is very complex, currently working on one.
 

brimble2010

Dedicated Member
Dedicated Member
Jul 27, 2003
194
0
92
how did u do it soli?

btw is there a way for an npc to sell a palace key just once?
 

Elvin

Golden Oldie
Golden Oldie
May 14, 2003
1,155
1
175
middlesex
;Info [ Npc Name{EstateAgent} X=16 Y=8 MapName={Palace} ]
;GH for palace only
[@Main]
#IF
CHECK [800] 1
#ACT
goto @Main-1
#ELSESAY
<$USERNAME>,
For a one time fee i can give you access to the\
Sabuk Guild House. If you are in the guild that\
owns it then you may use it ^_^\ \
<how much?/@price>\
<Nah/@exit>

[@Main-1]
#IF
CHECK [800] 1
#ACT
mapmove 66
break

[@price]
#IF
check $ownerguild
#SAY
its 500k one time fee\ \
<Go for it/@go>\
<Nah/@Exit>
#ELSESAY
You are not in the sabuk wall guild...\ \
<Good point/@exit>

[@go]
#IF
checkgold 500000
#ACT
SET [800] 1
take gold 500000
#SAY
Congrats now if you are in sabuk guild\
you may use the guild house :D\ \
Next time you click me i will tele you there\ \
<Kewl/@exit>

npc for inside the palace for only sabuk wall holders