function stringstuff(%sourcestring, %originalchar, %newchar)
{
%originalchar = "Hi";
%newchar = "Hai";
%sourcestring = strReplace(%sourcestring, "Hi", "Hai");
}
package stringtest
{
function servercmdmessagesent(%client, %msg)
{
messageall('',"\c7"@%client.clanprefix@"\c3"@%client.name@"\c7"@%client.clansuffix@"\c6:"@%sourcestring(%msg));
}
Parent::serverCmdMessageSent(%c,%msg);
};
activatepackage(stringtest);
There's the script I tried, it didn't work. What did I do wrong? :(