Jump to content
  • 0

dispbottom not working on this item script


eboni001

Question


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

hey guys im restricting the branches out of the db room, I been looking all around google but I cant make this message to appear when using the branches outside of the db room, anything wrong with the script?

{ if (strcharinfo(3) == "06guild_02" || strcharinfo(3) == "pvp_n_1-1" || strcharinfo(3) == "pvp_n_2-1" || strcharinfo(3) == "pvp_n_3-1" || strcharinfo(3) == "pvp_n_4-1" || strcharinfo(3) == "pvp_n_5-1" || strcharinfo(3) == "pvp_n_6-1" || strcharinfo(3) == "pvp_n_7-1" || strcharinfo(3) == "pvp_n_8-1") {monster "this",-1,-1,"--ja--",-1,1,"";} else dispbottom "You cannot use branches on this map. Please use the DB Room!"; },{},{}

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  192
  • Reputation:   9
  • Joined:  05/08/13
  • Last Seen:  

Change item type to 11. Then add below monster line

monster "this",-1,-1,"--ja--",-1,1,"";

to

monster "this",-1,-1,"--ja--",-1,1,"";
delitem 604,1;
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

Bump

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

Any error show up?

if (strcharinfo(3) == "06guild_02" ||
		strcharinfo(3) == "pvp_n_1-1" ||
		strcharinfo(3) == "pvp_n_2-1" ||
		strcharinfo(3) == "pvp_n_3-1" ||
		strcharinfo(3) == "pvp_n_4-1" ||
		strcharinfo(3) == "pvp_n_5-1" ||
		strcharinfo(3) == "pvp_n_6-1" ||
		strcharinfo(3) == "pvp_n_7-1" ||
		strcharinfo(3) == "pvp_n_8-1"){
	monster "this",-1,-1,"--ja--",-1,1,"";
}
else{
	dispbottom "You cannot use branches on this map. Please use the DB Room!";
}
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

 

Any error show up?

if (strcharinfo(3) == "06guild_02" ||
		strcharinfo(3) == "pvp_n_1-1" ||
		strcharinfo(3) == "pvp_n_2-1" ||
		strcharinfo(3) == "pvp_n_3-1" ||
		strcharinfo(3) == "pvp_n_4-1" ||
		strcharinfo(3) == "pvp_n_5-1" ||
		strcharinfo(3) == "pvp_n_6-1" ||
		strcharinfo(3) == "pvp_n_7-1" ||
		strcharinfo(3) == "pvp_n_8-1"){
	monster "this",-1,-1,"--ja--",-1,1,"";
}
else{
	dispbottom "You cannot use branches on this map. Please use the DB Room!";
}

I have the message working now adding the {} between the message, but branches keep getting consumed outside of the db room, any way they get consumed only inside the db room?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

 

Change item type to 11. Then add below monster line

monster "this",-1,-1,"--ja--",-1,1,"";

to

monster "this",-1,-1,"--ja--",-1,1,"";
delitem 604,1;

Thank you, finally problem solved.

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...