Automatic bash for any class

Scripts and support for your favorite MUD client.
Jhorr
Sojourner
Posts: 515
Joined: Sun Feb 25, 2001 6:01 am

Automatic bash for any class

Postby Jhorr » Sun Feb 17, 2019 9:44 pm

I can't remember all the different powers commands for bash for each class and whether you are single handed or two-handed so I made up this code.

Code: Select all

#alias {getbashcmd} {#if {@currentclass = "Paladin"} {
  @bashcmd1 = rc
  @bashcmd2 = ts
  }
#if {@currentclass = "Blackguard"} {
  @bashcmd1 = ds
  @bashcmd2 = ss
  }
#if {@currentclass = "Warrior"} {
  @bashcmd1 = sb
  @bashcmd2 = ss
  }
#if {@currentclass = "Ranger"} {
  @bashcmd1 = ks
  @bashcmd2 = ss
  }
#if {@currentclass = "Rogue"} {
  @bashcmd1 = tr
  @bashcmd2 = tr
  }
#echo Bash1 @bashcmd1
#echo Bash2 @bashcmd2}


Code: Select all

#trigger {^Level * (%w)} {#var currentclass %1; getbashcmd}


Code: Select all

#trigger {Welcome to TorilMUD} {stats}


Code: Select all

#alias {autobash} {#t+ autobash
 #var bashtarget %1
 #exec @bashcmd1 @bashtarget
#exec @bashcmd2 @bashtarget}


Code: Select all

#alias {autobashoff} {#t- autobash}


Code: Select all

#trigger {* @bashtarget is dead} {#t- autobash} {autobash}
Jhorr
Sojourner
Posts: 515
Joined: Sun Feb 25, 2001 6:01 am

Re: Automatic bash for any class

Postby Jhorr » Sun Feb 17, 2019 9:48 pm

Code: Select all

#trigger {@bashtarget clambers} {#exec @bashcmd1 @bashtarget
#exec @bashcmd2 @bashtarget}



To use it:

Lilithelle group-says "Jhorr bash Gahrio"

you just type:

autobash Gahrio

and doesn't matter what class you are playing or 1h or 2h, it will keep Gahrio down

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 4 guests