The Dink Network

Reply to Re: I thought I knew what this thread was about...

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
November 10th 2002, 06:32 AM
sob_scorpy.gif
Tyrsis
Peasant She/Her Russia
 
: At first, I thought I knew what this thread was about, and the solution to the problem.  But given the answers to it, I'm now confused.

: My advice was to simply change the name of the variable &magic to something else.  I had something similar, but different in BFTG.  Sphinx had made the global variable called &map.  I had script with the local variable, &map_number.  Every time I would run that script, &map_number would always call &map instead.  So, to fix the problem, I just changed the name of the local variable to something else.  The script then worked fine.

The engine really messes up local variables with names like a glabal var with a suffix (e.g. local &goldkey will not work properly because of the global &gold). This is not the case if both vars are globals (not sure about both locals, though)