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
Take the time to read room and mob descriptions carefully. There are often hints which give clues about hidden items, quests or warnings about particularly dangerous areas. - Riviat
Users Online
Guests Online: 3
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:
 

30732901 Unique Visits

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

Shoutbox
You must login to post a message.

Vanusk
Feb 02 2021 17:46
ISO IMM assistance with Multireg Issue (figured i'd try on here)...

laazarus
Jun 12 2020 14:13
ISP-related maintenance issues. Should be back in next couple hours

Ginta
Jun 12 2020 13:23
Game down?

laazarus
Apr 22 2020 13:33
Expired security certificate on wiki throwing up blocking page in all browsers (https://avatar.mel
anarchy.info)


Scada
Jan 16 2020 06:33
flap flap flap

Shoutbox Archive
Game Updates
May 14 2021 23:40
There is a disturbance in the realm as Tictoc fails to become a Lord at sublevel 364.
May 14 2021 21:04
Gnash has become a Ripper.
May 14 2021 17:48
Danimoth successfully morphs from Hero 999 to become Lord Danimoth.
May 14 2021 17:13
The Ultimate Dragon viewing room is now closed!
May 14 2021 16:55
The Ultimate Dragon viewing room is now open for business! Come witness the carnage!