Hi,
I'm totally new to scripting, looking at making a very simple script to get started, really appreciate any help that I can get :)
1. I want to have a variable called healpot.
2. I need an alias which can take in a variable and store it, something like 'healpot <the name of the pot here>' so I can change the type of pot I will be using as I progress in levels.
3. Finally I need an alias 'heal' which will send 'quaff <the current healing pot I've assigned to the healpot variable>'
I saw some examples on the forums but I'm finding difficulty in understanding how things work..
Here is what I did:
1. I created a variable in MUSH called healpot, and set its value to "critical healing potion".
2. Then I go to aliases and make an alias called 'heal' I typed in 'quaff @healpot' in the big 'Send' textbox.
So what happened was it didnt recognise @healpot as a variable. When I typed 'heal', it thinks I want to quaff a potion called @healpot.
Again, any help is very much appreciated, or if anyone could just direct me to read up on something similar, would be great!
Thank you!
I'm totally new to scripting, looking at making a very simple script to get started, really appreciate any help that I can get :)
1. I want to have a variable called healpot.
2. I need an alias which can take in a variable and store it, something like 'healpot <the name of the pot here>' so I can change the type of pot I will be using as I progress in levels.
3. Finally I need an alias 'heal' which will send 'quaff <the current healing pot I've assigned to the healpot variable>'
I saw some examples on the forums but I'm finding difficulty in understanding how things work..
Here is what I did:
1. I created a variable in MUSH called healpot, and set its value to "critical healing potion".
2. Then I go to aliases and make an alias called 'heal' I typed in 'quaff @healpot' in the big 'Send' textbox.
So what happened was it didnt recognise @healpot as a variable. When I typed 'heal', it thinks I want to quaff a potion called @healpot.
Again, any help is very much appreciated, or if anyone could just direct me to read up on something similar, would be great!
Thank you!