It is impossible for a script file to auto update its own script file but it can check for updates. Other then that not being able to auto update. there is one part of the script that is always possible to auto update and that would be its data files. the databases like structured files on all info about game and such or even just settings...Glancing at this thread, it looks like this script will be incredibly useful. However, without actually reading the entire thread (it is 24 pages long), I'm not 100% sure of what the features are.
Now, I did download it and plan to use it, and in said use I'm sure that I'll find out what the features are, but it might be useful to have, in the first post, a list of the features that is edited as the features are edited.
Also, does the script check for updates automatically? 'cause people (like me) who probably won't be obsessively checking this thread could very well miss an update (or two or ten). If it does, awesome, but that'd be one of the benefits of the feature list in the first post, I'd not have to dig through 24 pages of thread to find the answer.
- Download relay_OCD_dB_Manager to your /relay directory.
- Invoke OCD dB Manager from your relay browser's top menu.
I suspect your problem is one of these two steps:
A relay script is called from within the relay browser and needs to be in the /relay directory.
I think there were a couple of special cases, specifically items that have to be multi-used to yield something useful (duct tape, mummy wrappings...). I'll leave it up to Bale if he wants to play around with the script some more to account for those.
Great! I've been reading this thread over time, but didn't think to actually go through it again when I tried to turn my duct tapes into a wallet.Multi-use items have already been dealt with.
gnatloaf COOK [2528] ancient spice
crafty[ $item[ gnatloaf ] ].mix1 = to_item(2528);
item item_name(string doodad)
string test( string input )
{
return input;
}
boolean bol = true;
print( test( bol ) );
int i = 1;
print( test( i ) );
float flt = 1.5;
print( test( flt ) );
string str = "test string";
print( test( str ) );
buffer buf; buf.append( "test buffer" );
print( test( buf ) );
string[string] agg; agg["key"] = "value";
print( test( agg ) );
record test_rec{ string str; int i;}; test_rec rec; rec.str = "record string"; rec.i = 2;
print( test( rec ) );
print( test( $class[ Pastamancer ] ) );
print( test( $effect[ Empathy ] ) );
print( test( $element[ cold ] ) );
print( test( $familiar[ grue ] ) );
print( test( $item[ spices ] ) );
print( test( $location[ Spooky Forest ] ) );
print( test( $monster[ Triffid ] ) );
print( test( $skill[ pastamastery ] ) );
print( test( $slot[ hat ] ) );
print( test( $stat[ moxie ] ) );
> call test.ash
true
1
1.5
test string
test buffer
aggregate string [string]
record test_rec
Pastamancer
Empathy
cold
Grue
spices
Spooky Forest
Triffid
Pastamastery
hat
Moxie
Is this just me re-discovering fire? I guess this is why you can use print() on anything, but I assumed something was happening in print() and wouldn't work for any function taking a string as input.