ID:1148226
 
(See the best response by A.T.H.K.)
Code:
Attack()
flick("Attack",src)
for(var/mob/M in get_step(src,src.dir))
var/Damage=max(0,src.Str-M.Def)
view(M)<<"[src] hit [M] for [Damage] Damage!"
M.TakeDamage(Damage,src)


Problem description:
it works just doesnt show my attack whats wrong with this would really like some help
I believe you need to set a distance in the view arguments(10,M) something like that
In response to Carnage Productions
Best response
You can leave it at just view() anyone in the view of the player will see the output.

It's hard to understand this issue, is it the flick() that's the issue? make sure you have the icon state Attack in the .dmi file of the players icon, also note it is case sensitive.

Honestly I would rather use viewers().
 viewers(Depth=world.view,Center=usr)

This is just like view(), but it is a list of mobs that can see the center object, rather than a list of objects visible to the center object.

If you don't want the player that is doing the attack to see the output you can use oviewers() which is the same as viewers() but excludes the player.
You can leave it at view i guess, each to their own i personally use F_damage for my damage outputs
thanks amaziing it worked tyvm :)