any 1 got a guild home npc?

smoochy boys on tour

FrEeLaNcE

Dedicated Member
Dedicated Member
Jun 3, 2004
20
0
48
daniejam said:
if they do would help alot

I persume this is what you mean

Dont forget to change some of the script to suit i.e for house key and invites

Code:
;; Hope this does the job for you 2 npcs one to get into house using key or ticket
;; One to issue tickets to the keyholder of the house

;; This one is to teleport you to the house

[@main]
Hello there i am Rasdak, i can teleport you to your house\
IF you have your housekey or an invite.\
Would you like me to teleport you now?\\
<Take me to my house../@keycheck>\
<I was invited, Let me in../@ticket>\
<Cancel/@exit>\


[@keycheck]
#IF
checkitem "ITEM TO ACT AS KEY" 1
#ACT
mapmove "MAPNAME" "X-COORDS" "Y-COORDS"
break
#ELSESAY
You either dont have your housekey on you or\
You dont have a house..\ \
<Exit/@exit>\

[@ticket]
#if
checkitem "ITEM TO ACT AS TICKETS" 1
#act
mapmove "MAPNAME" "X-COORDS" "Y-COORDS"
break
#elsesay
You dont have a invite!\
Stop wasting my time..\\
<Exit/@exit>

Code:
;; Hope this does the job for you 2 npcs one to get into house using key or ticket
;; One to issue tickets to the keyholder of the house

;; This one Issues Tickets to the keyholder

[@main]
#SAY
Hello Master.\
What would you like me to do?\\
 <Give me House Tickets../@keycheck>\
 <Not right now../@exit>


[@keycheck]
#IF
checkitem "ITEM TO ACT AS KEY" 1
#act
goto @tickets
#elsesay
This house does not belong to you.\
You need to have a house key for me to do that.\\
<Exit/@exit>\

[@tickets]
#act
give "ITEM TO ACT AS TICKETS"

#say
Would you like another?\\
<Give me another../@tickets>\
<No Thanks../@exit>