The Dink Network

Reply to Re: variables

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:
 
 
August 11th 2003, 10:24 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Check out the SuperVar Source, and Dink's Trunk which has a much better implementation. Basically, it is treating a single variable like this:

&inventory = 1246784;

As multiple variables like this:

&bombs = 2;
&heals = 4;
&manas = 6;
&swords = 7;
&axes = 8;
&boomerangs = 4;

Thanks to Division and Multiplication.