Quote:
Would you good folks know how to do away with unwanted items on bots by any chance?
|
Off the top of my head I would expand on your current script.
Create a list of item id's you DON'T want bots to have. That way you don't need to add any more code, you just need to add the item id to the list.
Check against that list when trading with the bot, and either poof the item or hand it back to the character.
I haven't looked at what events are available for bots, but at trading time would probably be the best, or you could do at bot despawn if that event is available.
The 2nd method wouldn't prevent some form of abuse while the bot is alive though.
You could expand it further by setting a qglobal on the character that if they do it once, they get the item back and a warning. if they do it again the item poofs. do it a third time they get sent to the POJ trials alone or some interesting place.
I haven't touched quests in a long time so i'm not sure what events are available for bots.