NPC script wont take item help plz.

~HeavenSent~

Golden Oldie
Golden Oldie
Nov 9, 2005
2,157
17
180
Chorley
iv made & wroute a npc script for a mob in HeavenSent but the npc dosent take the item (QueensKey)


script below...

[@main]
Welcome to my little room <$Username>\
I can Summon you the mighty ZumaQueen if you have the key\
to unlock my summoning powers.\

Do you have the key?\
\
<I have the QueensKey./@key> <Id like to leave./@exit>

[@key]
#IF
Checkitem QueensKey 1
#ACT
TakeItem QueensKey 1
Give TOWNTELEPORT
#ACT
Mob ZumaQueen 1
#ELSESAY
Good Luck.

<EXIT/@exit>\



-------------------------------

allso still need help with this ty ...


http://www.lomcn.co.uk/forum/showthread.php?t=40996



/HS
 
Last edited:

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
175
Code:
[@main]
Welcome to my little room <$Username>\
I can Summon you the mighty ZumaQueen if you have the key\
to unlock my summoning powers.\

Do you have the key?\
\
<I have the QueensKey./@key> <Id like to leave./@exit>

[@key]
#IF
Checkitem QueensKey 1
#ACT
Take QueensKey 1
Give TownTeleport 1
#ACT
Param1 <Mapname>
Param2 <x-coord>
Param3 <y-coord>
MonGen ZumaQueen 1 1
#SAY
Good luck
#ELSESAY
You dont have a key\
\
<EXIT/@exit>\
 
Upvote 0

~HeavenSent~

Golden Oldie
Golden Oldie
Nov 9, 2005
2,157
17
180
Chorley
Fire said:
Code:
[@main]
Welcome to my little room <$Username>\
I can Summon you the mighty ZumaQueen if you have the key\
to unlock my summoning powers.\

Do you have the key?\
\
<I have the QueensKey./@key> <Id like to leave./@exit>

[@key]
#IF
Checkitem QueensKey 1
#ACT
Take QueensKey 1
Give TownTeleport 1
#ACT
Param1 <[COLOR=Red]Mapname[/COLOR]>
Param2 <[COLOR=Red]x-coord[/COLOR]>
Param3 <[COLOR=Red]y-coord[/COLOR]>
MonGen ZumaQueen 1 1
#SAY
Good luck
#ELSESAY
You dont have a key\
\
<EXIT/@exit>\




i fill in the red with map name & coads i wont the mob to spawn?


/HS


p.s can u looki @ the 2nd post plz link in top post.

ty
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
175
yes it will work just one thing i didnt spot
Code:
#ACT
Take QueensKey 1
Give TownTeleport 1
#ACT
Param1 <Mapname>
Param2 <x-coord>
Param3 <y-coord>
MonGen ZumaQueen 1 1

remove that second #ACT so that they are all together
 
Upvote 0