You're overcomplicating the variable assignment - you're not asking the player to type in a random number, so don't use those commands.
I see you want a variable called "random". Here's how to do it:
- Under the Variables category, choose "Set a numeric variable"
- For numeric variable name, type "random"
- For contents, enter the function: "$rand(1;100)$"
Now your random number is stored in the numeric variable, and you can access it using %random%. So change your final print statement to "Your random number is %random%"