- Jul 5, 2013
- 72
- 0
- 32
Okay so i have a famepoint npc in and you trade him fpstones for famepoints, but lets say you traded 20fpstones for 400 famepoints logged out then logged back in n traded another stone it would reset you back to 20? here is the script any help is greatly appreciated.......
;;;;skelucia
[@main]
#SAY
<Trade in 1 famepointstone(20) for 20 famepoints?/@FamePoint>\\
<Trade in 10 famepointstones(20) for 200 famepoints?/@FamePoint1>\\
#ELSESAY
[@FamePoint]
#IF
CHECKFAME
CHECKITEM FamePointStone(20) 1
#ACT
mov D1 %P9
INC D1 20
TAKE FamePointStone(20) 1
SYSMSG "<$USERNAME> has used a famepoint stone congrats."
#ACT
SETFAME %D1
goto @close
#ELSESAY
Think your funny do you? Noob\\
[@FamePoint1]
#IF
CHECKFAME
CHECKITEM FamePointStone(20) 10
#ACT
mov D1 %P9
INC D2 200
TAKE FamePointStone(20) 10
SYSMSG "<$USERNAME> has used 10 famepoint stones congrats."
#ACT
SETFAME %D2
goto @close
#ELSESAY
Think your funny do you? Noob\\
[@close]
#SAY
Grats...\\
#ELSESAY
SOLVED
Changed D1 tp D4 and worked
;;;;skelucia
[@main]
#SAY
<Trade in 1 famepointstone(20) for 20 famepoints?/@FamePoint>\\
<Trade in 10 famepointstones(20) for 200 famepoints?/@FamePoint1>\\
#ELSESAY
[@FamePoint]
#IF
CHECKFAME
CHECKITEM FamePointStone(20) 1
#ACT
mov D1 %P9
INC D1 20
TAKE FamePointStone(20) 1
SYSMSG "<$USERNAME> has used a famepoint stone congrats."
#ACT
SETFAME %D1
goto @close
#ELSESAY
Think your funny do you? Noob\\
[@FamePoint1]
#IF
CHECKFAME
CHECKITEM FamePointStone(20) 10
#ACT
mov D1 %P9
INC D2 200
TAKE FamePointStone(20) 10
SYSMSG "<$USERNAME> has used 10 famepoint stones congrats."
#ACT
SETFAME %D2
goto @close
#ELSESAY
Think your funny do you? Noob\\
[@close]
#SAY
Grats...\\
#ELSESAY
SOLVED
Changed D1 tp D4 and worked
Last edited: