[T1 Request]

UniX
03-02-2004, 07:26 PM
A script that hides chat text when noone is typeing. Also something that blocks that useless white text that you get from the server ex: Auto Repair on. etc.
For Stripped. And I know there is one built into Stripped but I could never get it to work properly so if there is a alternative one I'd like to try it.

Slitz
03-02-2004, 09:16 PM
I have what you're asking for but it's for VikingPack.. It's very easy though.. Just a few additions to the onClientMessage function.

To hide the chat after 5 secs of silence and filter out msgs could be something like this:
--
function onClientMessage(%client, %msg) {
if(%client) {
$lastClientMessage = %client;
Control::SetVisible("NameOfYourChathudObj", "True");
Schedule::Add("Control::SetVisible(\"NameOfYourChathudObj\", \"False\");", 5, "ChatHider");
return true;
}
else {
//blablablabla parsing/event triggering
}
return parseFilter(%msg);
}

function parseFilter(%msg)
{
if($filterStr[%msg] != "")
return false;
else
return true;
}
// Add exact messages to filter out below..
$filterStr["AutoRepair On"] = 1;
$filterStr["Repair Done"] = 1;
--

Nomble
03-02-2004, 10:21 PM
There was this Newopts script that did exactly what you just said. I think it's called "Chat Hud Hider' or something like that.