Not really sure where to post that, so I'll try here for now..
Ok, I decided to compile with bots this time, so here's my problem/question
I would like people to have only one bot at a time max, that I know how to do it.
But I would like to give them bots by questing, so I found the plugin that do it.
Code:
sub EVENT_SAY {
if($text =~ /Hail/i) {
quest::createBot(firstname, lastname, int 20, int 7, int 1, int male);
}}
But apparently, only one name can be given. which mean if I do quest::creatbot (Soandso, int 20, int 7, int 1, int male) the first who will finish the quest will get the bot, others will have "name already exist" error message.
Since NPCs can have same names, why can't the bots?? like Soandso00 Soandso01 etc..
Anyone can point me the right direction to do that?
Also, what is the isbot column in npc_types? I feel I could do something to resolve my problem with that.
Thanks in advance