I have been browsing around in the documentation and I
think it may be possible, but I am unsure.
I need a script that will copy a particular section of a phrase when it pops up in chat.
Example:
MessageBot: Alert! User is in "Phoenix Arizona"
The script will then automatically copy "Phoenix Arizona" to the clipboard (without the quotes)
Another Example:
MessageBot: Alert! User is in "San Diego California"
The script will then automatically copy "San Diego California" to the clipboard (without the quotes)
How do I go about doing this? So far I understand it as:
On *:Text:*:#:{
if (Alert! isin $1-) {
<copy only text between " " to clipboard>
}
}