JMC Client aliases
posted by Niumran
2004-10-04 17:06:49

Niumran 2004-10-04 17:06:49
I need to make an alias for reporting hp etc., but I can't seem to get the Elvenrunes one for JMC to work. Any suggestions?
Niumran 2004-10-04 17:23:47
Oh yah, If you want to donate other aliases/actions thats good to :)
Plip2004-10-04 18:25:07
.alias {gain} {.showme YOU GAINED <<$lastkill XP>> FROM YOUR LAST KILL!!.; .showme YOU HAVE GAINED <<$fromstart XP>> SINCE YOU LOGGED IN!!.}

***for a manual counter reset***

.alias {xpreset} {info You have %x experience points total.}

***for resetting when loggin in i make it trigger off the FAQ board message**
.action {Your default tongue is Westron} {info You have %x experience points total.}


.action {You have %0 experience points total.} {.variable startxp %0; .variable fornextkill %0; .variable xpfromkill 0; .variable lastkill 0; .variable fromstart 0}


.ali xpcon {xpact5on;xpact1on;xpact2on;xpact3on;xpact4on}
.ali xpcof {xpact1of;xpact2of;xpact3of;xpact4of;xpact5of}

.ali xpact1on {.action {You have %0 experience points.} {.variable xpfromkill %0; .math {lastkill} {$xpfromkill - $fornextkill}; .math {fromstart} {$xpfromkill - $startxp}; .variable fornextkill %0; info TNL : %X xp %T tp}}
.ali xpact2on {.action {You feel more experienced.} {info You have %x experience points.}}
.ali xpact3on {.action {You receive your share of experience.} {info You have %x experience points.}}
.ali xpact4on {.action {TNL : %0 xp %1 tp} {gain}}
.ali xpact5on {.unaction {You receive your share of experience.}}

.ali xpact1of {.unaction {You have %0 experience points.}}
.ali xpact2of {.unaction {You feel more experienced.}}
.ali xpact3of {.unaction {You receive your share of experience.}}
.ali xpact4of {.unaction {TNL : %0 xp %1 tp}}
.ali xpact5of {.action {You receive your share of experience.} {tnl}}


Copy paste all the syntax above to your JMC.

And if ur command char (set at the option) still # just change the dot (.) with (#).
if ur defaul language isnt Westron simply type 'xpreset' right after you logged in.

Make sure to type 'xpcon' ('xpcof to turn it off') the first time u want to use this. And u dont need to turn it on again next time you logged in.

Not good enough but I hope this could help u.
Plip2004-10-04 18:29:49
Damn... I was misreading ur question (i thought u want a xpcounter script..hehe)

this for reporting hps etc

.ali scr {emote has HP: $vh/$rh MANA: $vm/$rm MPS: $vmv/$rmv}
.ali scb {emote has HP: $vh/$rh MPS: $vmv/$rmv}

.ali scon {.act {%1/%4 hits, %2/%5 mana, and %3/%6 moves.} {.var vh %1;.var rh %4;.var vm %2;.var rm %5;.var vmv %3;.var rmv %6}}
.ali scof {.unact {%1/%4 hits, %2/%5 mana, and %3/%6 moves.}}

.ali bcon {.act {%7/%8 hits and %9/%0 moves.} {.var vh %7;.var rh %8;.var vmv %9;.var rmv %0}}
.ali bcof {.unact {%7/%8 hits and %9/%0 moves.}}

type: scr, to show ur hps/mana/mps
as a bear / troll or zaugurz type: scb
Boofhead 2004-10-05 02:31:32
Anyone got aliases for setting door variables for use in pk? :D
Warlord2004-10-05 18:47:27
Yea... I need that :D
Taloth2004-10-05 19:02:58
Nice script Plip, not! You should try to use a group for the exp counter actions. With groups all the actions can be turned off in one command. And it's much faster for the client (According to the help files
aTRAWL2006-03-09 09:44:05
SMASHHOBBIT SMASHHOBIT
phenix2006-03-25 20:24:05
im in a deep shit, i cant make jmc to store
variables with integer in them, it only stores them as string. I need jmc to add the value of two variables or more but it only write the expression.
for example
variable a b c d e f
im using $a +$b +$c +$d +$e +$f and it shows me
the value of the variables instead of giving me the sum of them all i get the expression.

Can you guys help?
regards,
phenix
Dorfl 2006-04-02 13:44:16
#sub {You eat the bread.}
{-----======YOU EAT THE BREAD!!!11one!======-----}
Rancr 2006-04-07 17:11:29
Reporting:

syntax: rep
example: Woof the Dog -=> 10/10 Hps, 10/10 Mana, 10/10 moves, and 1 exp tnl.

#alias {rep} {info <REPORT> %z/%Z hitpoints, %e/%E manas, %j/%J moves, %X xptnl.}

#action {<REPORT> %1/%2 hitpoints, %3/%4 manas, %5/%6 moves, %7 xptnl.} {emote -=> $1/$2 Hps, $3/$4 Mana, $5/$6 moves, and $7 Exp tnl.} {5}

reporting your tps and exp tnl only
syntax: tnl
example: Woof the Dog needs 12 Exp and 11 tps tnl.

#action {<REPORT> %1 xp and %2 tps.} {emote needs $1 Exp and $2 tps tnl.}

#alias {tnl} {info <REPORT> %X xp and %T tps.}

autodoor settings
(sets your door automatically)
syntax: look <dir_where_the_door_is_at>

#action {The %1 is broken.} {#var door %1}
#action {The %1 is closed.} {#var door %1}
#action {The %1 is locked.} {#var door %1}
#action {The %1 is open.} {#var door %1}

#alias {o} {open $door}

#alias {c} {close $door}

my attackspelling as a mage:
syntax: 3 (mainspell) or 4 (secondary, usually lightweight spell)
example: You start casting quickly 'colour spray' ! *orc* !...

#alias {3} {#subs {You start to concentrate...} {You start casting $speed '$spell' ! $targ !...};cas $speed '$spell' $targ}

#alias {4} {#subs {You start to concentrate...} {You start casting $mspeed '$mspell' ! $targ !...};cas $mspeed '$mspell' $targ}

#alias {sp} {#var spell %1}
#alias {spb} {#var spell burning}
#alias {spc} {#var spell colour}
#alias {spd} {#var speed %1}
#alias {spdc} {#var speed carefully}
#alias {spdn} {#var speed normal}
#alias {spdq} {#var speed quick}
#alias {spf} {#var spell fireball}
#alias {spl} {#var spell lightning}
#alias {spm} {#var spell magic}
#alias {spp} {sp sleep}

#alias {msp} {#var mspell %1}
#alias {mspb} {#var mspell burning}
#alias {mspc} {#var mspell colour}
#alias {mspd} {#var mspeed %1}
#alias {mspdc} {#var mspeed carefully}
#alias {mspdn} {#var mspeed normal}
#alias {mspdq} {#var mspeed quick}
#alias {mspf} {#var mspell fireball}
#alias {mspl} {#var mspell lightning}
#alias {mspm} {#var mspell mag
Comment this:
Your name:


Your comment:

Avaliable characters: