Autoassist -- Based on group -- Cuz ALOT of people need it..

Scripts and support for your favorite MUD client.
Gizep
Sojourner
Posts: 150
Joined: Thu Mar 10, 2005 4:34 pm
Location: Menzoberranzan
Contact:

Autoassist -- Based on group -- Cuz ALOT of people need it..

Postby Gizep » Sat Apr 16, 2005 9:50 am

Please for the love of god, make something like this if you are going to autoassist people, half my usual group members assist other groups.

PS, I stole alot of the patterns from the Rescue routine thats posted here, and it's alot easier to read if you make the attacks a variable.

HOW TO USE:
rgadd
will add everyone ingr to your group...
also typing group will add everyone in room to your grouplist

gradd
manually add people to the grouplist

showgroup
will show the list..


#VAR grouplist {YOURNAMEHERE}
#VAR classlist {Rog|Ill|Enc|Cle|Bar|Sha|Dru|Ran|Psi|Ele|Nec|Inv|Ctr|Dir|War|Pal|A-P|Lic}
#VAR attacks {beat|beats|choke|chokes|touch|touches|hit|hits|slash|slashes|crush|crushes|misses|whip|whips|pierce|pierces|smash|smashes|sting|stings|drain|drains|strike|strikes|pummel|pummels|pound|pounds|claw|claws|nip|nips|burn|burns|bite|bites|attacks}
#ALIAS rgadd {#var grouplist {};#T+ Sexah;who ingr}
#ALIAS showgroup {#say Group: @grouplist}
#ALIAS gradd {#if (@grouplist="NONE!") {#unvar grouplist};#forall %replace( %-1, " ", "|") {#if %ismember( %proper( %{i}), @grouplist) {#say Already on the List: %proper( %i)} {#additem grouplist %proper( %{i});#say Added to Group List: %proper( %{i})}};%null;#noop}


#TRIGGER {*({@grouplist})* is dead! R.I.P.} {#if (@grouplist != %null) {gsa %1 is dead!}}
#TRIGGER {Assist whom?} {#T+ Autoassist}
#TRIGGER {That person is not fighting anyone.} {#T+ Autoassist}#TRIGGER {share of exp} {#t+ Autoassist}
#TRIGGER {(%d)/(%d)%shit,%s(%d)/(%d)%smove,%s(%d)/(%d)%s{psp|man}%s&sucker} {#math hpresult (%2-%1);%if( @hpresult>300, gored, %if( @hpresult>100, goyel, gogrn));#VAR grouplist %additem( %7, @grouplist)}
#TRIGGER {*%s(%d)/(%d)%shit,%s%d/%d%smove,%s%d/%d%s{psp|man} (%*)$} {#MATH groupstatus ((%1*10)/%2);groupstatusnamelength = {%len( %3)};#MATH groupstatusspace (10-@groupstatusnamelength);#IF (@groupstatus<1) {#VA groupstatus 1};#IF (@groupstatus>10) {#VA groupstatus 10};#IF (@groupstatus>7) {#SUB {%line %repeat( " ", @groupstatusspace)%ansi( green)%repeat( "»", @groupstatus)%ansi( grey)%repeat( "»", %eval( 10 - @groupstatus))}} {#NOOP};#IF (@groupstatus<=7) {#SUB {%line %repeat( " ", @groupstatusspace)%ansi( yellow)%repeat( "»", @groupstatus)%ansi( grey)%repeat( "»", %eval( 10 - @groupstatus))}} {#NOOP};#IF (@groupstatus<=3) {#SUB {%line %repeat( " ", @groupstatusspace)%ansi( red)%repeat( "»", @groupstatus)%ansi( grey)%repeat( "»", %eval( 10 - @groupstatus))}} {#NOOP}}

#CLASS {Autoassist}
#TRIGGER {*({@grouplist})*sends*sprawling with a powerful bash.} {assist %1;#T- Autoassist}
#TRIGGER {You are no longer a member of the group.} {#var grouplist {YOURNAMEHERE}}
#TRIGGER {< T: %w TC:} {#T- Autoassist}
#TRIGGER {*({@grouplist})*'s mount charges} {assist %1;#T- Autoassist}
#TRIGGER {*({@grouplist})*'s mount misses} {assist %1;#T- Autoassist}
#TRIGGER {*({@grouplist})*{*}*here, fighting &mob.} {assist %1;#T- Autoassist}
#TRIGGER {*{@grouplist} *{@attacks}*} {assist %1;#T- Autoassist}
#TRIGGER {*{@attacks} *{@grouplist}*} {assist %1;#T- Autoassist}

#CLASS 0

#CLASS {Sexah}
#TRIGGER {~[{*&%djunk} {@classlist}~]%s&%wing *~(} {#if (%2 != @name) {gradd %2}}
#TRIGGER {~[ Anon ~] &%winroom {*} ~(} {#if (%1 != @name) {gradd %1}}
#TRIGGER {There are %d mortal~(s~) on} {#T- Sexah}
#CLASS 0
As long as we live in this world we are bound to encounter problems. If, at such times, we lose hope and become discouraged, we diminish our ability to face difficulties. If, on the other hand, we remember that it is not just ourselves but everyone who has to undergo suffering, this more realistic perspective will increase our determination and capacity to overcome troubles.
-- The Dali Lama
Yasden
Sojourner
Posts: 1597
Joined: Sat Feb 03, 2001 6:01 am
Location: Lake Stevens, WA, USA

Postby Yasden » Tue Apr 19, 2005 2:29 am

*peer* This is way too complex for an assist trigger.

I'll post mine when I get home from school...it involves setting a "leader" so that you only assist that person.

You do realize though, that autoassist triggers are considered botting if you're not at the machine.
Ambar
Sojourner
Posts: 2872
Joined: Tue Jul 02, 2002 5:01 am
Location: Our House in Va.
Contact:

Postby Ambar » Tue Apr 19, 2005 8:45 am

lotta times you dont want to assist either ..
Gizep
Sojourner
Posts: 150
Joined: Thu Mar 10, 2005 4:34 pm
Location: Menzoberranzan
Contact:

Postby Gizep » Tue Apr 19, 2005 11:19 pm

all i know is there is alot of people who run around with a

%w attacks &mob

and they assist %1, getting everyone in my group to assist them.
As long as we live in this world we are bound to encounter problems. If, at such times, we lose hope and become discouraged, we diminish our ability to face difficulties. If, on the other hand, we remember that it is not just ourselves but everyone who has to undergo suffering, this more realistic perspective will increase our determination and capacity to overcome troubles.
-- The Dali Lama
Yasden
Sojourner
Posts: 1597
Joined: Sat Feb 03, 2001 6:01 am
Location: Lake Stevens, WA, USA

Postby Yasden » Wed Apr 20, 2005 9:31 pm

As promised, a much more simple assist trigger. The "assist" command can be replaced by afire if you wish, for you ranged folks. Just copy/paste it into .txt and import the file!

"autoassiston" turns the auto-assisting settings on
"autoassistoff" turns the auto-assisting settings off
"settank <name>" sets the person you wish to assist (only works for 1 person)
"cleartank" clears the tank setting

Code: Select all

#ALIAS autoassiston {#t+ AutoAssist;#say AUTO-ASSISTING ENABLED!!!}
#ALIAS autoassistoff {#t- AutoAssist;#say AUTO-ASSISTING DISABLED!!!}

#CLASS {AutoAssist|AssistTank}
#TRIGGER {{(@Tank)} attacks *} {assist @Tank;#t- AssistTank}
#CLASS 0

#ALIAS cleartank {#var Tank {};#say Assisting no one!!!;#t- AssistTank} "AutoAssist"
#ALIAS settank {#var Tank %1;#say Assisting: %proper( @Tank)} "AutoAssist"
#VAR Tank {} {_nodef} "AutoAssist"
#TRIGGER {^You are rescued by} {#t+ AssistTank} "AutoAssist"
#TRIGGER {^You receive your share of experience.} {#t+ AssistTank} "AutoAssist"
Ambar
Sojourner
Posts: 2872
Joined: Tue Jul 02, 2002 5:01 am
Location: Our House in Va.
Contact:

Postby Ambar » Thu Apr 21, 2005 4:14 am

mine ... set it to a button .. set both classes as load "off"

there are times you dont want to assist .. times you do

keep in mind any time you are not at keys it is a bot

turns off at R.I.P .. turns on when tank attacks/bashes/sleams.whatever (o yeah need ot add headbutt i guess)
type
tank=joeshmuck

o yeah ..

#var {tank}{joeschmuck}


#CLASS {autoassist} {disable}
#TRIGGER {@tank (*) sprawling with a powerful bash.} {assist @tank}
#TRIGGER {You assist @tank heroically.} {#t- autoassist;#t+ autoassist2}
#TRIGGER {@tank {attacks|slashes|barely slashes|barely hits|barely pierces}} {assist @tank}
#TRIGGER {assist @tank} {#t- autoassist;#t+ autoassist2}
#TRIGGER {@tank places a (*) in the back of} {assist @tank}
#TRIGGER {@tank attemps a shieldpunch} {assist @tank}
#TRIGGER {@tank slams (*) shield into (*) in a an awesome display of brute force!} {assist @tank}
#TRIGGER {@tank takes aim} {assist @tank}
#TRIGGER {@tank's mount charges} {assist @tank}
#TRIGGER {@tank's mount misses } {assist @tank}
#CLASS 0

new class:

#CLASS {autoassist2} {disable}
#TRIGGER {You receive your share of experience.} {
#t+ autoassist
#t- autoassist2
}
#CLASS 0

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 7 guests