SphereCommunity
"message" doesn't work with spells under @gethit - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: "message" doesn't work with spells under @gethit (/Thread-message-doesn-t-work-with-spells-under-gethit)



"message" doesn't work with spells under @gethit - Rizz - 02-28-2014 11:28 AM

I added a simple events to all chars and players

PHP Code:
ON=@GETHIT
message 
@33,<ARGN1

Players have not problem at all but chars cannot display the message if they get hit by a spell.


RE: "message" doesn't work with spells under @gethit - JohnVeritas - 02-28-2014 11:45 AM

if you want to show that messeage upon head use "sayua" otherwise "sysmessage"

Code:
sayua 020,6,6,0 xxx



RE: "message" doesn't work with spells under @gethit - XuN - 02-28-2014 05:42 PM

There's a 3rd argument in messages: 'color,font,unicode'. Try message @33,0,0 <dargn1>


RE: "message" doesn't work with spells under @gethit - Alaric - 02-28-2014 09:04 PM

or
Code:
on=@gethit
   trysrc <uid> message @55 <argn1> //show to receiver
   message @55 <argn1> //show to attacker



RE: "message" doesn't work with spells under @gethit - Rizz - 03-01-2014 08:13 AM

I missed an "endif" before...

[Image: 50486_195083303927029_2041548019_n.jpg]

in that way message worked for every kind of damage except for spells damage... i got crazy.. incredible