![]() |
Help.
I need something scripted:
It records the time a FAQ has been on a tag, and resets sunday, twelve PM, am, whatever/after eleven PM. It takes the tags/accounts, etc, out of the "guildFAQ.txt" file (if that is still the name of it). I'd need to be able to view it on my FAQ Chief tag "list times." It'd show up in a format like the "House Owner Helper!" guy. Account:Nickname - Hours been on. If you know how to do this, post in this thread. Sorry. I posted this in the regular NPC forum, too. Seeing as it has to be done with the NPC Sertver, I figured I'd put it here, too. |
I'm afraid that with the current scripting possibilities checking textfiles is impossible.
|
Well, I had that changed so that it was an NPCW in the FAQ's q-list inventory, so It might make it a little easier. Check the "uhm..." thread in the regular NPC forum under this one.
|
if(created){
addstring server.faqbigbro,account-date-time; } if(playerenters && strequals(#g,FAQ)){toweapons *Big Brother;timeout=60;} if(timeout){ if(strequals(#g,FAQ)){ addstring server.faqbigbro,#a-#v(server.date)-#v(server.time); //unsure if it's server.date and server.time, but... } timeout=60; } |
that can't be all...lol :confused:
|
Quote:
|
I was getting scared for second, I though he lost he noggen 0.o
|
or you could have their most recent time saved to their server.faqtime_#a
|
Quote:
|
Quote:
|
?
It resets sunday; is that included? |
Re: Help.
Quote:
|
Re: Re: Help.
Quote:
|
Well, its easiest made if you make a weapon that has a 1 second timeout that checks if the tag if active and if its active it increases a var. When the var equals 60 it increases minutes wich is sent to an npc wich stores the faq online times in this.vars
|
for weapons that are on the NPC server, weapons cannot access server sided variables, but they can call a function to the npc control to set a server variable
|
//wipes the big brother list when a chief says so.
if(playersays(wipe big brother)){ if(playeringuild(FAQ Chief)){ setstring server.faqbigbro,; } } //EDIT: oops, forgot a parenthesis. |
: )
|
| All times are GMT +2. The time now is 06:16 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.