Branch on specific map only

Code:
{
	Id: 604
	AegisName: "Branch_Of_Dead_Tree"
	Name: "Dead Branch"
	Type: "IT_DELAYCONSUME"
	Buy: 50
	Weight: 50
	BuyingStore: true
	Script: <"
		if ( strcharinfo(PC_MAP) == "prontera" ) {
			monster "this",-1,-1,"--ja--",-1,1,"";
			delitem 604, 1;
		}
		">
},
isn't that's the same answer I had said in rathena ?

 
Code:
{
	Id: 604
	AegisName: "Branch_Of_Dead_Tree"
	Name: "Dead Branch"
	Type: "IT_DELAYCONSUME"
	Buy: 50
	Weight: 50
	BuyingStore: true
	Script: <"
		if ( strcharinfo(PC_MAP) == "prontera" ) {
			monster "this",-1,-1,"--ja--",-1,1,"";
			delitem 604, 1;
		}
		">
},
isn't that's the same answer I had said in rathena ?
getting this error

[Error]: script:op_2: invalid data for operator C_LOR
[Debug]: Data: number value=0
[Debug]: Data: string value="06guild_01"
[Debug]: Source (NPC): FAKE_NPC (invisible/not on a map)
 tried to put 

    if ( strcharinfo(PC_MAP) == "prontera" || "06guild_01" || "morocc" ) {

 
getting this error

[Error]: script:op_2: invalid data for operator C_LOR
[Debug]: Data: number value=0
[Debug]: Data: string value="06guild_01"
[Debug]: Source (NPC): FAKE_NPC (invisible/not on a map)
 tried to put 

    if ( strcharinfo(PC_MAP) == "prontera" || "06guild_01" || "morocc" ) {
Syntax is wrong

  if ( strcharinfo(PC_MAP) == "prontera" || strcharinfo(PC_MAP) == "06guild_01" || strcharinfo(PC_MAP)  == "morocc" ) {

 
Back
Top