Author Topic: (no subject)  (Read 1309 times)

Anonymous

  • Member
  • *
  • Posts: 545
    • View Profile
(no subject)
« on: October 02, 2003, 02:22:19 PM »
I can't, for the life of me, figure out how to take only one item that the player has. I use the #TakeItem command but it takes all of the items. Can any one help me?
« Last Edit: December 31, 1969, 06:00:00 PM by Anonymous »

Mark of the Dragon

  • Member
  • *
  • Posts: 1658
    • View Profile
    • http://www.geocities.com/zeroentity01/
(no subject)
« Reply #1 on: October 02, 2003, 07:29:03 PM »
Try this:
Code: [Select]
#ItemCount(itemhere$,var!)
#var!=var!-1
#TakeItem(itemhere$)
#For(x!=1,x!+1,x!=var!) *I don't know if I got this code right...*
{
#GiveItem(itemhere$)
}


Like I said, I probably screwed up somewhere. Too tired to look at the command reference right now...
« Last Edit: December 31, 1969, 06:00:00 PM by Mark of the Dragon »
<center>
Roy Mustang



Yeah...that sounds like me <_<

<center>
You were born in the land of Warrior Pride. You live to fight, you have a strong spirit, courage and bravery. Strong lord! Unsheath thy sword, rush into war and strip the enemy of his flesh down to the core.


Umm...yeah

Cuzit

  • Member
  • *
  • Posts: 487
    • View Profile
(no subject)
« Reply #2 on: October 03, 2003, 10:07:29 PM »
You know, I never thought of that.
« Last Edit: December 31, 1969, 06:00:00 PM by Cuzit »