Hi there, I am trying to make a command that will allow someone to say !msg followed by a message and have that message saved to a text file. So far I am using the following code:
on *:TEXT:!msg *:*:write adds.txt $date $time $nick $+ : $1-
The problem I'm having is its saving the word !msg with the message, is there a way to get it to miss the word !msg out and save the message only?
Ok thanks, almost got it how I want now, but I noticed that when someone whispers it to me it adds what they say to the file but doesn't say that message to them in whisper, is there anyway of fixing that or is that too complex?