The despawnBotByAlias native AI script function despawns a specific bot in the current NPC group by its alias.
()despawnBotByAlias(alias: s) // despawnBotByAlias_s_
()despawnBotByAlias('(A:1000:10560)');
This example code despawns the bot with the alias (A:1000:10560)
.
If the bot with the given alias does not exist in the current NPC group, no action is taken.