Jump to content
  • 0

Chat room problem


rayleigh

Question


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

This is my script

 

prontera,164,173,3	script	Freebies	790,{
OnInit:
waitingroom "Freebies",0;

	if(#sorry == 1) goto L_1;
	mes "You will receive Some Present as a reward for joining the server";
	mes "We're gladly thankful for your support in the future too.";
	next;
	if(checkweight(2504,1) == 0 ) goto L_OverWeight;
//	rentitem 2357,259200; //armorvalk
//	rentitem 2421,259200; //shoes valk
//	rentitem 2524,259200; //valkmantue
//	rentitem 2115,259200; //shield valk
//	rentitem 2630,259200; //briss
//	rentitem 4142,259200; //dopelganger
//	rentitem 4302,259200; //tao-gunka
//	rentitem 4047,259200; //ghost-ring
//	rentitem 4198,259200; //maya-p
//	rentitem 4146,259200; //maya
//	rentitem 4131,259200; //moonlight c
//	rentitem 4147,259200; //baphomet
//	getitem2 14533,10,1,0,0,0,0,0,0;	// (Custom Items
	getitem 19507,1; //sun costume
	getitem 671,1; //Gold coin
	getitem 2421,1; //shoes valk card
	getitem 2357,1; //armor valk card
	getitem 2115,1; //shield valk card
//	getitem 4147,1; //baphomet card
//	getitem2 12210,4,1,0,0,0,0,0,0;	// (Custom Items
//	getitem2 12214,2,1,0,0,0,0,0,0;	// (Custom Items
	emotion e_thx;
	set #sorry,1;
	close;



L_OverWeight:
	mes "Sorry, you are over weight";
	emotion e_omg;
	close;



L_1:
	mes "You had already received before the gift.";
	emotion e_bzz;
	close;
}

Map server is saying error.


[Error]: chat_createnpcchat: npc 'Freebies' already has a chatroom, cannot create new one!

 

Can anyone help me with this?

Thanks in advance. 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

prontera,164,173,3    script    Freebies    790,{

    if(#sorry == 1) goto L_1;
    mes "You will receive Some Present as a reward for joining the server";
    mes "We're gladly thankful for your support in the future too.";
    next;
    if(checkweight(2504,1) == 0 ) goto L_OverWeight;
//    rentitem 2357,259200; //armorvalk
//    rentitem 2421,259200; //shoes valk
//    rentitem 2524,259200; //valkmantue
//    rentitem 2115,259200; //shield valk
//    rentitem 2630,259200; //briss
//    rentitem 4142,259200; //dopelganger
//    rentitem 4302,259200; //tao-gunka
//    rentitem 4047,259200; //ghost-ring
//    rentitem 4198,259200; //maya-p
//    rentitem 4146,259200; //maya
//    rentitem 4131,259200; //moonlight c
//    rentitem 4147,259200; //baphomet
//    getitem2 14533,10,1,0,0,0,0,0,0;    // (Custom Items
    getitem 19507,1; //sun costume
    getitem 671,1; //Gold coin
    getitem 2421,1; //shoes valk card
    getitem 2357,1; //armor valk card
    getitem 2115,1; //shield valk card
//    getitem 4147,1; //baphomet card
//    getitem2 12210,4,1,0,0,0,0,0,0;    // (Custom Items
//    getitem2 12214,2,1,0,0,0,0,0,0;    // (Custom Items
    emotion e_thx;
    set #sorry,1;
    close;

L_OverWeight:
    mes "Sorry, you are over weight";
    emotion e_omg;
    close;

L_1:
    mes "You had already received before the gift.";
    emotion e_bzz;
    close;


OnInit:
waitingroom "Freebies",0;
end;

}

Try this ^_^

Edited by chatterboy
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  261
  • Reputation:   53
  • Joined:  11/11/16
  • Last Seen:  

OnInit:
waitingroom "Name",0;
end;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...