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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
rabek
Beginner


Joined: 24 Nov 2011
Posts: 13
Location: United States

PostPosted: Mon Oct 12, 2020 8:47 pm   

ONINPUT on Alarm
 
I have the following trigger:

#ONINPUT {*} {#ALARM "antiAFK" {+6:00} {save} [AntiIdle]}

I want it to trigger again when the #ALARM sends 'save' to the game. I have 'trigger on trigger' active, but it doesn't trigger off that input.

Basically, I want it to hit 'save' for me every six minutes, but only when I'm idle (thus not entering commands to reset the alarm).
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4272
Location: Pensacola, FL, USA

PostPosted: Thu Oct 15, 2020 10:57 am   
 
try an alias:

#ALIAS save {~save;#ALARM "antiAFK" {+6:00} {save}}
_________________
Discord: Shalimar#3679
Reply with quote
rabek
Beginner


Joined: 24 Nov 2011
Posts: 13
Location: United States

PostPosted: Wed Oct 21, 2020 8:02 pm   
 
Sadly, this doesn't work. The timer still exists, but it continues counting into the negative instead of resetting to six minutes.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4272
Location: Pensacola, FL, USA

PostPosted: Thu Oct 22, 2020 1:06 am   
 
That is very odd, given positive alarms auto delete when they reach 0.
It may have something to do with your use of square brackets instead of curly for the class name.
Try deleting the #ALARM and recreating it.
_________________
Discord: Shalimar#3679
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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