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
Shriken
Newbie


Joined: 21 Dec 2004
Posts: 5
Location: Hell, Michigan

PostPosted: Sat Apr 02, 2005 5:30 pm   

Spell Status Window
 
I would appreciate it if someone gave me the location of a script for spells that I can put in the status window, for example.

The white barrier surrounding your body fades away.

*while in the status window

Sanctuary - On *to Sanctuary - Off
Bless - On
Bark Skin - On
Stone Skin - On
Rage - On
Frenzy - On

and so on.. and so forth..

*of course I only put the one up there cause I can edit it off from that*

So if somene could possibly PM me or reply to this post with the said script I'd really appreciate it.
Reply with quote
asm
Wanderer


Joined: 19 Jul 2004
Posts: 68

PostPosted: Sat Apr 02, 2005 7:09 pm   
 
First of all, this forum is for finished scripts, not requests. That being said, you might try the search function (Currently under the site menu at the top) to find such a script.

Writing your own script for this, however, would be quite simple. Simple create variables like @sanctuary, @bless, etc. Have a trigger that sets it to 0 if the message indicating it has worn off is displayed, and a trigger that sets it to 1 if a message indicating it has been successfully cast is displayed. Every time it changes, call a print function that prints out the status of each (if 0, "off", if 1, "on"), and there you go. Might also want to #clr it before you print the new information, but I don't know if that works for windows other than the main one.

Regards
_________________
My collections of scripts.
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Tue May 10, 2005 12:50 am   
 
Maintain a string list of your defences.

trigger "putting up sanctuary message"
#delitem defences {Sanctuary - Off}
#additem defences {Sanctuary - On}

trigger "taking down sanctuary message"
#delitem defences {Sanctuary - On}
#additem defences {Sanctuary - Off}

And have the following in the status window:
%expandlist( %sort(@defences), %cr)
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue May 10, 2005 10:25 pm   
 
Topic moved. I just might remember to delete the "shadow" topic in a few days.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Mon May 16, 2005 8:20 am   
 
I use this:

in status window:
%ansi( high, @c_wb)cwb %ansi( high, @c_mb)cmb

on a spell dropping i set c_spell = red
on respell i set c_spell = green

It eliminates having cwb = off

btw... cwb and cmb are my alias names for "cast water breath" and "cast mental barrier"

so if i see cwb in red spell is down and if green then it is up... i also set it to blue inside the alias, that way spells waiting for the actual mud command are blue.
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