Release GameGold Collection NPC release

chris987789

Dedicated Member
Dedicated Member
Dec 29, 2008
11
0
27
For any1 who wants it, Put this code in a merchant npc in market_def and add the gg50.txt etc to market_def/namelists. Oh and rep+1 if you use :)

Code:
()
%100
[@main]
Welcome to the gamegold collection point.\
It may take upto 48hours for gamegold to\
be available after a donation.\ \
If you have donated please click <here/@ggcheck1>.\
<Exit/@exit>

[@ggcheck1]
#IF
CHECKNAMELIST namelists/gg50.txt
#ACT
DELNAMELIST namelists/gg50.txt
gamegold + 10
goto @ggcheck2
#ELSEACT
goto @ggcheck2

[@ggcheck2]
#IF
CHECKNAMELIST namelists/gg100.txt
#ACT
DELNAMELIST namelists/gg100.txt
gamegold + 20
goto @ggcheck3
#ELSEACT
goto @ggcheck3

[@ggcheck3]
#IF
CHECKNAMELIST namelists/gg200.txt
#ACT
DELNAMELIST namelists/gg200.txt
gamegold + 40
goto @ggcheck4
#ELSEACT
goto @ggcheck4

[@ggcheck4]
#IF
CHECKNAMELIST namelists/gg400.txt
#ACT
DELNAMELIST namelists/gg400.txt
gamegold + 80
goto @ggcheck5
#ELSEACT
goto @ggcheck5

[@ggcheck5]
#IF
CHECKNAMELIST namelists/gg800.txt
#ACT
DELNAMELIST namelists/gg800.txt
gamegold + 160
goto @ggcheck6
#ELSEACT
goto @ggcheck6

[@ggcheck6]
#IF
CHECKNAMELIST namelists/gg1600.txt
#ACT
DELNAMELIST namelists/gg1600.txt
gamegold + 320
goto @ggcheck7
#ELSEACT
goto @ggcheck7

[@ggcheck7]
#IF
CHECKNAMELIST namelists/gg3200.txt
#ACT
DELNAMELIST namelists/gg3200.txt
gamegold + 640
goto @ggcheck8
#ELSEACT
goto @ggcheck8

[@ggcheck8]
#IF
CHECKNAMELIST namelists/gg6400.txt
#ACT
DELNAMELIST namelists/gg6400.txt
gamegold + 1280
goto @ggcheck9
#ELSEACT
goto @ggcheck9

[@ggcheck9]
#IF
CHECKNAMELIST namelists/gg12800.txt
#ACT
DELNAMELIST namelists/gg12800.txt
gamegold + 2560
goto @ggcheck10
#ELSEACT
goto @ggcheck10

[@ggcheck10]
#IF
CHECKNAMELIST namelists/gg25600.txt
#ACT
DELNAMELIST namelists/gg25600.txt
gamegold + 5120
goto @ggcheck11
#ELSEACT
goto @ggcheck11

[@ggcheck11]
You currently have <$GAMEGOLD>gamegold\
If you think this is incorrect please leave\
24 hours then contact support at:\
[email protected]\ \
<Exit/@exit>
 

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
Oh your a mod now, grats.

OT: i suspect most server owners can make there own scripts like this or should be able to, but thanks for releasing none the less.