Forum rules - please read before posting, it can save you a lot of time.
Can you tell a solution?
on "MouseWheelDown"{ MoveInventoryDown(); }on "MouseWheelUp"{ MoveInventoryUp();}function MoveInventoryDown(){if(Game.InventoryVisible==true){ var InvWindow = Game.GetInventoryWindow(); var wleft = InvWindow.GetControl("wleft"); var Button = InvWindow.GetControl("prev"); if(!Button.Disabled) Button.Press(); if(wleft.Disabled) wleft.Visible=false; if(!wleft.Disabled) wleft.Visible=true; this.PlaySound("a sound for a click"); Sleep(300); wleft.Visible=false; } }function MoveInventoryUp(){if(Game.InventoryVisible==true){ var InvWindow = Game.GetInventoryWindow(); var wright = InvWindow.GetControl("wright"); var Button = InvWindow.GetControl("next"); if(!Button.Disabled) Button.Press(); if(wright.Disabled) wright.Visible=false; if(!wright.Disabled) wright.Visible=true; this.PlaySound("a sound for a click"); Sleep(300); wright.Visible=false;}}