VIP Shop

02/11/2013 17:20 eliashaddad#1
Hello guys , i need your help to make a metin2 quest so when a player with [VIP] in his name click the npc , the [VIP] shop will open

Google Translate to german :
Hallo Jungs, ich Ihre Hilfe brauchen, um ein metin2 quest so machen, wenn ein Spieler mit [VIP] in seinem Namen auf die npc, wird die [VIP] Shop eröffnen
02/11/2013 19:35 .Remix#2
Put this into the quest with the vip state:

Code:
pc.setqf("vip",1)
Then begin the quest for the vip shop with:

Code:
when (vnum).chat."VIP-Shop" with pc.getqf("vip") == 1 begin
02/11/2013 20:49 eliashaddad#3
i dont want quest for vip state i just want a command to add to a shop quest that if [VIP] is added in the player name the shop will open and if not the shop wont open
02/11/2013 21:14 Yiv#4
Add me in Skype: xxcueanxx

I'll help you ;)

Regars
02/12/2013 16:09 eliashaddad#5
i dont have skype but i have team viewer if yes pm me so i tell u id and password
02/12/2013 17:04 xDeStRuCtx#6
Code:
when xx.chat."vip" begin
if string.find(pc.get_name(), "[VIP]") then
npc.open_shop()
end
end
02/12/2013 20:37 eliashaddad#7
Thx Man its working :D
02/14/2013 09:22 eliashaddad#8
if i put the shop for names with []
Code:
if string.find(pc.get_name(), "[]") then
will it work?