Disguise Event [Help]

Takumirai

New member
Messages
60
Points
0
https://github.com/HerculesWS/Hercules/blob/master/npc/custom/events/disguise.txt

- i would like to ask a script to be like this

- from 8am - 8pm [every 2 hours event will start, with 10 rounds]

but when 9pm - 7am [every 2 hours event will start, with 5 rounds]

- i dont know if this script will be correct

OnClock8000:
OnClock1100:
OnClock1400:
OnClock1700:
OnClock2000:
        set .Rounds,10;
set .ResetCounter,.ResetCounter+1;
set .EventON,1;
set .Timer,1;
set .Wait,1;
announce "The Disguise Event will begin in 3 minutes.",bc_all | bc_blue;
announce "The Event is being held in Prontera.",bc_all | bc_blue;
setnpctimer 0;
initnpctimer;
end;
 
[where to put the next OnClock from 9pm - 7am]
 
Last edited by a moderator:
So, based on what you posted it should look like this:

Code:
OnClock2100:OnClock2200:OnClock2300:OnClock0000:OnClock0100:OnClock0200:OnClock0300:OnClock0400:OnClock0500:OnClock0600:OnClock0700:.Rounds = 5;callsub iRound5;end;OnClock0800:OnClock1000:OnClock1200:OnClock1400:OnClock1600:OnClock1800:OnClock2000:        set .Rounds,10;iRound5:    set .ResetCounter,.ResetCounter+1;    set .EventON,1;    set .Timer,1;    set .Wait,1;    announce "The Disguise Event will begin in 3 minutes.",bc_all | bc_blue;    announce "The Event is being held in Prontera.",bc_all | bc_blue;    setnpctimer 0;    initnpctimer;    end;
 
Back
Top