prontera,150,160,3 script Example 99,{
if(!getcharid(2)) {
mes "Welcome";
close;
}
switch(select("Storage:Tool Dealer:Cashshop")){
case 1:
openstorage;
end;
case 2:
callshop "yourshop",1;
end;
case 3:
callshop "yourshop",1;
end;
}
{
Above script will only open Storage, Tool Dealer, Cashshop IF characters have GUILD.
prontera,150,160,3 script Example 99,{
if(!getcharid(2)) {
mes "Welcome";
close;
}
if (getcharid(2) == 3){
switch(select("Storage:Tool Dealer:Cashshop")){
case 1:
openstorage;
end;
case 2:
callshop "yourshop",1;
end;
case 3:
callshop "yourshop",1;
end;
}
}
{
Something like this. You might want to add close; also for guildID that isnt == 3