Colour will only work with MP!L btw... Can't test these as I've just got to work...
js code:
Message = Message.split("\n");
for( var s in Message){
if(Message[s].substr(0,1)=="~"){
Message[s] = "[a=3]"+Message[s]+"[/a]";
}
}
Message = Message.join("\n");
>>>Message = Message.replace(/\"(.+)\"/gi, "[c=4]\"$1\"[/c]");<<<
The highlighted line probably has a bug if someone would like to correct it
EDIT: Ok, I'm a bit rusty it seems
Time to get working on top secret scripts every second I can get away from family