pkpoints question

smoochy boys on tour

budyniowski

Dedicated Member
Dedicated Member
Dec 16, 2007
149
0
63
Warsaw, Poland
Hi!
There is a command to SHOW value of pk points?


i know i can do it in this way:
#IF
checkpkpoint 20
#SAY
PKpoint value is: 20\
<Wyjd?/@exit>
#ACT
break

#IF
checkpkpoint 19
#SAY
PKpoint value is: 19\
<Wyjd?/@exit>
#ACT
break

#IF
checkpkpoint 18
#SAY
PKpoint value is: 18\
<Wyjd?/@exit>
#ACT
break

#IF
checkpkpoint 17
#SAY
PKpoint value is: 17\
<Wyjd?/@exit>
#ACT
break
...
etc

but it is a hard way to display pkpoints (what when someon have 1k+ pk points?).

some1 know command or shorter way to display PKpoints?
 

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
i have nothing to test but i would try two ways

1) <$PKPOINT> or <$PKPOINTS> example :

#say
You have <$PKPOINT>


or

2)
Use the famepoint system with <$OUTPUT()>

example

If u make a famepoint check he write the result in a var (p9) than u can work with it and use it for output the var

#if
checkpkpoints
#act
mov %P9 %N4
#say
You have <$Output(%N4)> or You have <$Output(N4)>

as i said i dunno if it work i can´t test it but i see not why it should not work. test it m8 and u will know.

if other ppl have other ideas let it me know :)

good luck

ameno
 
Upvote 0

budyniowski

Dedicated Member
Dedicated Member
Dec 16, 2007
149
0
63
Warsaw, Poland
For all concerned:

[@Main]
#IF
#ACT
FormatStr "FLD_CHARACTER='%s'" %USERNAME
ReadValueSql "TBL_CHARACTER" %A9 "FLD_PKPOINT,FLD_CHARACTER" [@displayPK]

[@displayPK()]
#IF
#ACT
mov D1 %ARG(1)
mov A0 %ARG(2)
#SAY
<$OUTPUT(A0)> you have: <$OUTPUT(D1)> PK points!

I made this myself based on integralexchange script ;p
 
Last edited:
Upvote 0