About This File
UPDATE:
version 1 = I removed all my modifications on this script
version 2 = Has timers and will most likely be in-conflict with other event scripts i made.
In response to this post :
OnInit:
// item reward
setarray .item,
501, 10,
502, 5;
// @dicestart - gm manual start
bindatcmd "dicestart", strnpcinfo(0)+"::OnStart",60,60;
// @dice - player join event
bindatcmd "dice", strnpcinfo(0)+"::OnJoinEvent";
// Mapflags
setarray .@mapflag,
mf_nowarp,
mf_nowarpto,
mf_noskill,
mf_noteleport,
mf_nomemo,
mf_nosave,
mf_noicewall,
mf_nobranch,
mf_noreturn;
for ( .@i = 0; .@i < getarraysize(.@mapflag); .@i++)
setmapflag "quiz_02", .@mapflag[.@i];
.event_time_m = gettime(DT_MINUTE);
.event_time_s = gettime(DT_SECOND);
end;
I took some dice script by someone named sandbox and modified it the way how I understand this posts suggests to make.
instead of using @event to check the time schedule of dice, I incorporate it to @dice command.
This will show you an hourly countdown as to when will the event will be re-starting.
And this dice event should be working on latest rathena.
Compatibility is your Responsibility.
PS : if there are any broken event scripts ( due to old versions ), just DM me the link and I might be interested in updating it.
PPS: I will only FIX it and not modify it at all.
What's New in Version 1.0.5 See changelog
Released
Minor edit on .@time variable