when I try to compile the script I get this error.
SCAR Code:Line 1: [Error] (1:1): Variable Expected in script
Line 1 isSCAR Code:Program ScriptName;
Thats it. How do I fix this error?
when I try to compile the script I get this error.
SCAR Code:Line 1: [Error] (1:1): Variable Expected in script
Line 1 isSCAR Code:Program ScriptName;
Thats it. How do I fix this error?
Hmm, any chance you can post the script?
I will fix the error if you do :P
can you post like the first 10-25 lines of script or something like that? maybe I can help.



Can we have the first 25 lines?
Sure.
SCAR Code:program ScriptName;
{.include SRL/SRL.scar}
{.include SRL/SRL/Extended/xMapWalk.Scar}
{.include SRL/SRL/skill/WoodCutting.scar}
{.include SRL/SRL/Extended/xBank.Scar}
const
Pub= 'On';// Sets Public Chat
Pri= 'Off';//Sets Private Chat
Tra= 'Off';//Sets Trade Chat
RunDirection= 'N';//Run Direction If Fight Found
Reply= True;//True if you want to autotalk to ppl who talk 2 u
NewWorld = False;
No no, look at this
things like that gives you error like that and it can be fixed with = or > or < or >= or <=SCAR Code:if(TimeFromMark(Mark)/1000)then
See the ">=" I bet you have forget to set value to your variable....SCAR Code:if(TimeFromMark(Mark)/1000>=4)then
Someone else had the same problem: http://www.srl-forums.com/forum/vari...-t7038p2.html?
There are currently 1 users browsing this thread. (0 members and 1 guests)