Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Sat Jul 26, 2003 5:12 am   

Dragging, Combat, Peering, and Walking in DR
 
Here is a run down of what all this does. It first makes it that the 5 key on the numpad is OUT not LOOK. SUBTRACT is glance, MULTIPLICATION is exp, DIVISION is health, F12 is info, and F11 is time.

Also, it makes the Number Keypad funtion as a peer and also as combat manuevers. Here are the combat manuevers

CTRL-KEY7: chop, CTRL-KEY1: parry,CTRL-KEY9: slice, CTRL-KEY6: jab, CTRL-SUB: chop, CTRL-DIV: bash, CTRL-KEY4: thrust, CTRL-KEY8: draw, CTRL-MULT: exp, CTRL-KEY3: dodge, CTRL-KEY2: retreat
CTRL-DEC: face next

The num keypad also works as peer just use alt and press a direction on the key pad and it will peer in that direction

The last thing is a dragging script. To use it type DragOn <name> or if you just type DragOn it will prompt you for a name. To turn it off type DragOff
----------------------------------------

#ALIAS DragOn {#IF (%1="") {#PROMPT DragPerson "Who or what do you want to drag?";#VARIABLE Dragging {1} {0} {Utility}} {#VAR DragPerson {%1} {} {Utility};#VAR Dragging {1} {0} {Utility}}}
#ALIAS DragOff {#VAR Dragging {0} {0} {Utility}}
#CLASS {System|Macros}
#KEY SUB {glance}
#KEY MULT {exp}
#KEY DIV {health}
#KEY F12 {info}
#KEY F11 {Time}
#CLASS 0
#CLASS {System|Macros|Combat Macros}
#KEY CTRL-KEY7 {chop} "" {chain}
#KEY CTRL-KEY1 {parry} "" {chain}
#KEY CTRL-KEY9 {slice} "" {chain}
#KEY CTRL-KEY6 {jab} "" {chain}
#KEY CTRL-SUB {chop} "" {chain}
#KEY CTRL-DIV {bash} "" {chain}
#KEY CTRL-KEY4 {thrust} "" {chain}
#KEY CTRL-KEY8 {draw} "" {chain}
#KEY CTRL-MULT {exp} "" {chain}
#KEY CTRL-KEY3 {dodge} "" {chain}
#KEY CTRL-KEY2 {retreat} "" {chain}
#KEY CTRL-DEC {face next} "" {chain}
#CLASS 0
#CLASS {System|Macros|Peer}
#VAR RT {0}
#VAR PROMPT {}
#TRIGGER {Roundtime:} {#gag}
#KEY ALT-KEY7 {peer nw} "" {chain}
#KEY ALT-KEY8 {peer north} "" {chain}
#KEY ALT-KEY9 {peer ne} "" {chain}
#KEY ALT-KEY4 {peer west} "" {chain}
#KEY ALT-KEY5 {peer out} "" {chain}
#KEY ALT-KEY6 {peer east} "" {chain}
#KEY ALT-KEY1 {peer sw} "" {chain}
#KEY ALT-KEY2 {peer south} "" {chain}
#KEY ALT-KEY3 {peer se} "" {chain}
#KEY ALT-KEY0 {peer down} "" {chain}
#KEY ALT-DEC {peer up} "" {chain}
#CLASS 0
#CLASS {System|Macros|Keypad}
#KEY KEY7 {#IF (@sneak=1) {sneak ~nw};#IF (@Dragging=1) {~drag @DragPerson nw};#IF ((@sneak=0) And (@Dragging=0)) {~nw}}
#KEY KEY8 {#IF (@sneak=1) {sneak ~n};#IF (@Dragging=1) {~drag @DragPerson n};#IF ((@sneak=0) And (@Dragging=0)) {~n}}
#KEY KEY9 {#IF (@sneak=1) {sneak ~ne};#IF (@Dragging=1) {~drag @DragPerson ne};#IF ((@sneak=0) And (@Dragging=0)) {~ne}}
#KEY KEY4 {#IF (@sneak=1) {sneak ~w};#IF (@Dragging=1) {~drag @DragPerson w};#IF ((@sneak=0) And (@Dragging=0)) {~w}}
#KEY KEY5 {#IF (@sneak=1) {sneak ~out};#IF (@Dragging=1) {~drag @DragPerson out};#IF ((@sneak=0) And (@Dragging=0)) {~out}}
#KEY KEY6 {#IF (@sneak=1) {sneak ~e};#IF (@Dragging=1) {~drag @DragPerson e};#IF ((@sneak=0) And (@Dragging=0)) {~e}}
#KEY KEY1 {#IF (@sneak=1) {sneak ~sw};#IF (@Dragging=1) {~drag @DragPerson sw};#IF ((@sneak=0) And (@Dragging=0)) {~sw}}
#KEY KEY2 {#IF (@sneak=1) {sneak ~s};#IF (@Dragging=1) {~drag @DragPerson s};#IF ((@sneak=0) And (@Dragging=0)) {~s}}
#KEY KEY3 {#IF (@sneak=1) {sneak ~se};#IF (@Dragging=1) {~drag @DragPerson se};#IF ((@sneak=0) And (@Dragging=0)) {~se}}
#KEY KEY0 {#IF (@sneak=1) {sneak ~down};#IF (@Dragging=1) {~drag @DragPerson down};#IF ((@sneak=0) And (@Dragging=0)) {~down}}
#KEY DEC {#IF (@sneak=1) {sneak ~up};#IF (@Dragging=1) {~drag @DragPerson up};#IF ((@sneak=0) And (@Dragging=0)) {~up}}
#KEY ADD {look} "" {chain}
#KEY SUB {glance} "" {chain}
#KEY MULT {exp} "" {chain}
#KEY DIV {health} "" {chain}
#KEY F12 {info} "" {chain}
#KEY F11 {time} "" {chain}
#CLASS 0
#ALIAS go {#ECHO ALIAS;#IF (@Dragging=1) {~drag @DragPerson %1 %2};#IF (@sneak=1) {sneak %1 %2};#IF ((@sneak=0) And (@Dragging=0)) {~go %1 %2}}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net