Here is my script. It supposed only shows at friday between 12 hour only right? Its not working. It's on everyday
odin_tem03,193,300,5 script Mrs.Friday 811,{ //=========================== Settings ==================================== set .@changername$,"[ Mrs.Friday ]";// YOU MAY CHANGE THE NAME OF THE NPC set .tcgid,20104; set @tcgamount,1; //======================= Settings End ==================================== //************************************************************************* mes .@changername$; mes "??"; mes "???"; mes "????"; next; switch(select("Hello Mrs. Friday:Cancel")) { case 1: if (countitem(20103) > 0) { mes .@changername$; mes "Hello "+strcharinfo(0)+" ,"; mes "What business do you have with me?"; mes "I am very busy, there's evil need to be wipe"; mes "Mankind like you won't even stand a chance"; next; mes "Hmm. Is that stone from Mr. Thursday?"; mes "I see you have meet all my family then."; mes "It means you are seeking a stone to make a powerful item."; next; switch(select("How do you know?:Cancel")) { case 1: mes .@changername$; mes "You are seeking the corpse of Icefrog right?"; mes "To make the legendary DoTA Weapon"; mes "It's a very powerfull weapon and in the wrong hand can cause a destruction"; next; switch(select("I will help you perish the evil:Cancel")) { case 1: mes .@changername$; mes "Then if you are worthy enough, go and find me something in return"; mes "Make me one ^FF0000 Valkyrie Helm ^000000"; mes "All my family ask for material but I'm asking for the equipment"; mes "and I need 20 ^0000FF TCG ^000000"; next; switch(select("I have it right now:Cancel")) { case 1: mes .@changername$; mes "Okay let me check if"; mes "you have the material"; next; mes .@changername$; mes "Rustle... Rustle..."; if((countitem(5171) > 0) && (countitem(7227) > 19)) { delitem 5171,1; //delitem 7063,99; delitem 7227,20; //delitem 982,1; next; mes .@changername$; getitem .tcgid,@tcgamount; //Change to next Item! mes "Here take this and go at the second last level of Endless Tower"; mes "There you will the coffin of IceFrog!"; close; } else { mes .@changername$; mes "Sorry you have to get the items first!"; close; } case 2: mes .@changername$; mes "Okay goodbye!"; close; } case 2: mes .@changername$; mes "Okay goodbye!"; close; } case 2: mes .@changername$; mes "Okay goodbye!"; close; } } else { mes .@changername$; mes "How rude you young man!"; mes "Try to cheat on me"; close; } case 2: mes .@changername$; mes "Okay goodbye!"; close; } // Enabling OnClock0655: // 06:55 AM if(GetTime(4) == 5) // Tuesday EnableNPC("Mrs.Friday"); End(); // Enabling OnClock1805: // 06:05 PM if(GetTime(4) == 5) // Tuesday DisableNPC("Mrs.Friday"); End(); } [/codeBOX]
Question
pojiejapan
Here is my script. It supposed only shows at friday between 12 hour only right? Its not working. It's on everyday
This is the On Clock part
// Enabling
OnClock0655: // 06:55 AM
if(GetTime(4) == 5) // Tuesday
EnableNPC("Mrs.Friday");
End();
// Enabling
OnClock1805: // 06:05 PM
if(GetTime(4) == 5) // Tuesday
DisableNPC("Mrs.Friday");
End();
[/code]
Link to comment
Share on other sites
8 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.