Subzero Posted November 6, 2020 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 07/25/16 Last Seen: August 5, 2021 Share Posted November 6, 2020 hello,its there posibble make npc only show following time example saturday,sunday 21:00 until 22:00 this my tested npc https://pastebin.com/QFQDTj4c Quote Link to comment Share on other sites More sharing options...
0 Scylla Posted November 6, 2020 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 374 Reputation: 47 Joined: 03/27/13 Last Seen: 14 hours ago Share Posted November 6, 2020 Not tested & not sure but try: izlude,128,112,3 script Rental Donation 122,{ disablenpc strnpcinfo(1); mes "[RentalNPC]"; mes "Welcome to Beginning Ragnarok!!"; mes "What Service May I Offer You ?"; next; mes "Please select your class specific Rentalthat you want to get:"; switch(select("Rental Donation Increase:Rental Donation Magic:Rental Donation Reduce")) { case 1: mes "[RentalNPC]"; mes "Here's your Rental for Increase Donation Set"; rentitem 5013,300; goto Message1; end; case 2: mes "[RentalNPC]"; mes "Here's your Rental for Magic Donation Set"; rentitem 13945,300; goto Message1; end; case 3: mes "[RentalNPC]"; mes "Here's your Rental for Reduce Donation Set"; rentitem 13945,300; goto Message1; end; } Message1: mes "[RentalNPC]"; mes "Enjoy ur WOE."; mes "If you need help. Please use @request / search for Game Staffs. Thank You."; mes "Before Expired Please Remove The Card.GM Wont Responsible if any card Lost."; close; OnSat2100: OnSun2100: enablenpc strnpcinfo(1); end; OnSat2200: OnSun2200: disablenpc strnpcinfo(1); end; } Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted November 6, 2020 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted November 6, 2020 Try this i made it thru phone if this won't work then at least i give you idea how to do it prontera,x,y,3 script testHideDuringWoe 99,{ if ( agitstart() || agitstart2() || agitstart3()){ if ( gettime (DT_DAYOFWEEK) == Day1 || Day2 || day 3 || etc ){ // Do this if the first condition true then do another condition inside condition // If the condition do the code here } end; if the condition of day is false then end the script } end;// End the script if the condition is false OnInit: hideonnpc "NPCNAME"; end; } Quote Link to comment Share on other sites More sharing options...
0 Subzero Posted November 7, 2020 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 07/25/16 Last Seen: August 5, 2021 Author Share Posted November 7, 2020 (edited) 6 hours ago, Scylla said: Not tested & not sure but try: izlude,128,112,3 script Rental Donation 122,{ disablenpc strnpcinfo(1); mes "[RentalNPC]"; mes "Welcome to Beginning Ragnarok!!"; mes "What Service May I Offer You ?"; next; mes "Please select your class specific Rentalthat you want to get:"; switch(select("Rental Donation Increase:Rental Donation Magic:Rental Donation Reduce")) { case 1: mes "[RentalNPC]"; mes "Here's your Rental for Increase Donation Set"; rentitem 5013,300; goto Message1; end; case 2: mes "[RentalNPC]"; mes "Here's your Rental for Magic Donation Set"; rentitem 13945,300; goto Message1; end; case 3: mes "[RentalNPC]"; mes "Here's your Rental for Reduce Donation Set"; rentitem 13945,300; goto Message1; end; } Message1: mes "[RentalNPC]"; mes "Enjoy ur WOE."; mes "If you need help. Please use @request / search for Game Staffs. Thank You."; mes "Before Expired Please Remove The Card.GM Wont Responsible if any card Lost."; close; OnSat2100: OnSun2100: enablenpc strnpcinfo(1); end; OnSat2200: OnSun2200: disablenpc strnpcinfo(1); end; } thanks sir its work but need click the npc first to made it hide Edited November 7, 2020 by Subzero working Quote Link to comment Share on other sites More sharing options...
0 Subzero Posted November 7, 2020 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 07/25/16 Last Seen: August 5, 2021 Author Share Posted November 7, 2020 4 hours ago, Poring King said: Try this i made it thru phone if this won't work then at least i give you idea how to do it prontera,x,y,3 script testHideDuringWoe 99,{ if ( agitstart() || agitstart2() || agitstart3()){ if ( gettime (DT_DAYOFWEEK) == Day1 || Day2 || day 3 || etc ){ // Do this if the first condition true then do another condition inside condition // If the condition do the code here } end; if the condition of day is false then end the script } end;// End the script if the condition is false OnInit: hideonnpc "NPCNAME"; end; } izlude,160,89,3 script testHideDuringWoe 99,{ if ( agitstart() || agitstart2() || agitstart3()){ if ( gettime (DT_DAYOFWEEK) == Day1 || Day2 || day 3 || etc ){ // Do this if the first condition true then do another condition inside condition // If the condition do the code here } end; if the condition of day is false then end the script } end;// End the script if the condition is false OnInit: hideonnpc "Rental Donation"; end; } not working sir Quote Link to comment Share on other sites More sharing options...
0 Scylla Posted November 7, 2020 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 374 Reputation: 47 Joined: 03/27/13 Last Seen: 14 hours ago Share Posted November 7, 2020 4 hours ago, Subzero said: thanks sir its work but need click the npc first to made it hide Ah then: izlude,128,112,3 script Rental Donation 122,{ OnInit: disablenpc strnpcinfo(1); end; Quote Link to comment Share on other sites More sharing options...
Question
Subzero
hello,its there posibble
make npc only show following time example
saturday,sunday 21:00 until 22:00
this my tested npc
https://pastebin.com/QFQDTj4c
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.