SRL Archive - Help

choping timer


wantonman

2012-01-03 21:23:16

would some one throw me together a quick code?

something that starts a timer and if you get nothing in your inventory for 10 seconds then yadayadayada…



MarkTime(Time);
while (Time > 7000) do
invcount(count);
if no invencount(count)
then
chopwood;


[BANANA]something like that[/BANANA]

Jhangir

2012-01-03 23:36:10

Scripting tutotials/tutotials for beginners

Search for "yohojo video tutorial 2"

He explsins this exact thing. I'm on my phone so I can't type the code.

wantonman

2012-01-04 00:59:57

hmmm, i watched it…. a couple of times but sometimes its hard to pause the video and copy his code..

well if you say so ill look at it 1 more time as im on like all the time and i miss bits of info here and there.:spongebob::spot:

YoHoJo

2012-01-04 01:02:09

Inside of chopwood, after you click mark the time.

Assume this is the click of tree

Mouse(x, y, 3, 3, True);
MarkTime(WeChopped);
While TimeFromMark(WeChopped)< 10000 Do
Begin
FindNormalRandoms;
AntiBan;
End;

wantonman

2012-01-04 01:27:06

Inside of chopwood, after you click mark the time.

Assume this is the click of tree

Simba Code:



Mouse(x, y, 3, 3, True);
MarkTime(WeChopped);
While TimeFromMark(WeChopped)< 10000 Do
Begin
FindNormalRandoms;
AntiBan;

//invcount(+1);???
End;




"if 10 seconds pass and invcount(+1) is false"