Hello pals,
Is it possible to do this? If yes, how? I'll be explaining step by step below.
-Join a SA-MP server using raksamp.
-Connect the chatlog.txt file with a Discord bot.
-Let the Discord bot scan for the updation of chatlog.txt as often as possible.
-Make the Discord bot search for any word, "ADMIN" for an example.
-Make the Discord bot take the full line that contains the word it looks for, "ADMIN" is the word in this example.
-Make the Discord bot copy that line, and post it into the channel with the tag "@here/@everyone".
The point of this is having a notification on Discord when the word "ADMIN" appears in the chat. It would be much more helpful if you'd release the source code.
Please if you know that if this is possible or impossible, give a reply here about which one is it so I'll not waste my time on either trying or waiting for someone to do it.
Is it possible to do this? If yes, how? I'll be explaining step by step below.
-Join a SA-MP server using raksamp.
-Connect the chatlog.txt file with a Discord bot.
-Let the Discord bot scan for the updation of chatlog.txt as often as possible.
-Make the Discord bot search for any word, "ADMIN" for an example.
-Make the Discord bot take the full line that contains the word it looks for, "ADMIN" is the word in this example.
-Make the Discord bot copy that line, and post it into the channel with the tag "@here/@everyone".
The point of this is having a notification on Discord when the word "ADMIN" appears in the chat. It would be much more helpful if you'd release the source code.
Please if you know that if this is possible or impossible, give a reply here about which one is it so I'll not waste my time on either trying or waiting for someone to do it.