mobile_bot
New member
- Joined
- Dec 16, 2005
- RedCents
- 20¢
This is something i had put together to track Verina Tomb when i was farming my Enchanter Epic. This will work on any mob that cast spells, or emotes anything that's trackable via your log file.
This is written in powershell, and the only think you'll need to modify is the From email address, Phone#@serviceprovider or email if you just want an email. I had it setup to TXT me the sec she spawned. You'll also want to modify the EQLog part to match the toon you have the logs enabled for.
Then just modify the email username and password at the bottom so it can use the SMTP for sending mail. This was written to be used where MQ2 can not. I just thought i would share it, i had a newer version but i can't find it right now where i encrypted the password part, and pointed it to an encrypted file so it's more secure.
- - - Updated - - -
You can also adjust the search text to match "Verina Tomb begins to cast a spell" to make it more strict.
This is written in powershell, and the only think you'll need to modify is the From email address, Phone#@serviceprovider or email if you just want an email. I had it setup to TXT me the sec she spawned. You'll also want to modify the EQLog part to match the toon you have the logs enabled for.
Then just modify the email username and password at the bottom so it can use the SMTP for sending mail. This was written to be used where MQ2 can not. I just thought i would share it, i had a newer version but i can't find it right now where i encrypted the password part, and pointed it to an encrypted file so it's more secure.
PHP:
##############################################################################
$From = "EmailAddressHere"
$To = "Phone#Here"
$Subject = "Verina Tomb"
$Body = "Verina Spawned!"
$SMTPServer = "smtp.gmail.com"
$SMTPPort = "587"
$EQLog = "C:\EverQuest\Logs\eqlog_EQToon_EQServer.txt"
##############################################################################
If (Get-Content $EQLog -wait -Tail 10 | where { $_ -match "Verina" })
{Send-MailMessage -From $From -to $To -Cc $Cc -Subject $Subject `
-Body $Body -SmtpServer $SMTPServer -port $SMTPPort -UseSsl `
-Credential "EmailAddressHere, EmailPasswordHere"}
- - - Updated - - -
You can also adjust the search text to match "Verina Tomb begins to cast a spell" to make it more strict.