Mystic Software Forums
Miscellaneous => Archives => Archive => Topic started by: Anonymous 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?
-
Try this:
#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...
-
You know, I never thought of that.