Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
ropague
Beginner


Joined: 03 Jul 2001
Posts: 14
Location: Finland

PostPosted: Mon Feb 11, 2002 3:49 pm   

Alarm disabling triggerclass
 
I need to do a script that stops roboting after 5 min AFK (so I wont accidentally robot when away).

I tried to do that with #alarm, that disables one trigger class after the 5 min has passed. Then I tried to use #oninput to reset the alarm, if I type something to mud. The problem is, that when one of those robotting trigs fire, it causes #oninput to reset the alarm.

How can I do such a script that will reset the alarm ONLY if the USER types something, not any trigger?
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Mon Feb 11, 2002 7:18 pm   
 
I couldn't seem to find a way to tap into
what the attached command line has sent and
sent at what time (ie what you typed).

What I use is a button which the alarm trigger will flip every 10 minutes which
initiates an alarm to shut down the scripts
in 5 minutes. As the user, I just have to
reclick the button which gets flipped.

That way I ensure I'm at the kbd when things
are running. Minor inconvienience.

TonDiening
Uses 6.16
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net