
![]() |
Spellbook Corner |
![]() |
| Variable | |
|---|---|
| Variable Name: | burn |
| Value | *Leave Blank* |
| Alias | |
|---|---|
| Alias Name: | burn |
| Command: | c 'burning hands' %1 |
| Trigger | |
|---|---|
| Pattern: | You have finished memorizing burning hands. |
| Command: | #ADD burn 1 |
| Trigger | |
|---|---|
| Pattern: | * (%d) - burning hands |
| Command: | burn=%1 |
Every time you type in mem, the script will update the number of each spell you have ready to go. It also watches for you to finish memorizing a spell and increments the count. I use an alias to cast this spell, but you can also use a hot-key with the same code. This does have a few small problems figuring out that you forgot all of a spell as well as not watching for the casting itself. If you happen to get bashed before you start casting, the tracker will think you have one less than you do. A quick 'mem' during a fight will allow it to reset itself without you having to try to read it during the battle-spam.
| Variable | |
|---|---|
| Variable Name: | mentaltime |
| Value | *Leave Blank* |
| Alias | |
|---|---|
| Alias Name: | mrep |
| Command: | order elemental rep;gsay current mental created at @mentaltime, current time is %time(hh.mm.ss) |
| Trigger | |
|---|---|
| Pattern: | elemental starts following you |
| Command: | order elemental consent silor;order elemental rep silor;#var mentaltime %time(hh.mm.ss) |
| Trigger | |
|---|---|
| Pattern: | elemental stops following you. |
| Command: | #mes mental created at @mentaltime, died at %time(hh.mm.ss) |
I am currently looking for a way to subtract one time from another. I want to know the difference between the two times (mentaltime and the current time). If anyone has done this, please let me know!
Now it's REALLY too MUDdy here!