Value said:[@Main]
What items would u like.\
<Items1 (it will cost ** game points/@DRA>\ \
[@DRA]
#IF
checkgamepoint > 30
#ACT
gamepoint - 30
give itemname 1
#SAY
Thank you very much <$USERNAME> Enjoy your brace.\
<Ok thank you/@exit>
[@main]
What items would u like.\
<Items1 (it will cost ** game points/@DRA>\ \
[@DRA]
#IF
checkgamepoint 30
#ACT
gamepoint -30
give itemname 1
#SAY
Thank you very much <$USERNAME> Enjoy your brace.\
#ELSESAY
You do not have enough Game Points
<Ok thank you/@exit>
Fire said:Ok use this script
Code:[@main] What items would u like.\ <Items1 (it will cost ** game points/@DRA>\ \ [@DRA] #IF checkgamepoint 30 #ACT gamepoint -30 give itemname 1 #SAY Thank you very much <$USERNAME> Enjoy your brace.\ #ELSESAY You do not have enough Game Points <Ok thank [EMAIL="you/@exit>"]you/@exit>[/EMAIL]
[@main]
Welcome fellow one\
I can give you a item for gamepoints\
<Kay/@DRA>
[@DRA]
#IF
checkgamepoint 30
#ACT
takegamepoint 30
give itemname 1
#SAY
Thank you very much <$USERNAME> Enjoy your brace.\
<Thanks/@exit>
#ELSESAY
You dont have the requirements.\
<Darn/@exit>
[@main]
You have <$GAMEPOINT>'s.\
<Click me/@gp>
[@gp]
#IF
checkgamepoint = 30
#ACT
gamepoint - 30
give SomeItemName 1
#SAY
You have <$GAMEPOINT>'s left.\
#ELSESAY
You only got <$GAMEPOINT>, and thts not enuf\ \
Ragnar said:Yeah as scorpian said, you probably have 30 gamepoints, but it is checking for 31.
daniejam said:using the correct m2server? and u checked gamepoints name in !setup? sure its not called gamegold or sumit like that
oh and on my npcs i just use
gamepoint > 29
not
checkgamepoint > 29
