Hey everyone! I know there have already been a bunch of threads like this, e.g people asking something to the effect of "u know how u can get my sipper wrokring better?" Well anyways, I noticed those threads didn't get alot of replies. Please help!
I know a little bit about VB script but to be honest when I make triggers, aliases, variables, or whatever I'm doing for the mud I play, I'm basically just wingin' it. I'm not completely retarded though! I want to know more, so could someone point me out to a good beginners guide or book to vb script? O.o
Anyways I digress. Why am I posting? I'm trying to make a sipper from scratch! I've started off by making triggers of my prompt and score card that store the values of my current health/mana/ego/whatever and my max current h/m/e/etc.
Ok so I have these values, I have a .vbs file, I know how to edit it, etc. I just dont know where to go from here.
In the mud I play (the dreaded Lusternia) you can sip either a health, mana, or ego vial every 4ish seconds. When you can, you will get this message:
You may drink another health, mana, or bromide potion.
Well isn't that fine and dandy? I know you're thinking... WILL YOU GET TO THE FRAKING POINT ALREADY ARCHIBALD?!?
1. I want to be able to set a percent value to when I sip. Like at 75% for instance.
2. I want to be able to prioritize sipping orders. This sounds complicated! Like, if I take 100 mana damage, but also take 2000 health damage, I dont want to be sipping for mana if you know what I mean. Anyone know how I might accomplish this?
3. I want to be only able to sip once per "You may drink another health, mana, or bromide potion." Because right now in my earlier attempts at making a sipper I'm looping, MUSHclient is crashing, I'm sipping for three values at once, its a nightmare (lol)
This is what I got right now, yes, feel free to point and laugh at meh. :'(
Sub sipper (a, b, c)
If getvariable("P_health") < getvariable("Max_health") Then
send "drink health"
end if
If getvariable("P_mana") < getvariable("Max_mana") Then
send "drink mana"
end if
If getvariable("P_ego") < getvariable("Max_ego") Then
send "drink bromides"
end if
end sub
(P_ = prompt, and I'm calling this in my prompt trigger)
Please help me, O' coding and Mush Gods. (I'm looking at you Nick, Shaun, Shadowfyr :D) *prostrates*
Ideas, input, advice, anything!
I know a little bit about VB script but to be honest when I make triggers, aliases, variables, or whatever I'm doing for the mud I play, I'm basically just wingin' it. I'm not completely retarded though! I want to know more, so could someone point me out to a good beginners guide or book to vb script? O.o
Anyways I digress. Why am I posting? I'm trying to make a sipper from scratch! I've started off by making triggers of my prompt and score card that store the values of my current health/mana/ego/whatever and my max current h/m/e/etc.
Ok so I have these values, I have a .vbs file, I know how to edit it, etc. I just dont know where to go from here.
In the mud I play (the dreaded Lusternia) you can sip either a health, mana, or ego vial every 4ish seconds. When you can, you will get this message:
You may drink another health, mana, or bromide potion.
Well isn't that fine and dandy? I know you're thinking... WILL YOU GET TO THE FRAKING POINT ALREADY ARCHIBALD?!?
1. I want to be able to set a percent value to when I sip. Like at 75% for instance.
2. I want to be able to prioritize sipping orders. This sounds complicated! Like, if I take 100 mana damage, but also take 2000 health damage, I dont want to be sipping for mana if you know what I mean. Anyone know how I might accomplish this?
3. I want to be only able to sip once per "You may drink another health, mana, or bromide potion." Because right now in my earlier attempts at making a sipper I'm looping, MUSHclient is crashing, I'm sipping for three values at once, its a nightmare (lol)
This is what I got right now, yes, feel free to point and laugh at meh. :'(
Sub sipper (a, b, c)
If getvariable("P_health") < getvariable("Max_health") Then
send "drink health"
end if
If getvariable("P_mana") < getvariable("Max_mana") Then
send "drink mana"
end if
If getvariable("P_ego") < getvariable("Max_ego") Then
send "drink bromides"
end if
end sub
(P_ = prompt, and I'm calling this in my prompt trigger)
Please help me, O' coding and Mush Gods. (I'm looking at you Nick, Shaun, Shadowfyr :D) *prostrates*
Ideas, input, advice, anything!