Gwynevere2007-05-12 11:14:01
Alrighty, anyone able to whip me up a Zmud script that will keep track of how many herbs I have? For example, let's say I need at least 200 of each herb.. when I look in my rift it'll record any herb that is under 200 and then show me which I must stock up... in a little display like...
**************************
You need the following herbs:
Yarrow: 5
Sargassum: 100
**************************
and so on!
Thanks! Oh and for the alias I would like it to be 'hcount' please!
**************************
You need the following herbs:
Yarrow: 5
Sargassum: 100
**************************
and so on!
Thanks! Oh and for the alias I would like it to be 'hcount' please!
Gwylifar2007-05-12 11:53:06
How much does it pay?
Gwynevere2007-05-12 19:38:47
500 dollars in monopoly money
Gwylifar2007-05-13 13:16:27
In that case, I'll write you a system to count how many hotels you have.
Unknown2007-05-13 15:06:45
QUOTE(Gwynevere @ May 12 2007, 07:14 AM) 406550
Alrighty, anyone able to whip me up a Zmud script that will keep track of how many herbs I have? For example, let's say I need at least 200 of each herb.. when I look in my rift it'll record any herb that is under 200 and then show me which I must stock up... in a little display like...
**************************
You need the following herbs:
Yarrow: 5
Sargassum: 100
**************************
and so on!
Thanks! Oh and for the alias I would like it to be 'hcount' please!
**************************
You need the following herbs:
Yarrow: 5
Sargassum: 100
**************************
and so on!
Thanks! Oh and for the alias I would like it to be 'hcount' please!
You know, it's best if you use your own eyes. Why, back in my day, we didn't have any fancy scripts or aliases. We had 6 inch screens and one color text and that was FINE with us. If you wanted a fancy thing to happen YOU WOULD DO IT YOURSELF.
Acrune2007-05-13 18:17:53
You could probably make a single trigger to highlight any herbs with less then 200 when you do info rift, in about 5 minutes.
Forren2007-05-13 19:12:59
QUOTE(Soraka @ May 13 2007, 11:06 AM) 407009
You know, it's best if you use your own eyes. Why, back in my day, we didn't have any fancy scripts or aliases. We had 6 inch screens and one color text and that was FINE with us. If you wanted a fancy thing to happen YOU WOULD DO IT YOURSELF.
Stop trolling.
Unknown2007-05-14 01:29:25
QUOTE(Forren @ May 13 2007, 03:12 PM) 407070
Stop trolling.
Stop griefing.
Unknown2007-05-14 01:38:25
QUOTE(Soraka @ May 13 2007, 09:29 PM) 407211
Stop griefing.
There's a big difference between you and Forren.
People like Forren.
Unknown2007-05-14 01:44:30
QUOTE(Kromsh @ May 13 2007, 09:38 PM) 407214
There's a big difference between you and Forren.
People like Forren.
People like Forren.
People like me too, your point?
Ayridion2007-05-14 07:19:04
Please keep this thread civil.
Unknown2007-05-14 13:24:42
I have been thinking about writing a script like this for myself anyway, it would actually be relatively easy. I might work on one later if I get bored, but that probably won't happen for awhile with an entire undervault to explore/hunt.
Gwynevere2007-05-16 01:38:25
If I knew how to do it myself, I wouldn't be asking on here... Heh. I'm teaching myself how to do it, but I'd need an example to learn from now wouldn't I?
ANYWAYS... if there IS someone willing to help me learn (I think I've bugged Shorlen plenty hehe), I will gladly do it myself. OR if someone would like to write a script then go over it with me on how it all works.. then that'd be great too.
Thanks to those who didn't give me a 'smart' answer and were actually willing to help. I appreciate it
P.S. Gwylifar, you're the shiny little boot aren't you. Squishing peoples hopes and dreams
ANYWAYS... if there IS someone willing to help me learn (I think I've bugged Shorlen plenty hehe), I will gladly do it myself. OR if someone would like to write a script then go over it with me on how it all works.. then that'd be great too.
Thanks to those who didn't give me a 'smart' answer and were actually willing to help. I appreciate it
P.S. Gwylifar, you're the shiny little boot aren't you. Squishing peoples hopes and dreams
Gwylifar2007-05-16 12:36:52
Nah, I make dreams come true! Just ask any of the people I've done scripts for before. I just want to get paid for my time doing it.
Ayridion2007-05-16 13:52:07
Here's a quickie you can play with.
#class {herb_counter}
#class 0
#var herbs_all_curative "" "" "herb_counter"
#var herb_counter_var "" "" "herb_counter"
#var herb_counter_num "" "" "herb_counter"
#var herb_counter_over "" "" "herb_counter"
#var herb_counter_all "" "" "herb_counter"
#alias hcount {#t+ {herb_counter} class;#send {IR};#ala "herb_show" +1.3 {herb_show}}
#trigger {~ arnica} {#if (%1<200) {#addkey herb_counter_var arnica %1} {#additem herb_counter_over arnica}} "herb_counter"
#trigger {~ calamus} {#if (%1<200) {#addkey herb_counter_var calamus %1} {#additem herb_counter_over calamus}} "herb_counter"
#trigger {~ chervil} {#if (%1<200) {#addkey herb_counter_var chervil %1} {#additem herb_counter_over chervil}} "herb_counter"
#trigger {~ coltsfoot} {#if (%1<200) {#addkey herb_counter_var coltsfoot %1} {#additem herb_counter_over coltsfoot}} "herb_counter"
#trigger {~ earwort} {#if (%1<200) {#addkey herb_counter_var earwort %1} {#additem herb_counter_over earwort}} "herb_counter"
#trigger {~ faeleaf} {#if (%1<200) {#addkey herb_counter_var faeleaf %1} {#additem herb_counter_over faeleaf}} "herb_counter"
#trigger {~ galingale} {#if (%1<200) {#addkey herb_counter_var galingale %1} {#additem herb_counter_over galingale}} "herb_counter"
#trigger {~ horehound} {#if (%1<200) {#addkey herb_counter_var horehound %1} {#additem herb_counter_over horehound}} "herb_counter"
#trigger {~ kafe} {#if (%1<200) {#addkey herb_counter_var kafe %1} {#additem herb_counter_over kafe}} "herb_counter"
#trigger {~ kombu} {#if (%1<200) {#addkey herb_counter_var kombu %1} {#additem herb_counter_over kombu}} "herb_counter"
#trigger {~ marjoram} {#if (%1<200) {#addkey herb_counter_var marjoram %1} {#additem herb_counter_over marjoram}} "herb_counter"
#trigger {~ myrtle} {#if (%1<200) {#addkey herb_counter_var myrtle %1} {#additem herb_counter_over myrtle}} "herb_counter"
#trigger {~ pennyroyal} {#if (%1<200) {#addkey herb_counter_var pennyroyal %1} {#additem herb_counter_over pennyroyal}} "herb_counter"
#trigger {~ reishi} {#if (%1<200) {#addkey herb_counter_var reishi %1} {#additem herb_counter_over reishi}} "herb_counter"
#trigger {~ sargassum} {#if (%1<200) {#addkey herb_counter_var sargassum %1} {#additem herb_counter_over sargassum}} "herb_counter"
#trigger {~ sparkleberry} {#if (%1<200) {#addkey herb_counter_var sparkleberry %1} {#additem herb_counter_over sparkleberry}} "herb_counter"
#trigger {~ wormwood} {#if (%1<200) {#addkey herb_counter_var wormwood %1} {#additem herb_counter_over wormwood}} "herb_counter"
#trigger {~ yarrow} {#if (%1<200) {#addkey herb_counter_var yarrow %1} {#additem herb_counter_over yarrow}} "herb_counter"
#trigger {^Type MORE to continue reading.} {#send {more};#ala "herb_show" +1.3 {herb_show}} "herb_counter"
#alias herb_show {#echo %ansi(grey)%cr~**************************%cr~You need more of the following herbs:%cr%cr;#loopdb @herb_counter_var {#math herb_counter_num 200-%val;#echo %ansi(grey)%key:%repeat(" ",14-%len(%key))@herb_counter_num};#echo %null;#var herbs_all_curative arnica|calamus|chervil|coltsfoot|earwort|faeleaf|galingale|horehound|kafe|kombu|marjoram|myrtle|pennyroyal|reishi|sargassum|sparkleberry|wormwood|yarrow;#loopdb @herb_counter_var {#delitem herbs_all_curative %key};#forall @herb_counter_over {#delitem herbs_all_curative %i};#forall @herbs_all_curative {#echo %ansi(grey)%i:%repeat(" ",14-%len(%i))200};#echo %ansi(grey)%cr~**************************;#var herb_counter_var "";#var herb_counter_all "";#var herb_counter_num 0;#t- {herb_counter} class} "herb_counter"
#class {herb_counter}
#class 0
#var herbs_all_curative "" "" "herb_counter"
#var herb_counter_var "" "" "herb_counter"
#var herb_counter_num "" "" "herb_counter"
#var herb_counter_over "" "" "herb_counter"
#var herb_counter_all "" "" "herb_counter"
#alias hcount {#t+ {herb_counter} class;#send {IR};#ala "herb_show" +1.3 {herb_show}}
#trigger {~ arnica} {#if (%1<200) {#addkey herb_counter_var arnica %1} {#additem herb_counter_over arnica}} "herb_counter"
#trigger {~ calamus} {#if (%1<200) {#addkey herb_counter_var calamus %1} {#additem herb_counter_over calamus}} "herb_counter"
#trigger {~ chervil} {#if (%1<200) {#addkey herb_counter_var chervil %1} {#additem herb_counter_over chervil}} "herb_counter"
#trigger {~ coltsfoot} {#if (%1<200) {#addkey herb_counter_var coltsfoot %1} {#additem herb_counter_over coltsfoot}} "herb_counter"
#trigger {~ earwort} {#if (%1<200) {#addkey herb_counter_var earwort %1} {#additem herb_counter_over earwort}} "herb_counter"
#trigger {~ faeleaf} {#if (%1<200) {#addkey herb_counter_var faeleaf %1} {#additem herb_counter_over faeleaf}} "herb_counter"
#trigger {~ galingale} {#if (%1<200) {#addkey herb_counter_var galingale %1} {#additem herb_counter_over galingale}} "herb_counter"
#trigger {~ horehound} {#if (%1<200) {#addkey herb_counter_var horehound %1} {#additem herb_counter_over horehound}} "herb_counter"
#trigger {~ kafe} {#if (%1<200) {#addkey herb_counter_var kafe %1} {#additem herb_counter_over kafe}} "herb_counter"
#trigger {~ kombu} {#if (%1<200) {#addkey herb_counter_var kombu %1} {#additem herb_counter_over kombu}} "herb_counter"
#trigger {~ marjoram} {#if (%1<200) {#addkey herb_counter_var marjoram %1} {#additem herb_counter_over marjoram}} "herb_counter"
#trigger {~ myrtle} {#if (%1<200) {#addkey herb_counter_var myrtle %1} {#additem herb_counter_over myrtle}} "herb_counter"
#trigger {~ pennyroyal} {#if (%1<200) {#addkey herb_counter_var pennyroyal %1} {#additem herb_counter_over pennyroyal}} "herb_counter"
#trigger {~ reishi} {#if (%1<200) {#addkey herb_counter_var reishi %1} {#additem herb_counter_over reishi}} "herb_counter"
#trigger {~ sargassum} {#if (%1<200) {#addkey herb_counter_var sargassum %1} {#additem herb_counter_over sargassum}} "herb_counter"
#trigger {~ sparkleberry} {#if (%1<200) {#addkey herb_counter_var sparkleberry %1} {#additem herb_counter_over sparkleberry}} "herb_counter"
#trigger {~ wormwood} {#if (%1<200) {#addkey herb_counter_var wormwood %1} {#additem herb_counter_over wormwood}} "herb_counter"
#trigger {~ yarrow} {#if (%1<200) {#addkey herb_counter_var yarrow %1} {#additem herb_counter_over yarrow}} "herb_counter"
#trigger {^Type MORE to continue reading.} {#send {more};#ala "herb_show" +1.3 {herb_show}} "herb_counter"
#alias herb_show {#echo %ansi(grey)%cr~**************************%cr~You need more of the following herbs:%cr%cr;#loopdb @herb_counter_var {#math herb_counter_num 200-%val;#echo %ansi(grey)%key:%repeat(" ",14-%len(%key))@herb_counter_num};#echo %null;#var herbs_all_curative arnica|calamus|chervil|coltsfoot|earwort|faeleaf|galingale|horehound|kafe|kombu|marjoram|myrtle|pennyroyal|reishi|sargassum|sparkleberry|wormwood|yarrow;#loopdb @herb_counter_var {#delitem herbs_all_curative %key};#forall @herb_counter_over {#delitem herbs_all_curative %i};#forall @herbs_all_curative {#echo %ansi(grey)%i:%repeat(" ",14-%len(%i))200};#echo %ansi(grey)%cr~**************************;#var herb_counter_var "";#var herb_counter_all "";#var herb_counter_num 0;#t- {herb_counter} class} "herb_counter"
Gwynevere2007-05-18 05:55:20
Thanks! Though, I think there was an error somewhere, it didn't quite work when I tried to paste it into zmud I'm not quite sure where it is -.-
Ayridion2007-05-18 10:02:09
Just go to the fifth line up from the bottom, click at the end of 'kombu|' and press delete once. It should bring marjoram right back up next to it, which for some reason just won't sit right in my post.