Ulysses

General => Developers Corner => Topic started by: Twistedwheelbarrow on August 17, 2013, 08:29:58 AM

Title: Executing a command based on quickchat problem
Post by: Twistedwheelbarrow on August 17, 2013, 08:29:58 AM
I'm trying to add or modify the quickchat script for TTT so that when someone uses the quickchat keys for either "{player} is a traitor!" or "Is anybody alive", these messages appear mid-screen. I've tried modifying the language file, but I can't seem to find the file that deals with it and have no idea what to do once I find it.

I've looked around and I'd imagine that it's something to do with the command below... Any ideas guys?  :D

player.GetByID( 1 ):PrintMessage( HUD_PRINTCENTER, "message" )