iraciz Posted June 12, 2022 Group: Members Topic Count: 140 Topics Per Day: 0.03 Content Count: 562 Reputation: 111 Joined: 10/05/12 Last Seen: February 12, 2024 Share Posted June 12, 2022 Good day, This is [Euphy] rathena custom npc default warper. Any way to reset last warp map and coordinates OnPCLogOutEvent if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet. Last warp resets with logout."; else warp lastwarp$,lastwarpx,lastwarpy; end; function Go { set lastwarp$, getarg(0); set lastwarpx, getarg(1,0); set lastwarpy, getarg(2,0); warp getarg(0),getarg(1,0),getarg(2,0); end; } Help please Quote Link to comment Share on other sites More sharing options...
1 cook1e Posted June 12, 2022 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 171 Reputation: 68 Joined: 10/25/20 Last Seen: 12 hours ago Share Posted June 12, 2022 This? - script remove#var -1,{ OnPCLogoutEvent: if(lastwarp$ != "") lastwarp$ = ""; if(lastwarpx != 0) lastwarpx = 0; if(lastwarpy != 0) lastwarpy = 0; end; } Quote Link to comment Share on other sites More sharing options...
0 iraciz Posted June 12, 2022 Group: Members Topic Count: 140 Topics Per Day: 0.03 Content Count: 562 Reputation: 111 Joined: 10/05/12 Last Seen: February 12, 2024 Author Share Posted June 12, 2022 Thankyou @cook1e, It worked perfect! Quote Link to comment Share on other sites More sharing options...
Question
iraciz
Good day, This is [Euphy] rathena custom npc default warper.
Any way to reset last warp map and coordinates OnPCLogOutEvent
if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet. Last warp resets with logout."; else warp lastwarp$,lastwarpx,lastwarpy; end;
Help please
Link to comment
Share on other sites
2 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.