Skip to content

Instantly share code, notes, and snippets.

@lighta
Created December 31, 2015 09:21
Show Gist options
  • Save lighta/ee1e0f99dfa0928a9363 to your computer and use it in GitHub Desktop.
Save lighta/ee1e0f99dfa0928a9363 to your computer and use it in GitHub Desktop.
Trying pull 832
//test menu + callshop + end
prontera,153,180,5 script CallShopBug 89,{
switch(select("Open Shop", "Something", "Something2 "))
{
case 1:
callshop "someshop",1; // open shomeshop with buy list
break;
case 2:
callshop "someshop",2; // open shomeshop with sell list
break;
case 3:
callshop "someshop",3; // open shomeshop with default
break;
}
end;
}
//test menu + callshop + func + end
prontera,155,180,5 script CallShopBug2 89,{
switch(select("Open Shop", "Something", "Something2 "))
{
case 1:
callshop "someshop",1; // open shomeshop with buy list
break;
case 2:
callshop "someshop",2; // open shomeshop with sell list
break;
case 3:
callshop "someshop",3; // open shomeshop with default
break;
}
mes "test test we are here";
end;
}
//test callshop + end
prontera,157,180,5 script CallShopBug3 89,{
callshop "someshop",1; // open shomeshop with buy list
end;
}
//test callshop + close, (wrong but should be supported)
prontera,159,180,5 script CallShopBug4 89,{
callshop "someshop",1; // open shomeshop with buy list
close;
}
- shop someshop 89,505:10000,506:6000,507:7000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment