SRL Archive - RS3 Outdated / Broken Scripts

Crafting: Bracelets, jewellry etc


bulletq

2008-12-05 16:15:14

Hey everyone.
Wondering if anyone has any ideas on how to make a bracelet crafting autoer? i think it would be a really good idea, having one that can just do any jewellry at all. a line for what gem it is, a line for what type of jewellry it is.. I think a lot of people would really appretiate it.

Pm me or post here, thanks guys.

Kasi

2008-12-05 16:24:45

use cases…

benjaa

2008-12-08 09:33:29

Ill give you some clues, but I'm not in the mood to script it…

In DeclarePlayers and variables;

Players[0].Strings[0] := 'sapphire';
Players[0].Strings[1] := 'bracelet';

Then use a variety of cases;

case(Players[CurrentPlayer].Strings[0])of
'sapphire': DoThis;
'emerald': DoThisThing;
end;