Login
Username

Password

Remember Me

Learn how to register!
or
Forgot your password?
Request a new one!
Support
Like on FacebookLike on Facebook
Vote for AVATAR at TopMudSites!
Vote for AVATAR on TMC!
Follow us on Twitter
Donate to AVATAR using PayPal - Thank you!
Polls
What is your favorite anniversary event?
- view results -
Newbie Tip
If everything goes suddenly dark...try using a light. Candles and lanterns are readily available for purchase from Nom, Sol or Jim the Peddler, but it is always best to bring some spares along. - Calidon
Users Online
Guests Online: 5
No Members Online

Member Count: 528
Newest: Troyu
View Thread
Avatar | Public | General
Author need script help
Ebnodon
Member

User Avatar

Posts: 27
Location: New Brunswick, Canada
Joined: 26.05.08
Posted on Jun 10 2008 06:02
Hi,

I am working on doing a script to make my healer a buffer in sanctum when i'm semi-afk from keyboard. I use Zmud

I am having a problem trying to get the system to recognize how much mana I have, because I want to be able to let people know when i do not have enough mana to spell them up. I can't get the trigger to work for that.

I would apreciate any help with it. Thanks.

Ebnodon
http://ebbiecartoon.branchfamily.ca
Author RE: need script help
Addrarraent
Member

Posts: 2
Location: Southern California
Joined: 21.08.07
Posted on Jun 11 2008 21:03
Whats your prompt? Can just trigger to it for example
^~{%n/%n &%dCurrentMana/%n %n/%n~}
if your base prompt was {33/34 44/45 55/65} for health, mana and moves this would store your current mana in a variable named CurrentMana.
Edited by Addrarraent on Jun 11 2008 21:04
Author RE: need script help
Ebnodon
Member

User Avatar

Posts: 27
Location: New Brunswick, Canada
Joined: 26.05.08
Posted on Jun 11 2008 21:07
Yah that'd be one way to do it but thing is it would continually trigger...
http://ebbiecartoon.branchfamily.ca
Author RE: need script help
Addrarraent
Member

Posts: 2
Location: Southern California
Joined: 21.08.07
Posted on Jun 11 2008 21:12
Nothing wrong with that as far as I know, a while back I started capturing my whole prompt and then gagging it, haven't noticed any delay or slow down.
Author RE: need script help
Kiruzog
Member

User Avatar

Posts: 8
Location: Oregon
Joined: 21.08.07
Posted on Jun 12 2008 23:04
in zmud you can also turn triggers on and off with other triggers (lol i can't think of the command right now, but you set the class for the trigger in the 3rd {}, and then turn off the class/folder
Author RE: need script help
Wiseman
Member

User Avatar

Posts: 26
Location: Seeking hidden knowledge
Joined: 28.01.07
Posted on Jun 13 2008 07:39
Your other option if you don't want to capture your prompt every time it displays is to have a trigger check your mana via the group list on request. You only get one update each time that way, and you can use your if statement after the check.


Wiseman
-----------
English does not borrow from other languages. English follows other languages into dark alleys, raps them over the head with a cudgel, then goes through their pockets for loose vocabulary and spare grammar.
-Mama_Willowe
1625704 wyvaud@gmail.com http://users.tpg.com.au/wyvaud/avatar_races/races.html
Jump to Forum:
 

34833165 Unique Visits

Powered by PHP-Fusion v6.01.18 © 2003-2007

Shoutbox
You must login to post a message.

Cerdwyn
Aug 16 2022 03:24
booooooo

Qismat
Aug 02 2022 22:13
Daeron is running Push Your Luck now. Mini-HoG just ended!

Halari
Jun 30 2022 04:23
It is!

Vanusk
Jun 28 2022 23:55
Testing. Testing. This thing on?

Qismat
Aug 17 2021 05:50
Halfway through August and so many events yet to go! Log in now to join our newest event.

Shoutbox Archive
Game Updates
Mar 29 2024 05:05
Noorm successfully morphs from Hero 652 to become Lord Noorm.
Mar 28 2024 22:18
There is a disturbance in the realm as Noorm fails to become a Lord at sublevel 616.
Mar 28 2024 14:32
There is a disturbance in the realm as Noorm fails to become a Lord at sublevel 577.
Mar 28 2024 01:45
There is a disturbance in the realm as Noorm fails to become a Lord at sublevel 532.
Mar 28 2024 01:40
The Ultimate Dragon viewing room is now closed!