doommap Posted December 19, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 30 Reputation: 0 Joined: 11/21/12 Last Seen: April 21, 2021 Share 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 Link to comment Share on other sites More sharing options...
Capuche Posted December 21, 2012 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share 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 Link to comment Share on other sites More sharing options...
doommap Posted December 24, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 30 Reputation: 0 Joined: 11/21/12 Last Seen: April 21, 2021 Author Share Posted December 24, 2012 thankyou for replyin but havent done it yet will try soon Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 25, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
Capuche Posted December 25, 2012 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.