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
MissApathy
Beginner


Joined: 26 May 2020
Posts: 10

PostPosted: Tue May 26, 2020 10:01 pm   

Suggestions for a Low Mana Announce
 
Hi guys,

So I finally have my prompts behaving themselves, and now I am basically looking for ideas to handle things like a low mana announce.

Obviously if I just did something like IF cma>200 or something, it would trigger every line... when what I really want is a kind of one off hey team I need a minute.

How have other people done this before?

Cheers in advance,
Miss Apathy
Reply with quote
shalimar
GURU


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

PostPosted: Tue May 26, 2020 11:28 pm   
 
Sure you can do that.

#IF (@cma>200) {#RAISE onLowCMA}

Code:
#EVENT onLowCMA {
  do something
  #T- onLowCMA
  #ALARM "reCMA" +1:00 {#T+ onLowCMA}
  }
_________________
Discord: Shalimarwildcat
Reply with quote
MissApathy
Beginner


Joined: 26 May 2020
Posts: 10

PostPosted: Tue Jun 09, 2020 5:20 am   
 
Oooooo I like it thank you!
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