Hello,
I am a bit new to coding in Mushclient. I wanted to create a countdown timer for respawning of the creatures. I used the Gettimerinfo function as below.
<triggers>
<trigger
enabled="y"
expand_variables="y"
group="Respawn Timer"
match="(Guild): *, "Time Left.""
send_to="12"
sequence="100"
>
<send>foo=GetTimerInfo ("my_respawn", 13)
if foo
then
Send ("GT Remaining Time: " .. (GetTimerInfo ("my_respawn", 13)))
end -- if</send>
</trigger>
</triggers>
When the request triggered it gives a result like: Remaining Time: 117.10484535433
Is it possible to report this in only seconds?
I am a bit new to coding in Mushclient. I wanted to create a countdown timer for respawning of the creatures. I used the Gettimerinfo function as below.
<triggers>
<trigger
enabled="y"
expand_variables="y"
group="Respawn Timer"
match="(Guild): *, "Time Left.""
send_to="12"
sequence="100"
>
<send>foo=GetTimerInfo ("my_respawn", 13)
if foo
then
Send ("GT Remaining Time: " .. (GetTimerInfo ("my_respawn", 13)))
end -- if</send>
</trigger>
</triggers>
When the request triggered it gives a result like: Remaining Time: 117.10484535433
Is it possible to report this in only seconds?