Scope token I6

I had a problem and changed it. A new problem cropped up.

[code]Verb “cast”

  • scope = Magic → cast;

[ Magic i ;
if(scope_stage == 1) rfalse;
if (scope_stage == 2) { objectloop( i ofclass spell) PlaceInScope(i); rtrue;}
“No such in game.”;
] ;[/code]but now it says

isn’t Magic in this case a routine?

I think the call to Magic expects a value for the variable i…

You need to define Magic before you use it, i.e.

[code][ Magic i ;
if(scope_stage == 1) rfalse;
if (scope_stage == 2) { objectloop( i ofclass spell) PlaceInScope(i); rtrue;}
“No such in game.”;
] ;

Verb “cast”

  • scope = Magic -> cast;[/code]

For a scope routine, i is not needed to be defined. Don’t ask me why. I don’t know. Though you are right, it would seem that way.