Thread: command format
View Single Post
  #2  
Old 12-27-2006, 10:58 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
Quote:
Originally Posted by Loakey_P2P View Post
im having problems with the format of a string . its for an inventory to break them down into different sections . i already have the buttons and all that done but the part to only show npcs starting with a certain name .

if (player.weapons[ i].name.starts("Q/"SPC thiso.selec SPC"/"))

this.selec is the varable that cointains the middle part of the npc name . which would be either Item , Spell , Prize or Weapon . but it wont show those npcs , ive tracked it down to this . any idea's ?
SPC = space, so its searching for a weapon naped "Q/ whatever /", use @ instead.
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote