• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

getItemType is weapon.

Blood BlvD Ot

Member
Joined
Jun 12, 2010
Messages
243
Reaction score
7
Code:
	if (isInArrway((getItemAttribute(item.uid, "type")),(1,2,3,5,6))) == TRUE then

How would i properly write this? I want it to check if it is a sword, axe, club, dist, or wand type weapon..
 
If you still require assistance with this you need to specify better as to what you are trying to accomplish. Do you want a script that returns the weaponType or an if sequence that checks the weaponType?
 
Maybe cause he wants to do this:

If its a sword ---> effect 1
If its an axe ----> effect 2
If its a spear ---> effect 3
If its a wand ----> effect 4
If its a rod ----> effect 5
If its a bow
If its a crossbow

Etc..... xDDD
 
Back
Top