day of the week npc

Join Discord

Neptune

Golden Oldie
Golden Oldie
Nov 19, 2003
1,473
9
145
Chester :P
ok this npc was a very quick throw togeva, but a few people have asked for 1 b4 now. (it might not be useful but some 1 mite need it 1day)

so wot does the NPC do, well what i have done is made it so it checks the day of the week, then u can make it do somethin (ull have to add that part), it will also break mondays check command on tuesday so that next monday it will just run the same round agen (same for wensday it will break tuesdays etc) any problems with it let me know and ill sort a fix out (just to say its not been checked over properly) it uses flags 701 711 721 731 741 751 761 (so just be aware),

also iv just taken out the "givegold 2mil" command aswell and placed it with "PLACE YOUR PREFERD NPC COMMAND HERE" to make it a bit easyer, and for waht the NPC says after youve already had the "item" iv placed "CHANGE YOUR NPC SAY HERE" just to make it a bit easyer for people to pinpoint were to change it

if the "SET [***] 0" DOESNT WORK TRY CHANGEING IT TO "RESET [***] 0"
 

Attachments

  • day npc2.txt
    1.8 KB · Views: 59
Last edited:

Neptune

Golden Oldie
Golden Oldie
Nov 19, 2003
1,473
9
145
Chester :P
no its so u can set it to do different things each day of the week m8, like 1 thing monday then different tuesday

if you are going to use this kind of feature for a SABUK guild, then do this for the npc

start off with changing the [@main] to [@main1] then add this to the top of the npc

[@main]
#IF
ISCASTLEGUILD
#ACT
goto @main1
#ELSESAY
Sorry you are not in the Sabuk Wall Guild.\ \
<Ok, Bye/@exit>


to make it a pet NPC (for different daily) add somethin like this (this will only give 1 pet per day)

where it says "PLACE YOUR PREFERD NPC COMMAND HERE" use this 1

RECALLMOB Yob 1 20 0 0

ok to change what mob it spawns change "Yob" to ur preferd mobs name, to chang the level of the pet change the "1" to ur requierd level (0-7 is used) the "20" means how long the pet is spawned for, so atm its set for "20 mins"

you can also make it add so much EXP per day (so say could add 20k exp to the person daily)

again change "PLACE YOUR PREFERD NPC COMMAND HERE" to this 1

CHANGEEXP + 20000

this will add 20k exp (once daily), also the other options are "=, +, -"

for a added EXP rate (again one daily) change "PLACE YOUR PREFERD NPC COMMAND HERE"

KILLMONEXPRATE 120 150

the 120 means it will change the exp to "120%" (100% is the normal rate) so "150" would mean 1.5x exp. and the 150 is how many seconds it will change it for
 
Last edited:

Bon

Legend
Legendary
Jul 29, 2004
6,726
330
300
Kent, UK
theres a script error btw

[@Wen]
#IF
Check [721] 1
#SAY
Sorry Youve Had Your Money For Today.\ \
<Ok, Bye./@exit>
#ELSEACT
GiveGold 2000000
SET [721]
RESET [711] 1
break

should be

[@Wen]
#IF
Check [721] 1
#SAY
Sorry Youve Had Your Money For Today.\ \
<Ok, Bye./@exit>
#ELSEACT
GiveGold 2000000
SET [721] 1
SET [711] 0
break

This is done for loads... uve missed the 1 on the 1st set, and reset is no such thing.. u just put 0 to turn it off...
 

Neptune

Golden Oldie
Golden Oldie
Nov 19, 2003
1,473
9
145
Chester :P
theres a script error btw

[@Wen]
#IF
Check [721] 1
#SAY
Sorry Youve Had Your Money For Today.\ \
<Ok, Bye./@exit>
#ELSEACT
GiveGold 2000000
SET [721]
RESET [711] 1
break

should be

[@Wen]
#IF
Check [721] 1
#SAY
Sorry Youve Had Your Money For Today.\ \
<Ok, Bye./@exit>
#ELSEACT
GiveGold 2000000
SET [721] 1
SET [711] 0
break

This is done for loads... uve missed the 1 on the 1st set, and reset is no such thing.. u just put 0 to turn it off...

ty for that 1 m8 ill go over it now and change it all because i need to change 1 or 2 things now ^_^ ty so much lol

ok it all changed now m8 ty for that much appreciated
 
Last edited:

Neptune

Golden Oldie
Golden Oldie
Nov 19, 2003
1,473
9
145
Chester :P
just a quick update, i will be changing it in a min so that say on monday it will break tuesdays wensdays thursdays fridays satdays and sundays, check commands (so say if u miss a day the next day it will break the command still otherwise it wouldnt of broken that command so next time u go to use it on monday it will thing youve alrdy had it)

EDIT* just uploaded it now after changing the break day commands for each day, iv also named it to DayNpc2 (the 2 to show its been updated)

also see my post above for some more of the "popular commands" that people use
 
Last edited:

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
294
Its useful thanks. Was thinking of using something like this.
 

Neptune

Golden Oldie
Golden Oldie
Nov 19, 2003
1,473
9
145
Chester :P
no probelm m8. make sure its the DayNpc2 that u have so u know u have the latest 1 :) any problems please let me know and ill sort them :)
 

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
i believe TD has said that actually reset does exist
 

Bon

Legend
Legendary
Jul 29, 2004
6,726
330
300
Kent, UK
there is no such thing as reset.. as its not needed

set 1 = on
set 0 = off... off is reset so lol... may aswell edit ur post sayin if it dont work try reset :x
 

Neptune

Golden Oldie
Golden Oldie
Nov 19, 2003
1,473
9
145
Chester :P
just going by wots in TD's files ^_^ if all is fine then no 1 will need to change as iv got set 0 in the file :P
 

Neptune

Golden Oldie
Golden Oldie
Nov 19, 2003
1,473
9
145
Chester :P
thats y i gave the flags iv used 10 spaces between each other, u can set it to how many flags it "resets", but if all is fine then everythin is ok :) i mite stick togeva some other bits later on that might be useful to people aswell