I have tried to figgure out how to do this script. I have seen it done for zmud but can not find one for mush. What I want is some thing to add the amount of gold I get in an hour then report it to me. my problem is getting the trigger variables to work. I really do not know scripting and the help file are not helping me. I am missing some piece of information that will not let it all click in to place. can any one tell me of a book or webiste that is good to learn scripting at? I hate to as any one to just do the script for me as I have alot that I want to do. here is the frist problem that I am coming up on.
I kill a mob and get (x) gold
save x to a variable (total)
save killed mob to (mtotal)
next mob kill I want to save x gold to (total)
save kill mob to (mtotal + 1)
(so on and on for an hour)
at the end of the hour send to the world a report of the
total gold
total mob
gold per mob average
reset total to 0
reset mtotal to 0
I know that it can not be all that hard but I just can not figure it out
I do understand how to make triggers and alise. both of them with and with out variables. I do not understand how to take the varible from the trigger to the script. I have read the GetTriggerVariable help file several time but it did not make sense to me...
where it say (thename, theoutput, thewildcards) is that what i actually put there? or is it some thing eles and if so how do I detrime what it will be?
after all that I know i will have to learn how the timer function works to complete this but I would like to get this adding to begin with. I figure one step at a time
Please any help would be appercated. I am not looking for some on to do it for me just to help me understand.
Kelly
I kill a mob and get (x) gold
save x to a variable (total)
save killed mob to (mtotal)
next mob kill I want to save x gold to (total)
save kill mob to (mtotal + 1)
(so on and on for an hour)
at the end of the hour send to the world a report of the
total gold
total mob
gold per mob average
reset total to 0
reset mtotal to 0
I know that it can not be all that hard but I just can not figure it out
I do understand how to make triggers and alise. both of them with and with out variables. I do not understand how to take the varible from the trigger to the script. I have read the GetTriggerVariable help file several time but it did not make sense to me...
where it say (thename, theoutput, thewildcards) is that what i actually put there? or is it some thing eles and if so how do I detrime what it will be?
after all that I know i will have to learn how the timer function works to complete this but I would like to get this adding to begin with. I figure one step at a time
Please any help would be appercated. I am not looking for some on to do it for me just to help me understand.
Kelly