Hello to everyone on here
![Spoko 8)](https://mrozuots.pl/Smileys/FlatEmoji/cool.gif)
Thanks for "Mrozu" and everyone such a good website and everything looks like new and works mostly,
i got so many problems solves by just reading, so curious if someone create script for attacking players by name or target name ? like i want to put a player on target if appears i attack directly by it's name ?
Thanks to everyone
![Buziak :-*](https://mrozuots.pl/Smileys/FlatEmoji/kiss.gif)
like i target player "PlayerName"
I got hold Target but i need to targetby player_name
local oldTarget
macro(200, "hold target", function()
if g_game.isAttacking() then
oldTarget = g_game.getAttackingCreature()
end
if (oldTarget and not g_game.isAttacking() and getDistanceBetween(pos(), oldTarget:getPosition()) <=
![Spoko 8)](https://mrozuots.pl/Smileys/FlatEmoji/cool.gif)
then
g_game.attack(oldTarget)
end
end)