Jump to content
  • 0

item link @ii2 On dispbottom not working


dekspyware

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   7
  • Joined:  10/21/12
  • Last Seen:  

Hi guys. I want to make @ii2 In-game Item Descriptions commands showing Link item on dispbottom but it not working i also try <ITEM>

itemlink.jpg.645d13b95b4e89ef5f1eff77c8ac6082.jpg

here script i used

//===== rAthena Script =======================================
//= In-game Item Descriptions Script
//===== By: ==================================================
//= Nova http://www.novaragnarok.com
//============================================================

-	script	itemdescs	-1,{
end;

OnInit:
	bindatcmd "ii2",strnpcinfo(3)+"::OnAtcommand";
	bindatcmd "itemdesc",strnpcinfo(3)+"::OnAtcommand";
	end;
	
OnAtcommand:
  dispbottom "^3355FF[ Item Description Search ]^000000";
  .@item = atoi(.@atcmd_parameters$[0]);
  dispbottom "<itemdesc>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></itemdesc>";
  dispbottom "Click on the name of the item above.";
  end;

}

I think the commands showing item link on chat and npc is different.

anyone know the correct commands ? 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  333
  • Reputation:   67
  • Joined:  09/05/12
  • Last Seen:  

4 hours ago, dekspyware said:

Hi guys. I want to make @ii2 In-game Item Descriptions commands showing Link item on dispbottom but it not working i also try <ITEM>

itemlink.jpg.645d13b95b4e89ef5f1eff77c8ac6082.jpg

here script i used


//===== rAthena Script =======================================
//= In-game Item Descriptions Script
//===== By: ==================================================
//= Nova http://www.novaragnarok.com
//============================================================

-	script	itemdescs	-1,{
end;

OnInit:
	bindatcmd "ii2",strnpcinfo(3)+"::OnAtcommand";
	bindatcmd "itemdesc",strnpcinfo(3)+"::OnAtcommand";
	end;
	
OnAtcommand:
  dispbottom "^3355FF[ Item Description Search ]^000000";
  .@item = atoi(.@atcmd_parameters$[0]);
  dispbottom "<itemdesc>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></itemdesc>";
  dispbottom "Click on the name of the item above.";
  end;

}

I think the commands showing item link on chat and npc is different.

anyone know the correct commands ? 

I think the dispbottom command is for static texts only.
It didn't read any other text options like changing its color, or like the one your tried to link an item like in the npc mes command.

So better to use npc mes command than dispbottom for @ii2 custom command.

Edited by GodKnows Jhomz
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...