ID:177554
Aug 27 2002, 6:56 am
|
|
How would I make in if statement that checks if you have a certain object in your menu!!!
|
Aug 27 2002, 7:07 am
|
|
First of all explain what this "menu" is. Is it the statpanel like I think you mean? And this "object" is it an obj? Is it a verb? You need to be more specific.
|
Codesterz wrote:
How would I make in if statement that checks if you have a certain object in your menu!!! Depends on how the menu is represented, but for example's sake let's say you have a list of items in the menu: if(locate(/obj/button/attack) in menuitems) That's pretty much how it'd be done. Lummox JR |
In response to Lummox JR
|
|
thanx Lummox JR
|