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
AVATAR has various communication channels available for you to use. Check out HELP CHANNELS for more information. - Riviat
Users Online
Guests Online: 4
No Members Online

Member Count: 518
Newest: AEton
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 02: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 17: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 17: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 17: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 17: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 19: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 03: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:
 

8258605 Unique Visits

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

Shoutbox
You must login to post a message.

Nito
Dec 27 2017 21:58
anyone able to log in? i just got kicked while on a fire-realm run and cant log back in.

Qismat
Dec 19 2017 07:23
Christmas restore event just finished. Will announce another one over the next couple of days!

laazarus
Aug 12 2017 09:28
the wiki has been down for over 24hrs (ERROR 502 - Bad Gateway!)

laazarus
Apr 08 2017 02:54
TMS seems to be counting more accurately this month

laazarus
Mar 02 2017 13:07
TMS is still not counting votes, damn them! Somehow they count Outbound clicks better then Inbound which you would think would indicate to them there is an obvious error, but apparently not.

Shoutbox Archive
Game Updates
Jan 16 2018 17:35
Valdemar has remorted into a High Elf Mage.
Jan 16 2018 11:08
Lonestar successfully morphs from Hero 530 to become Lord Lonestar.
Jan 16 2018 03:28
There is a disturbance in the realm as Net fails to become a Lord at sublevel 501.
Jan 16 2018 00:45
Ayla has remorted into a Human Priest.
Jan 16 2018 00:45
Cru has remorted into a Golem Warrior.