Dear All,
I have a Custom NPC script but it has errors on map-server. All other NPC customs are working btw. Please see attached code error and screenshot:
[Error]: script error in file 'npc/custom/fakeplayercommand.txt' line 57 column 27
parse_line: need ';'
54: input .@dye;
55: next;
56: //Job,Sex,hairstyle,haircolor,weapon,shield,headtop,headmid,headbot,clothcolor
* 57: .@monster_gid = fakeplayer( .@map$, .@1st, .@2nd, .@Input$, .@job, .@sex, .@hairstyle, .@haircolor, .@weapon, .@shield, .@tophead, .@midhead, .@lowhead, .@dye, 0 );
~~~~~~~~~~~~~~~~~~~~~~~~~~^
58: message strcharinfo(0), "Congratulations! Your customize Fake Player "+.@Input$+" has been created.";
59: close;
60:
[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/fp.txt', line '7'. Stopping...
* w1=BUILDIN_FUNC(fakeplayer)
* w2=
* w3=
* w4=
[Error]: script error in file 'npc/custom/daily.txt' line 67 column 18
parse_simpleexpr: unmatched ')'
64: sleep2 1000;
65: for(.@k = 0; .@k < 2; .@k++){
66: if(!.@k){
* 67: if(!vip_status(VIP_STATUS_ACTIVE) && .VIPRewards$[#VIPRewardCon + 1] != ""){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
68: //message strcharinfo(0),"[Daily Rewards]: Become a VIP for more rewards.";
69: continue;
70: } else if(#VIPRewardCon >= .@VIPSize){
THANK YOU!