• Networking: We're currently investigating a cascade effect causing network performance degradation in our network. - Sponsor

How to check and remove game points via NPC Mir2 

🚫
Exiled
Joined
Jan 1, 2007
Messages
268
Reaction score
0
how do you check and remove them via an npc.

I have tried

@checkgamepoint and @checkgamepoints and @check gamepoint

@take gamepoints and all of the above.

but none of them working.
 
from the if and act statements un each update

checkgamegold usage: CHECKGAMEGOLD >= 100 what it does: checks if your gamegold >= 100, options: =, <, >, >=
checkgamepoint usage: CHECKGAMEPOINT < 5 what it does: checks if your gmepoints are lower then 5, options: =, <, >, >=


gamepoint usage: GAMEPOINT = 5 what it does: sets your gamepoint value to 5, options: =, +, -
 
Got it working now by doing this

[@gpfrost]\
#IF
checklevel 45
CHECKSLAVECOUNT = 0
CHECKGAMEpoint = 300
#ACT
GAMEPOINT - 300
RECALLMOB FrostTiger
RECALLMOB FrostTiger
RECALLMOB FrostTiger
RECALLMOB FrostTiger
#ELSEACT
goto @say
break
#SAY
There you go enjoy your new pets.\
<Back/@main>\ \
 
[@gpfrost]\
#IF
checklevel 45
CHECKSLAVECOUNT = 0
CHECKGAMEpoint = 300
#ACT
GAMEPOINT - 300
RECALLMOB FrostTiger
RECALLMOB FrostTiger
RECALLMOB FrostTiger
RECALLMOB FrostTiger
goto @say
break
#ELSEACT
goto @no
[@SAY]
There you go enjoy your new pets.\
[@NO]
You do not have enough points!

<Back/@main>\ \


try that? maybe have the break in the wrong position?
 
this is the longest script i have every seen.

Pet rental for gamegold, gamepoints points and normal gold, with a couple of quest thrown in too.

Great fun writing it tbh:)
 
Gamepoint system working, but not the gamegold, you sure it's done the same way?
 
BUT if you have gamegold = 10 then it will only ACT if you have 10 gamegold

so if u have 100 gamegold and u gamegold = 10 it wont work coz u dont have exactly 10 so do it gamepoint 10

VirUs

Yep, woulfd that out the hard wat, best command to use is >=
 
I have got it to take gamegold of people, but it gives you the pets even if you haven't go gamegold.
 
[@whi1]
#IF
CHECKSLAVECOUNT < 3
#ELSEACT
goto @say
CHECKGAMEGOLD >= 50
#ACT
GAMEGOLD - 50
recallmob whitefoxman
break
#SAY
There you go enjoy your new pets.\
<Back/@main>\


this is the script i am using btw
 
[@WHI1]
#IF
CHECKSLAVECOUNT WHATEVER
#ACT
GoTo @MobFail
Break
#IF
checkGAMEWHATEVER
#ACT
RECALLMOB WHATEVER
GAMEGOLD "TAKE PART"
GoTo @MobOk
#ElSEACT
GoTo @MobNoMoney

[@MOBFAIL]
#SAY
TOO MANY PETS
[@MOBOK]
#SAY
THERE YA GO
[@MOBNOMONEY]
#SAY
NOT ENOUGH BLAH BLAH
 
tht wont work, as that is the command you use for gold...
...but i will give it a try
 
Back