SphereCommunity
Player speech - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Player speech (/Thread-Player-speech)



Player speech - Leonidas - 01-28-2017 12:53 PM

Trying to get "I must consider my sins" to work.

Code:
// Speech block associated to players
SpeechSelf=spk_player

Code:
[SPEECH spk_player]
// All players speech filtered through here.
ON=I must consider my sins
SYSMESSAGE Murders: <KILLS>

ON=I resign from my guild
IF (<GUILD>)
f_guildsys_removecharfromguild <GUILD>,<UID>
ENDIF

ON=I resign from my town
IF (<TOWN>)
f_townsys_removecharfromtown <TOWN>,<UID>
ENDIF

Nothing happens in-game using a player account.



Scratch that, I added "ON=TEST" and that worked, removed that, tried "I must consider my sins" again and now its working...weird.