hexor9 Posted March 25, 2013 Posted March 25, 2013 how to make a command when you get level 99 you will back in pronteraalso i need when you log out you can't back on there or nosave how to implement in certain map Quote
Capuche Posted March 26, 2013 Posted March 26, 2013 how to make a command when you get level 99 you will back in prontera - script auto_warp_ -1,{ OnPCBaseLvUpEvent: if( BaseLevel == 99 ) warp "prontera",0,0;// auto warp when reached level 99 end; } also i need when you log out you can't back on there I suggest Mapflag#nosave conf/mapflag/nosave.txt //===== rAthena Script ======================================= //= Mapflag: Disable auto-save. ... //= Characters logging out on the specified map will be warped //= to the map specified in the last field, or "SavePoint". nosave how to implement in certain map If you want to prohibit @save command on a map, I suggest this npc script - script nosave_ -1,{ OnInit: setarray .@map_restrited$, "prontera", "geffen";// add more restricted maps here - players can't use @save on these maps bindatcmd "save",strnpcinfo(3)+"::OnAtcommand"; .map_nosave$ = implode( .@map_restrited$, "|" ); end; OnAtcommand: getmapxy .@map$, .@x, .@y, 0; if( compare( .map_nosave$, .@map$ ) ) message strcharinfo(0), "You can't save here."; else { savepoint .@map$, .@x, .@y; message strcharinfo(0), "Your save point has been changed."; } end; } Quote
Question
hexor9
how to make a command when you get level 99 you will back in prontera
also i need when you log out you can't back on there or nosave how to implement in certain map
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.