|
Smiker Newbie
Joined: 07 Feb 2006 Posts: 3
|
Posted: Wed Feb 08, 2006 8:33 pm
JMC to zMud switch |
I've been using JMC (Jaba Mud Client) for almost 3 years now, and I'd have to say, zMud runs faster, scripts faster, and is more efficient.
I was wondering if there is any way to take my JMC autospellup file, and make it zMud-able.
Well here it is.
Code: |
#alias {spellup} {#var hero 1;#var defend 1;#var ub 1;#var sent 1; #var armor 1;#var bless 1;#var invio 1;#var divine 1;#out Spelled Up}
#action {You are no longer affected by: bless.} {#var bless 0}
#action {You are no longer affected by: inviolable asylum.} {#var invio 0}
#action {You are no longer affected by: divinity.} {#var divine 0}
#action {You are no longer affected by: armor.} {#var armor 0}
#action {You are no longer affected by: undefiled benignity.} {#var ub 0}
#action {You are no longer affected by: defenders discipline.} {#var defend 0}
#action {You are no longer affected by: heroes crusade.} {#var hero 0}
#action {You are no longer affected by: sentinel dominance.} {#var sent 0}
#action {You feel holiness fill your body.} {#var bless 1}
#action {You are now divine.} {#var divine 1}
#action {You discipline your mind to focus on practical use of your armor.} {#var defend 1}
#action {Your body burns with protection.} {#var invio 1}
#action {The gods strengthen your armor.} {#var armor 1}
#action {Solidarity within you grows.} {#var sent 1}
#action {A white glow of benign magic encapsulates you.} {#var ub 1}
#action {You are inspired by the Heroes Crusade!} {#var hero 1}
#alias {spellme} {#if {$bless = 0} {en 'bless'};#if {$divine = 0} {en 'divin'};#if {$defend = 0} {defender};#if {$invio = 0} {en 'invio a'};#if {$armor = 0} {en 'armor'};#if {$sent = 0} {en 'sent dom'};#if {$ub = 0} {0};#if {$hero = 0} {en 'heroes cru'}}
#action {You may again perform aura - oe grei abilities.} {halwen}
#variable {armor} {1}
#variable {bless} {1}
#variable {defend} {1}
#variable {divine} {1}
#variable {hero} {1}
#variable {invio} {1}
#variable {sent} {1}
#variable {ub} {1} |
[/code] |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Feb 08, 2006 9:14 pm |
Looks like just two things need changing:
#OUT -- ZMud doesn't have a command by this name, but it sounds like it might equate to the #SAY command.
$variable -- instead of using the $, ZMud uses @ (this can be changed in Special Character preferences, should you want to keep that symbol in place). |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Smiker Newbie
Joined: 07 Feb 2006 Posts: 3
|
Posted: Wed Feb 08, 2006 10:14 pm |
Thanks. I noticed the @ in several help files. #out is output, sends it to a window. So should I use #capture to a spellup window?
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Feb 08, 2006 11:36 pm |
sounds like it. If #Out allows you to modify the line being sent, you might want to check out #WINDOW instead.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Iceclaw Apprentice
Joined: 11 Sep 2005 Posts: 124
|
Posted: Thu Feb 09, 2006 12:19 am |
Also, it looks like #action should be #trigger
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Feb 09, 2006 2:59 am |
either/or. Both do exactly the same thing (basically, dunno/don't care if #action was updated to handle multistate triggers and the like) but #action is a backwards-compatible command from the TinTin days.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|