I'm trying to make a script which plays dice escape and get the avatar, i just coded the first level, but the dice just move 1 time and the script finish, and in the script i have the up key 5 times, why this happens?
yeah it may be too quick, and make sure you have a repeat call in there, sounds like you dont have one in there
umm no, the test123 suggestion But my new problem is that i want to make it click, but the mouse just move to the coordinates and dont click x.x
to click the mouse use Code (Text): clickmouse(x,y,true); to move the mouse without clicking use Code (Text): movemousesmooth(x,y,true);
that's really strange why not try Code (Text): movemousesmooth(152,293,true); clickmouse(152,293,true); and see if that works
i tried and got this Line 5: [Error] (5:30): Invalid number of parameters in script but the paramers are right :s
i got that as well i m going to bed but i ll have a look into that tomorow and in the meantime good luck EDIT: ok you need scar but this works Code (Text): program New; {.include SRL/SRL.scar} begin MMouse(x,y,0,0); end.
i changed the instructions on it so it will not need to click, or maybe at the end to send score o.o anyway, with the help here now i have programmed to level 4, i will end later
i tried to code dice escape a couple of weeks ago, but there must be something about shockwave and my pc, because everytime i coded an arrow key, it didnt work properly. hmm good luck with yours though