SRL Archive - First Scripts

Terrible Script - Lumbridge Dummy Curser


Pompey

2010-02-19 06:33:31

Quite a simple script sometimes works for abit, sometimes doesnt. Any tips on making it more efficient/effective? And work more regularly? Any help appreciated.

Also thanks to The Man, helped me sort it :)

weequ

2010-02-19 07:19:08

Atleast your const: spell is useless becouse changing it doesnt really do anything. You could use cases to be able to use different spells. :P

case Lowercase(spell) of
'curse': DTM := DTMFromString('cuse dtm string here');
'confuse': DTM := DTMFromString('confuse dtm string here');
'weaken': DTM := DTMFromString('weaken dtm string here');
end;
if FindDTM(DTM, x, y, MIX1, MIY1, MIX2, MIY2) then
begin
Writeln('Curse located');//states in debug
..........

Phran6

2010-02-19 14:17:37

you can take a look at the script in my signature for some idea. :)