Break San 3 Posted January 7, 2015 Does anyone know how to block storage on a map pvp ? Quote Share this post Link to post Share on other sites
0 Zirius 1 Posted January 10, 2015 oh I thought using map_zone is more formal? { /* PvP zone is applied to all maps with a pvp mapflag */ name: "PvP" /* changing this name requires MAP_ZONE_PVP_NAME to also be changed in src/map/map.h file */ disabled_skills: { BS_GREED: "PLAYER" CG_HERMODE: "PLAYER" } disabled_items: { Greed_Scroll: true } mapflags: ( "nocashshop", ) disabled_commands: { storage: 2 <~~~ makes @storage be used in PVP maps only by those group lv 2 and above } }, Assuming your default group for players is set to 0, on conf/groups.conf Quote Share this post Link to post Share on other sites
0 exchisu 3 Posted January 7, 2015 (edited) Does anyone know how to block storage on a map pvp ? did u try with mapflag nocommand ? Edited January 7, 2015 by exchisu Quote Share this post Link to post Share on other sites
0 evilpuncker 504 Posted January 8, 2015 Does anyone know how to block storage on a map pvp ? did u try with mapflag nocommand ? but it will block every command and he wants to block only @storage Quote Share this post Link to post Share on other sites
0 Break San 3 Posted January 8, 2015 Well just want @storage @gstorage Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted January 8, 2015 (edited) Well just want @storage @gstorage you can use bindatcmd command to override the existing command for example - script asdfjkl -1,{ end;OnInit: bindatcmd "storage", strnpcinfo(0)+"::OnAtcommand"; bindatcmd "guildstorage", strnpcinfo(0)+"::OnAtcommand"; bindatcmd "gstorage", strnpcinfo(0)+"::OnAtcommand"; end;OnAtcommand: if( strcharinfo(3) == "YOUR MAP") end; atcommand .@atcmd_command$; end;} Edited January 8, 2015 by Angelmelody 1 15peaces reacted to this Quote Share this post Link to post Share on other sites
0 Break San 3 Posted January 8, 2015 (edited) Well just want @storage @gstorage you can use bindatcmd command to override the existing command for example - script asdfjkl -1,{ end;OnInit: bindatcmd "storage", strnpcinfo(0)+"::OnAtcommand"; bindatcmd "guildstorage", strnpcinfo(0)+"::OnAtcommand"; bindatcmd "gstorage", strnpcinfo(0)+"::OnAtcommand"; end;OnAtcommand: if( strcharinfo(3) == "YOUR MAP") end; atcommand .@atcmd_command$; end;} What part as the script can put a msg? @edit command has been blocked on all maps Edited January 8, 2015 by Break San Quote Share this post Link to post Share on other sites
0 Thyr 0 Posted July 14, 2017 On 1/8/2015 at 3:59 AM, Break San said: What part as the script can put a msg? @edit command has been blocked on all maps tihs script blocks on all maps Quote Share this post Link to post Share on other sites
0 Arduino 10 Posted July 14, 2017 10 hours ago, CraftNCheez said: tihs script blocks on all maps didnt you notice that this thread have more than two years? o.o Quote Share this post Link to post Share on other sites
Does anyone know how to block storage on a map pvp ?
Share this post
Link to post
Share on other sites