- Jul 28, 2010
- 299
- 1
- 45
I made a script so that a NPC gives a item out for example say a goldbar i also made a txt files to store the names of people that have already took the items etc but for some reason if you click the npc fast or just some times it just lets you through the check, i have no idea why the script is perfect but i think i need a extract defence in place to stop it, so if anyone has any idea's to stop this would be great.
script im using:
[@Main]
<I Want My Reward/@reward>\
[@reward]
#IF
CHECKNAMELIST reward.txt
#SAY
You Have Already Took Your Reward Come Back Next Time.\
#ELSEACT
ADDNAMELIST reward.txt
GIVE Goldbar 1
CLOSE
this is the same thing im using and ive checked mine for errors spelling error the lot and as i said before, sometimes it stops u and say the measage but sometimes lets you through lol. if you got and scripts i could use to fix this problem then hit me up with them pls. Thanks
script im using:
[@Main]
<I Want My Reward/@reward>\
[@reward]
#IF
CHECKNAMELIST reward.txt
#SAY
You Have Already Took Your Reward Come Back Next Time.\
#ELSEACT
ADDNAMELIST reward.txt
GIVE Goldbar 1
CLOSE
this is the same thing im using and ive checked mine for errors spelling error the lot and as i said before, sometimes it stops u and say the measage but sometimes lets you through lol. if you got and scripts i could use to fix this problem then hit me up with them pls. Thanks