justin50 Posted August 29, 2018 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 09/19/17 Last Seen: July 29, 2020 Share Posted August 29, 2018 Can anyone help me to modify this please i want to limit players to 7 and auto party when entered thank you https://github.com/rathena/rathena/blob/master/npc/custom/events/devil_square.txt Quote Link to comment Share on other sites More sharing options...
0 Visual Posted August 29, 2018 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 144 Reputation: 19 Joined: 06/28/12 Last Seen: August 27, 2022 Share Posted August 29, 2018 3 hours ago, justin50 said: Can anyone help me to modify this please i want to limit players to 7 and auto party when entered thank you https://github.com/rathena/rathena/blob/master/npc/custom/events/devil_square.txt As an example: * if(getmapusers(.EnterMap$[5]) < .MinPlayers[5]) OnMazeStart: //-- Maze Event //================================== mapwarp .EnterMap$[5],"prontera",155,172; enablenpc "mazeroadblock"; disablenpc "Event_Agent#Maze"; $@CurrentEvent = 5; for ( .@i = 0; .@i < getarraysize( .bombflag ); .@i++ ) setmapflag .EnterMap$[5], .bombflag[.@i]; Func_Countdown; $@CurrentEvent = -5; sleep 9000; if(getmapusers(.EnterMap$[5]) < .MinPlayers[5]) mapannounce .EnterMap$[5],"Event Stopped! Not Enough Players Joined the "+.EventName$[5]+"!",bc_blue; else { mapannounce .EnterMap$[5],"Rules are simple first to get to end of maze wins, so begin~",bc_blue; disablenpc "mazeroadblock"; enablenpc "Event_Agent#Maze"; for(.@maze = 40; .@maze > 0; .@maze--){ if(getmapusers(.EnterMap$[5])<1) .@maze = 0; mapannounce .EnterMap$[5],"There are "+(.@maze)+" Minuets Remaining",bc_blue; sleep 60000; } mapannounce .EnterMap$[5],"Time Is up",bc_blue; } for ( .@i = 6; .@i < getarraysize( .bombflag ); .@i++ ) removemapflag .EnterMap$[5], .bombflag[.@i]; disablenpc "Event_Agent#Maze"; sleep 5000; mapwarp .EnterMap$[5],"prontera",155,172; $@CurrentEvent = 0; end; Quote Link to comment Share on other sites More sharing options...
Question
justin50
Can anyone help me to modify this please
i want to limit players to 7 and auto party when entered
thank you
https://github.com/rathena/rathena/blob/master/npc/custom/events/devil_square.txt
Link to comment
Share on other sites
1 answer 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.