Search the Commands

Home  All  a  b  c  d  e  f  g  h  i  j  k  l  m  n  o  p  q  r  s  t  u  v  w  x  y  z 

Details for command getequipname:
 
* getequipname <slot>;
 
This function will return the name of the item equipped in the specified
equipment slot on the invoking character. Almost identical to 'getequipid', good
for an NPC to state what your are wearing, or maybe saving as a string variable.
See 'getequipid' for a full list of valid equipment slots.

if (getequipname(1)==0) goto L_No_HeadGear;
mes "So you are wearing a "+getequipname(1)+" on your head";
close;
L_No_HeadGear:
mes "You are not wearing any head gear";
close;

Valid XHTML 1.0 Strict Valid CSS!