Just so that I understand:
1. Is the bot written in mIRC Scripting Language?
2. Are you running mIRC and if so, are you in the same channel as the bot?
3. Is it possible to code the bot so that when it restarts it uses the right nickname?
I know there's 18 year old code in Peace and Protection
that uses sockets to send email you could look at. Then again email servers have advanced, so this might not work for example if the mail server uses grey listing. Also, a quick google shows you could -very likely- use this website with the new $urlget identifier to send yourself an sms: https://www.clockworksms.com/doc/easy-stuff/http-interface/send-sms/
I hope someone else can jump in to help you out. I don't have any ready made scripts available to help you, sorry.