[Holley] Time Script

smoochy boys on tour

lina

LOMCN Veteran
Veteran
Loyal Member
Jul 28, 2010
283
5
45
Poland
Hi guys, i need your help one more time. I need to find out how to set a script to preform a task every 24 hours.
There could be just a simple command on which to expand on or the whole script.

I have been looking for a timing script but could not find it on forum. Thanks for your help guys.
 

Josiko

LOMCN Veteran
Veteran
Loyal Member
Apr 4, 2010
428
8
44
Spain
Use this functions:

[@_Startup] ;In 00default, server start this script start.

delaygoto [grobal] 60000 @XXX ; make a time into script and other script.


GL /Origins
 
Upvote 0

lina

LOMCN Veteran
Veteran
Loyal Member
Jul 28, 2010
283
5
45
Poland
So i understand that when the server starts, this script will be run as delay and the delay is 60000? is this 60000 seconds minutes hours? and will this script be repeated every 60000 ?

BTW id like to know if you can set a x2 experiance for 1 player for around 2 hours only.
 
Last edited:
Upvote 0

Josiko

LOMCN Veteran
Veteran
Loyal Member
Apr 4, 2010
428
8
44
Spain
So i understand that when the server starts, this script will be run as delay and the delay is 60000? is this 60000 seconds minutes hours? and will this script be repeated every 60000 ?

Yes but this script is for all , or can add vip list... with text (addnamelist) or flag([xxx] 0/1).


You want apply x2 for 1 player or more player???

this script add time, level 5x10 + % -> 5x10= 50%

#IF
#ACT
HLSCRIPTCMD SETVIPTIME 1
HLSCRIPTCMD SETVIPLEVEL 5
 
Upvote 0

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
195
Redditch, UK
But no the minimum is 1 day on Holley for exp buff.

24 hour delay seems a bit extreme, imo you should use a timecall script. This is the same before but instead of triggering after a delay it will instead trigger at a specific time.

If i remmeber right it goes like this (been a while though so inform me if its wrong)

[@_StartUp]
#IF
TIMECALL 13 00
#ACT
goto @nextstep
 
Upvote 0

lina

LOMCN Veteran
Veteran
Loyal Member
Jul 28, 2010
283
5
45
Poland
Hmm using that startup i can actualy repeat a the giveaway as i will addnamelist. When at 23 59 id like the namelist to be delated, all names to be gone from there. This would enable the players to receive something once a day. However is it possible using a command to deleate all the names in a certain text file?
 
Upvote 0

dagras

LOMCN Veteran
Veteran
Feb 6, 2011
282
3
44
any script available ot anyone can make that announces to server what time it is?
 
Upvote 0

dagras

LOMCN Veteran
Veteran
Feb 6, 2011
282
3
44
i tried that geordie doesnt work i get script errors
also thought about trying to make it on d menu
 
Upvote 0

dagras

LOMCN Veteran
Veteran
Feb 6, 2011
282
3
44
like this Script error at #IF: "TimeCall 00 00" line:403 : c:\Mud3\Envir\Market_Def\00Default.txt
 
Upvote 0

TheDayIDie

Banned
Banned
Dedicated Member
Jul 29, 2011
4,071
97
135
UK
tried TIMECALL as an #ACT command?
to me it looks like an #act command, because you are Recalling the time.
 
Upvote 0