Login time

Post Reply
azure_glass
Posts: 97
Joined: Wed Jul 25, 2012 12:35 pm

Login time

Post by azure_glass »

Does mudlet have feature to echo login time?

And how to call that function??

Thanks for help

azure_glass
Posts: 97
Joined: Wed Jul 25, 2012 12:35 pm

Re: Login time

Post by azure_glass »

I found createStopWatch() function. How make it do echo time in [hour:minute] format?

Kyoshi
Posts: 11
Joined: Sat Aug 11, 2012 5:38 pm

Re: Login time

Post by Kyoshi »

I'm not sure what you're trying to ask here. Do you want it to echo what time it is when you log in to a MUD?

azure_glass
Posts: 97
Joined: Wed Jul 25, 2012 12:35 pm

Re: Login time

Post by azure_glass »

Trigger on login to set variable:
loginpoczatkowy = 0
loginkoncowy = 0


Timer set to 30 minutes

loginpoczatkowy = loginpoczatkowy + 1
loginkoncowy = loginpoczatkowy / 2
echo("\n You are playing " .. loginkoncowy .. " hours")


Happy mudding :)

Post Reply