skipjack94 Posted November 28, 2012 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 44 Reputation: 0 Joined: 08/27/12 Last Seen: November 15, 2024 Share Posted November 28, 2012 (edited) i want make some npc when the npc just novice lvl 90+ can enter that room... then in deferent room or map when we use the item like santa hat we not kick out but when player not use the santa hat, the player will be out can someone make me a script? Edited November 28, 2012 by skipjack94 Quote Link to comment Share on other sites More sharing options...
Ajjwidjdneidjenw Posted November 28, 2012 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 161 Reputation: 31 Joined: 12/06/11 Last Seen: December 25, 2022 Share Posted November 28, 2012 (edited) Did not quite get what you meant with the Santa hat. prontera,150,165,2 script Santa NPC 512,{ set .@n$, "[NPC_NAME]"; // name of NPc mes .@n$; mes "Hello would you like to enter the Christmas Event?"; mes "You will need to be a ^FF0000Novice^000000, that is higher than level ^FF000090^000000"; if(select("Yes please:No Thank you.")==2) close; next; if(BaseClass == Job_Novice && BaseLevel >= 90 && isequipped(2236)) warp "MAP",X,Y; //Map,x,y (0,0 for random coordinates on X & Y) mes .@n$; mes "You do not seem to meet the previous stated conditions..."; close; } Finaly managed to do a few things, usually this place is swarmed by rAthena Script devs; lmao. Edited November 28, 2012 by garet999 1 Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted November 28, 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 November 28, 2012 (edited) Finaly managed to do a few things, usually this place is swarmed by rAthena Script devs; lmao. <3 .... I loved this words you said XDI think he meant, if ( isequipped("Santa Hat") ) ... ? can go in, like that EDIT: oh you already done that but usually we split out the requirement of ( BaseClass == Job_Novice && BaseLevel >= 90 ) and ( isequipped(2236) ) into 2 different conditions to tell the users what they did wrong Edited November 28, 2012 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
skipjack94 Posted November 29, 2012 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 44 Reputation: 0 Joined: 08/27/12 Last Seen: November 15, 2024 Author Share Posted November 29, 2012 (edited) oh thanks sir garet999 hmmm but in map it will be kick out? when the santa hat not equipment? i want make in map it will b out when santa hat not equipment can you make me one sir? Edited November 29, 2012 by skipjack94 Quote Link to comment Share on other sites More sharing options...
Emistry Posted November 29, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted November 29, 2012 try this http://pastebin.com/raw.php?i=3PrnkSNL trunk/db/re/item_db.txt 2236,Santa's_Hat,Santa Hat,5,20,,100,,1,,0,0xFFFFFFFF,7,2,256,,0,1,20,{ bonus bMdef,1; bonus bLuk,1; },{},{ doevent "Sample#xmas::OnKick"; } Quote Link to comment Share on other sites More sharing options...
skipjack94 Posted November 29, 2012 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 44 Reputation: 0 Joined: 08/27/12 Last Seen: November 15, 2024 Author Share Posted November 29, 2012 (edited) thanks emistry you always help me /thx /thx /thx /thx hmmmm in my server npc not respond when i click nothing happen Edited November 29, 2012 by skipjack94 Quote Link to comment Share on other sites More sharing options...
Question
skipjack94
i want make some npc when the npc just novice lvl 90+
can enter that room...
then in deferent room or map
when we use the item like santa hat we not kick out
but when player not use the santa hat, the player will be out
can someone make me a script?
Edited by skipjack94Link 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.