johnbond2 Posted January 13, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 03/15/12 Last Seen: September 16, 2013 Share Posted January 13, 2013 (edited) Kindly anyone please show me how to make my particular NPC to only enable warping during weekends (wholeday) and disable warping during weekdays. pvp_y_room,53,85,5 script Izlude PvP 973,{ mes "[PvP Warper]"; mes "PvP Effects."; next; sc_end SL_ASSASIN; skill 420,0,0; //break fall sc_end TK_DODGE; undisguise; if (getgmlevel() <= 3) npctalk ""+strcharinfo(0)+" has entered."; warp "pvp_y_8-3",0,0; close; end; Thank you in advance! Edited January 13, 2013 by gunman Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted January 13, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted January 13, 2013 (edited) pvp_y_room,53,85,5 script Izlude PvP 973,{ mes "[PvP Warper]"; if ((gettime(4) != 0) || (gettime(4) != 6)) {mes "I'm sorry, the room opens only on weekends."; close;} mes "PvP Effects."; next; sc_end SL_ASSASIN; skill 420,0,0; //break fall sc_end TK_DODGE; undisguise; if (getgmlevel() <= 3) npctalk ""+strcharinfo(0)+" has entered."; warp "pvp_y_8-3",0,0; close; end; Edited January 13, 2013 by nanakiwurtz Quote Link to comment Share on other sites More sharing options...
johnbond2 Posted January 13, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 03/15/12 Last Seen: September 16, 2013 Author Share Posted January 13, 2013 (edited) pvp_y_room,53,85,5 script Izlude PvP 973,{ mes "[PvP Warper]"; if ((gettime(4) != 0) || (gettime(4) != 6)) {mes "I'm sorry, the room opens only on weekends."; close;} mes "PvP Effects."; next; sc_end SL_ASSASIN; skill 420,0,0; //break fall sc_end TK_DODGE; undisguise; if (getgmlevel() <= 3) npctalk ""+strcharinfo(0)+" has entered."; warp "pvp_y_8-3",0,0; close; end; Thank you! Though I have a waitingroom enabled in the NPC: OnInit: while( 1 ){ delwaitingroom; waitingroom "["+getmapusers("pvp_y_8-3")+"] PvP",0; sleep 3000; } end; } How can I make it that on weekdays it will show a different waitingroom message? Thanks again my friend! Edited January 13, 2013 by gunman Quote Link to comment Share on other sites More sharing options...
Yummy Posted January 13, 2013 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 236 Reputation: 12 Joined: 03/07/12 Last Seen: March 6 Share Posted January 13, 2013 · Hidden by Euphy, January 13, 2013 - Irrelevant. Hidden by Euphy, January 13, 2013 - Irrelevant. Hi Gunman! I'm your biggest fan "Adestria" here Link to comment
nanakiwurtz Posted January 13, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted January 13, 2013 OnInit: while( 1 ){ delwaitingroom; if ((gettime(4) != 0) || (gettime(4) != 6)) waitingroom "Weekdays",0; else waitingroom "["+getmapusers("pvp_y_8-3")+"] PvP",0; sleep 3000; } end; } Quote Link to comment Share on other sites More sharing options...
Question
johnbond2
Kindly anyone please show me how to make my particular NPC to only enable warping during weekends (wholeday) and disable warping during weekdays.
Thank you in advance!
Edited by gunmanLink to comment
Share on other sites
4 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.