Channeling Script

... A place to ask for help on any topic whether it be starting out to player killing to IT issues.
Post Reply
Meren
Posts: 194
Joined: Tue Feb 06, 2018 10:45 pm

Channeling Script

Post by Meren » Mon Jul 29, 2019 7:36 pm

Since Dreadlording, and before that playing my Accepted a lot, I've refined a channeling script quite well. For ZMud.

It's not perfect, but works rather well.

Hit qq on logon to set long weave, as it never seems to default to anything. When zipping between hot and cold zones one quick qq and you've got the right weave.

shortweave xxx sets your fast weave
status xxx sets your status weave

tar xx first target
tar2 xx second target
#CLASS {FCTargetting}
#ALIAS 2 {kill @target}
#ALIAS 3 {kill h.@target}
#ALIAS 4 {channel '@longweave' h.@target}
#ALIAS t {channel '@longweave' h.@target2}
#ALIAS 5 {channel 'call lightning' h.@target}
#ALIAS 0 {channel '@shortweave' h.@target}
#ALIAS b {channel '@statusweave' h.@target}
#ALIAS 6 {channel 'call lightning' h.@target2}
#ALIAS . {channel '@shortweave' h.@target2}
#ALIAS tar {
#VAR target {%1}
#SAY Target set to @target.
}
#ALIAS tar2 {
#VAR target2 {%1}
#SAY Target2 set to @target2
}
#ALIAS status {
#VAR statusweave {%1}
#SAY Status Weave set to @statusweave
}
#ALIAS shortweave {
#VAR shortweave {%1}
#SAY Short Weave set to @shortweave
}
#ALIAS qq {
#IF (@longweave=fireball) {
#VAR longweave {ice spikes}
#SAY Long Weave is Ice Spikes
} {
#VAR longweave {fireball}
#SAY Long Weave is Fireball
}
}
#CLASS 0

Gonna knock up a basic mob usage one later/at some point too.

Meren
Posts: 194
Joined: Tue Feb 06, 2018 10:45 pm

Re: Channeling Script

Post by Meren » Mon Jul 29, 2019 8:29 pm

Establish mob with mob xxx
Establish player to be rescued with player xxx
#CLASS {MobTargetting}
#ALIAS 1 {order @mob kill @target}
#ALIAS rr {order @mob rescue @player}
#ALIAS om {order @mob}
#ALIAS player {
#VAR player {%1}
#SAY Player set to @player
}
#ALIAS mob {
#VAR mob {%1}
#SAY Your mob is set to @mob
}
#CLASS 0

Florry
Posts: 184
Joined: Fri Jan 18, 2019 11:57 am

Re: Channeling Script

Post by Florry » Wed Jul 31, 2019 9:05 am

Neat stuff, I'll try it later!

Ciara
Posts: 88
Joined: Tue Jun 19, 2018 6:25 pm

Re: Channeling Script

Post by Ciara » Tue Sep 17, 2019 12:50 pm

Followup if you're on web client, you'll have to enter each manually.
#export alias

#alias . channel '@shortweave' h.@tar2
#alias 0 channel '@shortweave' h.@tar
#alias 2 kill @tar
#alias 3 kill h.@tar
#alias 4 channel '@longweave' h.@tar
#alias b channel '@statusweave' h.@tar
#alias fs #var shortweave flame
#alias longweave #var longweave @word1
#alias status #var statusweave @word1
#alias t channel '@longweave' h.@tar2
#alias tar #var tar @word1
#alias tar2 #var tar2 @word1
# ud: unlock @door
# x: close @door
# y: back h.@tar
# z: open @door

#export var

#var longweave ice
#var shortweave flame
#var statusweave chill
#var tar dark
#var tar2 dark

#export trigger
#trigger ^The (?P<door>\w+) seems to be closed.$ => #var door {door}
#trigger ^The (?P<door>\w+) is closed.$ => #var door {door}
#trigger ^The (?P<door>\w+) is open.$ => #var door {door}
#trigger ^The (?P<door>\w+) is locked.$ => #var door {door}

Post Reply