PDA

View Full Version : change weapon



melimao
03-07-2018, 06:40 AM
hi, i used a script for change weapon on redbot.
but didnt found it here.
when small stone is over, change to spear else 1h weapon.
but how do i use it on xenobot? any1 knows?


---redbot script
if (itemcount(1781) > 20) //pedra
{
equipitem(1781, "lhand");
}

else if (itemcount(1781) < 10)
{
equipitem(7774, "lhand"); //arma
}