doommap Posted December 19, 2012 Posted December 19, 2012 how to disable doom map in a certain town only? cause i dont want my gm's using doommap on my maintown, i know the mapflag<tab>nocommand<tab>99 yet i still want them to use other commands in my maintown excepting doommap, and i dont want to disable doommap on my gms because they handle some events that uses doommap command. bump Quote
Capuche Posted December 21, 2012 Posted December 21, 2012 Well using bindatcmd, i propose something like this ! - script atcmd_doommap -1,{ OnInit: bindatcmd("doommap","atcmd_doommap::Ondoommap"); end; Ondoommap: if( getgmlevel() > 99 ) atcommand "@doommap"; else if( getgmlevel() > 60 && strcharinfo(3) != "prontera" ) atcommand "@doommap"; end; } Doommap works for GM 99 but doesn't work for GM > 60 in prontera ! Quote
doommap Posted December 24, 2012 Author Posted December 24, 2012 thankyou for replyin but havent done it yet will try soon Quote
AnnieRuru Posted December 25, 2012 Posted December 25, 2012 - script atcmd_doommap -1,{ OnInit: bindatcmd("doommap","atcmd_doommap::Ondoommap"); end; Ondoommap: // dispbottom getgmlevel() +""; // debugging if ( getgmlevel() >= 99 ) atcommand "@doommap"; else if ( getgmlevel() >= 60 && strcharinfo(3) != "prontera" ) atcommand "@doommap"; end; } I believe the > should be >= otherwise GM99 will not be able to @doommap in main town Quote
Capuche Posted December 25, 2012 Posted December 25, 2012 Doommap works for GM 99 but doesn't work for GM > 60 in prontera ! I believe the > should be >= otherwise GM99 will not be able to @doommap in main town Wops you're right >.< Quote
Question
doommap
how to disable doom map in a certain town only? cause i dont want my gm's using doommap on my maintown,
i know the mapflag<tab>nocommand<tab>99
yet i still want them to use other commands in my maintown excepting doommap,
and i dont want to disable doommap on my gms because they handle some events that uses doommap command.
bump
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.