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
Need to know how much mana your spells cost to cast? Type SPELLS to see a list. The list is sortable, read HELP SPELLS for more instructions. - Riviat
Users Online
Guests Online: 2
No Members Online

Member Count: 541
Newest: Guarin
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:
 

36736866 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
Aug 10 2024 09:15
Corona successfully morphs from Hero 329 to become Lord Corona.
Aug 10 2024 09:15
Corona successfully morphs from Hero 329 to become Lord Corona.
Aug 10 2024 09:06
The Ultimate Dragon viewing room is now closed!
Aug 10 2024 09:06
The Ultimate Dragon viewing room is now closed!
Aug 10 2024 08:52
The Ultimate Dragon viewing room is now open for business! Come witness the carnage!