help with npc

Desolation Mir2 (Med Rate Server)

™blade™

Golden Oldie
Golden Oldie
Oct 31, 2004
799
1
155
[@tele0]
#IF
Check SecretUniverseScroll 1
Check SecretTimeScroll 1
#ACT
Take SecretUniverseScroll 1
Take SecretTimeScroll 1
mapmove 1bw1 43 44
TimeRecall 5
SENDMSG 6 You.will.be.recalled.back.to.town.in.5.minutes
Break
#ELSESAY
You Dont seem to have the right scrolls sorry\


wot is wrong with this
 

~HeavenSent~

Golden Oldie
Golden Oldie
Nov 9, 2005
2,157
17
180
Chorley
[@tele0]
#IF
#ACT
Check SecretUniverseScroll 1
Check SecretTimeScroll 1
#ACT
Take SecretUniverseScroll 1
Take SecretTimeScroll 1
mapmove 1bw1 43 44
TimeRecall 5
SENDMSG 6 You.will.be.recalled.back.to.town.in.5.minutes
Break
#ELSESAY
You Dont seem to have the right scrolls sorry\


Just added an #ACT there look's ok to me but im not the best with npc's lol
 
Upvote 0

NewHope

Golden Oldie
Golden Oldie
Nov 18, 2005
1,311
28
184
[@tele0]
#IF
Checkitem SecretUniverseScroll 1
Checkitem SecretTimeScroll 1
#ACT
Take SecretUniverseScroll 1
Take SecretTimeScroll 1
mapmove 1bw1 43 44
TimeRecall 5
SENDMSG 6 "You will be recalled back to town in 5 minutes."
Break
#ELSESAY
You Dont seem to have the right scrolls sorry\

...

You need to checkitem, and not check.
Also if you add " ... " around the text you want to say it won't need the dots.


Maybe: Also if this is an npc, then it should be @main to begin with instead of @tele0. Unless of course this is just a connected script to an existing one.
 
Upvote 0

™blade™

Golden Oldie
Golden Oldie
Oct 31, 2004
799
1
155
[@tele0]
#IF
Checkitem SecretUniverseScroll 1
Checkitem SecretTimeScroll 1
#ACT
Take SecretUniverseScroll 1
Take SecretTimeScroll 1
mapmove 1bw1 43 44
TimeRecall 5
SENDMSG 6 "You will be recalled back to town in 5 minutes."
Break
#ELSESAY
You Dont seem to have the right scrolls sorry\

...

You need to checkitem, and not check.
Also if you add " ... " around the text you want to say it won't need the dots.


Maybe: Also if this is an npc, then it should be @main to begin with instead of @tele0. Unless of course this is just a connected script to an existing one.

thank you pal and yeah i part of an npc just could not get that bit working lol for got it was checkitem lol

on an other mater does any one know how i can do an event like they do on wool the box event where when u have the box it will shout player has box same when u drop it and u have to keep in for like 5 mins then when 5mins up u get the prize from it

could some one do me an bit of one for an example so i no were to start as i think you have to use batch delay and i donno how that work
 
Upvote 0