at the end of a script, i put end.
then when I ran it, it said semicolin expected; smack dab in the middle of "end."
I checked if i missed any semicolins, but i got all of them....
at the end of a script, i put end.
then when I ran it, it said semicolin expected; smack dab in the middle of "end."
I checked if i missed any semicolins, but i got all of them....
http://www.fenjer.com/adnan/SRL/16/20/Merchampion.png
Merchampion is going to be the ultimate autoing script! It will buy items for your set amount of price; trade people without you having to be there, and once your money is all out; guess what! It's going to sell the item for a different set amount of price! It's merchanting without you having to be there
if it helps; heres the general area of where the code is having the area:
SCAR Code:begin ///////////////////////////////////
repeat //////{ Rinse, Lather, Repeat. }//
buyingstatement; ///////////////////////////////////
until(FindColor(Fx, Fy, 8388736, 21, 416, 29, 425)); //until the trade color is found in the last chat line.
end; ////////////////////////////////////
end.
http://www.fenjer.com/adnan/SRL/16/20/Merchampion.png
Merchampion is going to be the ultimate autoing script! It will buy items for your set amount of price; trade people without you having to be there, and once your money is all out; guess what! It's going to sell the item for a different set amount of price! It's merchanting without you having to be there
Hmmm... Perhaps a simicolon is expected?
Lol, Jk. Post the whole script.
Oh, and there's an "Edit" button for a reason.
really? the edit button is there for....for....a reason? i always thought it was decoration XD
Anyway, id rather not share my ever so fabulos script with the world but:
SCAR Code:program MerchantMaster;
{.Include SRL/SRL.scar}
{.include srl\srl\extended\xtext.scar}
{.include srl/srl/misc/amount.scar}
const //fill these out, or it won't work!!!!!
howmany = 10; //how many of the item you want.
whatyouwannabuy='lobs'; //what IS the item you want?
eaprice=200; //Just wondering, how much would you want to buy each?
Var
Message1:String; //sets up the buying message
{------------------------------------------------------------------------------------------}
procedure BuyTrade; //This starts the procedure of a Buying Trade
begin
MoveMouse(470,292);
Wait(10000);
if Option2('lobster')then //Type in the object you want to buy in the ''
end;
{------------------------------------------------------------------------------------------}
procedure StartTrade; //This moves the mouse to start the trade
var cx, cy, Fx, Fy : integer;
begin
If (FindColor(Fx, Fy, 8388736, 21, 416, 29, 425))then //if it finds rade in the chat box...
begin
Wait(500);
Mouse(cx+10,cy+3,0,0,True); //it will move the mouse towards it.
Wait(500);
BuyTrade
end;
end;
procedure Buyingstatement; //This starts talking using your buying statement.
var Fx, Fy : integer;
begin
wait(1000); //Waits a few seconds before typing again.
Message1:= 'buying up to '+ IntToStr(howmany) + ' ' + whatyouwannabuy +'! for ' + IntToStr(eaprice) + 'ea!'; //this SHOULD make the typing message work....
typesend(Message1); //this will make it look like the line above is being typed by a human.
if (FindColor(Fx, Fy, 8388736, 21, 416, 29, 425)) then
begin
StartTrade;
end;
{------------------------------------------------------------------------------------------}
begin ///////////////////////////////////
repeat //////{ Rinse, Lather, Repeat. }//
buyingstatement; ///////////////////////////////////
until(FindColor(Fx, Fy, 8388736, 21, 416, 29, 425)); //until the trade color is found in the last chat line.
end; ////////////////////////////////////
end.
http://www.fenjer.com/adnan/SRL/16/20/Merchampion.png
Merchampion is going to be the ultimate autoing script! It will buy items for your set amount of price; trade people without you having to be there, and once your money is all out; guess what! It's going to sell the item for a different set amount of price! It's merchanting without you having to be there
You may edit out the script now.
SCAR Code:procedure Buyingstatement; //This starts talking using your buying statement.
var Fx, Fy : integer;
begin
wait(1000); //Waits a few seconds before typing again.
Message1:= 'buying up to '+ IntToStr(howmany) + ' ' + whatyouwannabuy +'! for ' + IntToStr(eaprice) + 'ea!'; //this SHOULD make the typing message work....
typesend(Message1); //this will make it look like the line above is being typed by a human.
if (FindColor(Fx, Fy, 8388736, 21, 416, 29, 425)) then
begin
StartTrade;
end;
end;
{------------------------------------------------------------------------------------------}
begin ///////////////////////////////////
repeat //////{ Rinse, Lather, Repeat. }//
buyingstatement; ///////////////////////////////////
until(FindColor(Fx, Fy, 8388736, 21, 416, 29, 425)); //until the trade color is found in the last chat line.
////////////////////////////////////
end.
Theres an edit button for a reason jason![]()
tee-hee! ty it works!
now to test it out!
EDIT: see? i can use an edit button :P oh, and, how exactly do i set as global? do i put it under the Vars spot at the beggining?
and thanks for the compliment :P
http://www.fenjer.com/adnan/SRL/16/20/Merchampion.png
Merchampion is going to be the ultimate autoing script! It will buy items for your set amount of price; trade people without you having to be there, and once your money is all out; guess what! It's going to sell the item for a different set amount of price! It's merchanting without you having to be there
Oooh, a real domain, I see
I made a forum too, but it's just a cheap-o smfforfree2 one
Edit: Your link tis broken![]()
Hmm.. thats odd.
Edit: fixed now. try joining againI had .com not .net
![]()
Oooh, nice
Mine's in my sig. Not really anyone right now, but it'll grow!
[offtopic]
I would have to agree, JAD is t3h uberness,,, and,,, i guess ur ok too jason,, just think, now you really will be cool! I am thinking of joining so i can be cool too! If thats ok?
[/offtopic]
[semihelpful]
The most obvious reason that it would say semicolon expected is because it expects that there would be a semicolon somewhere
[/semihelpful]
There are currently 1 users browsing this thread. (0 members and 1 guests)