William Garrison
Member
Simple question I would think, but is it possible to have a variable definition define a script? So that based on what room you are in (definable in the variable definition "isRoom") you can run that corresponding script? (definable in the variable definition "isScript").
When I try something like this I get the dreaded red(x) in the code editor for the "isScript" section.
Code:
if (room_exists(isRoom)) { isScript }