MrEll Posted January 7, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 1 Reputation: 0 Joined: 12/08/15 Last Seen: February 8, 2016 Share Posted January 7, 2016 hello can anyone make me script if u kill 1 mob u will gain 100 gold 100 poring coin and then player will warp back to savepoints they only can kill 1 mob Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted January 8, 2016 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1281 Reputation: 170 Joined: 06/12/12 Last Seen: 9 hours ago Share Posted January 8, 2016 (edited) prontera.gat,0,0,0 script KillMob -1,{ OnNPCKillEvent: getitem 969,100; getitem 7539,100; warp "SavePoint", 0, 0; } Edited January 8, 2016 by hendra814 Quote Link to comment Share on other sites More sharing options...
0 Ninja Posted January 8, 2016 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Share Posted January 8, 2016 prontera.gat,0,0,0 script KillMob -1,{ OnNPCKillEvent: getitem 969,100; getitem 7539,100; warp "SavePoint", 0, 0; } This will make you warp back to your savepoint everytime you kill a monster anywhere in the server. You can add a mapcheck and monster check there OnNPCKillEvent: if(strcharinfo(3) == "mapname" && killedrid == mob_id){ getitem 969,100; getitem 7539,100; warp "SavePoint", 0, 0; } or you can use monster trigger events instead. Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted January 8, 2016 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1281 Reputation: 170 Joined: 06/12/12 Last Seen: 9 hours ago Share Posted January 8, 2016 i made like that because he not mention like player just kill monster on spesific map or just kill spesific monster. Quote Link to comment Share on other sites More sharing options...
0 domez86 Posted October 27, 2019 Group: Members Topic Count: 85 Topics Per Day: 0.02 Content Count: 207 Reputation: 0 Joined: 06/11/13 Last Seen: July 11, 2020 Share Posted October 27, 2019 On 1/8/2016 at 4:38 AM, Ninja said: This will make you warp back to your savepoint everytime you kill a monster anywhere in the server. You can add a mapcheck and monster check there OnNPCKillEvent: if(strcharinfo(3) == "mapname" && killedrid == mob_id){ getitem 969,100; getitem 7539,100; warp "SavePoint", 0, 0; } or you can use monster trigger events instead. hello, what does the value "3" mean? in ---> if (strcharinfo (3) Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted October 28, 2019 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1281 Reputation: 170 Joined: 06/12/12 Last Seen: 9 hours ago Share Posted October 28, 2019 10 hours ago, domez86 said: hello, what does the value "3" mean? in ---> if (strcharinfo (3) Here the explanation Quote 0 - Character's name. 1 - The name of the party they're in if any. 2 - The name of the guild they're in if any. 3 - The name of the map the character is in. Quote Link to comment Share on other sites More sharing options...
Question
MrEll
hello
can anyone make me script if u kill 1 mob u will gain 100 gold 100 poring coin and then player will warp back to savepoints
they only can kill 1 mob
Link to comment
Share on other sites
5 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.