Rewielding system and targeting

February 06, 2011 10:10AM
Setting your weapon for rewielding alias:

Alias:
wield *

Send:
world.send "wield %1"
world.setvariable "wielded", "%1"

Send to: Script

Alias:
rw

Send:
get @wielded
wield @wielded

Send to: World
Check expand variables.

Trigger:
* disarms you*

Send:
USE RW TO REWIELD!

Send to:
Output

Choose a colour of your liking from choose colour and style.

Uses a variable called wielded. You might have to make it if the system automatically doesn't. I'm not sure about it.


Targeting stuff:

Alias:
targ *

Send:
%1

Send to:
Variable

Check Echo Alias

Variable:
target

Alias:
targ

Send:
Your current target is @target.

Send to:
Output

Check expand variables

Alias:
^(.*?)\+\+(.*?)$

Send:
%1 @target%2

Sequence: 2

Send to:
Execute

Check regular expression and expand variables.
What this alias does, for example: dirt++ becomes dirt @target, where target is the value of variable target, which is set with the targ * alias. This works in numpad buttons too, where using variables normally doesn't function. So, you could set numpad 7 to dirt++ and now have a handy dirt kick button for initiating attacks.



Edited 1 time(s). Last edit at 02/06/2011 10:10AM by DurNominator.
Subject Author Posted

Can someone share their Mushclient scripts? Or link?

PinkIcyRing February 01, 2011 04:24AM

Few gems from the old script board.

DurNominator(VIP) April 12, 2011 10:40PM

Rewielding system and targeting

DurNominator(VIP) February 06, 2011 10:10AM

Re: Rewielding system and targeting

Airmech October 25, 2011 06:37AM

What are you wanting to do?

reject-o February 02, 2011 07:34PM

Sure, here's my only one, but its a trigger

Stevers February 01, 2011 05:35AM

It will get you killed. (n/t)

DurNominator(VIP) February 04, 2011 11:28AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 99
Record Number of Users: 5 November 04, 2022
Record Number of Guests: 358 August 31, 2022