- 2,048
- Posts
- 17
- Years
- Seen Sep 7, 2023
I changed the variable to 39 because the variable in the event is 39.
Before I changed it nothing happened and after I changed it hte following error came up.
I think you forgot to use extendtext again after changing the variable. Try this:
Code:
string=pbDownloadToString(
'https://home.comcast.net/~tandmmail/none_page.html')
string[/<body>(.*?)<\/body>/]
if $1
body=$1.gsub(/[\t\r\n\f]/,"")
$game_variables[39]=body
else
$game_variables[39]=""
end