need a scripter or 2

An archive of older topics.
Post Reply
Borrex
Posts: 52
Joined: Mon Mar 15, 2010 1:50 am

need a scripter or 2

Post by Borrex »

can someone please have a look at these scripts and see if you can convert them for kinslayer? they are for zmud on wotmud.

it kinda works for kin now but the saidar/saidin doesnt. so only works for non-channeler class

this is for a status bar thing

#CLASS {StatusBar}
#ALIAS NoticeOff {#VARIABLE NoticeStatusColor red}
#ALIAS NoticeOn {#VARIABLE NoticeStatusColor 65280}
#ALIAS MoodWimpy {
#VARIABLE MoodStatus Wimpy
#VARIABLE MoodStatusColor lightblue
}
#ALIAS MoodNormal {
#VARIABLE MoodStatus Normal
#VARIABLE MoodStatusColor steelblue
}
#ALIAS MoodBrave {
#VARIABLE MoodStatus Brave
#VARIABLE MoodStatusColor goldenrod
}
#ALIAS MoodBerserk {
#VARIABLE MoodStatus BERSERK
#VARIABLE MoodStatusColor red
}
#ALIAS PostureDefensive {
#VARIABLE PostureStatus Defens
#VARIABLE PostureStatusColor lightblue
}
#ALIAS PostureNormal {
#VARIABLE PostureStatus Normal
#VARIABLE PostureStatusColor steelblue
}
#ALIAS PostureOffensive {
#VARIABLE PostureStatus Offens
#VARIABLE PostureStatusColor goldenrod
}
#ALIAS PostureNone {#VARIABLE PostureStatusColor black}
#ALIAS SneakOff {#VARIABLE SneakStatusColor black}
#ALIAS SneakOn {#VARIABLE SneakStatusColor white}
#ALIAS SourceOff {#VARIABLE SourceStatusColor {black}}
#ALIAS SourceOn {#VARIABLE SourceStatusColor {white}}
#VARIABLE MoodStatus {Brave}
#VARIABLE MoodStatusColor {goldenrod}
#VARIABLE NoticeStatusColor {red}
#VARIABLE SneakStatusColor {black}
#VARIABLE PostureStatusColor {black}
#VARIABLE PostureStatus {Offens}
#VARIABLE SourceStatusColor {black}
#TRIGGER "ResetStatusBarOnLogon" {^You were rented for} {
NoticeOff
SneakOff
MoodWimpy
PostureNone
SourceOff
}
#TRIGGER {You stop paying increased attention to your surroundings.$} {NoticeOff}
#TRIGGER {You start paying increased attention to your surroundings.$} {NoticeOn}
#TRIGGER {^- NOTICE} {NoticeOn}
#TRIGGER {You sit down and rest your tired bones.$} {NoticeOff}
#TRIGGER {You sit down.$} {NoticeOff}
#TRIGGER {You go to sleep.$} {NoticeOff}
#TRIGGER {^Your mood is: (*). You will flee below} {Mood%1}
#TRIGGER {Mood changed to: (*)$} {Mood%1}
#TRIGGER {Ok, you'll try to move silently for a while.$} {stat}
#TRIGGER {^- SNEAK} {SneakOn}
#TRIGGER {Ok, you stop sneaking.$} {SneakOff}
#TRIGGER {You start riding h??.$} {SneakOff}
#TRIGGER {Posture changed to: Defensive$} {PostureDefensive}
#TRIGGER {Posture changed to: Normal$} {PostureNormal}
#TRIGGER {Posture changed to: Offensive$} {PostureOffensive}
#TRIGGER {Your posture is: Defensive.$} {PostureDefensive}
#TRIGGER {Your posture is: Normal.$} {PostureNormal}
#TRIGGER {Your posture is: Offensive.$} {PostureOffensive}
#TRIGGER {You feel the flows of said?? coursing through your body.$} {SourceOn}
#TRIGGER {^- SOURCE} {SourceOn}
#TRIGGER {^You are dead!%sSorry...$} {SourceOff}
#ONINPUT {^release$} {SourceOff} "" {notrig}
#ONINPUT {^releas$} {SourceOff} "" {notrig}
#ONINPUT {^relea$} {SourceOff} "" {notrig}
#ONINPUT {^rele$} {SourceOff} "" {notrig}
#ONINPUT {^rel$} {SourceOff} "" {notrig}
#STATUS {<font><color> @target</color><color> NOTICE </color><color>@MoodStatus </color><color>@PostureStatus </color><color>SNEAK </color><color>SAI</color></font>}
#CLASS 0

-------------------

NOTE on target:

If you have a targetting script, the status bar script above assumes your target variable is @target. If it's something else, change @target to that something else in the penultimate line of the script, the one starting with #STATUS.

-------------------

NOTE on Sneak:

The script takes into account the fact that sneak can fail to turn on despite the message "Ok, you'll try to move silently for a while". Therefore, a stat command is automatically triggered after each such message, to check if the -SNEAK flag is on. This will be useful to hunters, esp. Trollocs, who often get low %s of sneak.

If you do not want this behaviour, and prefer to check stat manually, delete the line:

#TRIGGER {Ok, you'll try to move silently for a while.$} {stat}

If your sneak is practiced to high %s and always works on first try, so you don't need to check, you may wish to replace that line with this one:

#TRIGGER {Ok, you'll try to move silently for a while.$} {SneakOn}
Borrex
Posts: 52
Joined: Mon Mar 15, 2010 1:50 am

Post by Borrex »

This is for a clumsy log for stab/charge/bash. doesnt work at all and could someone maybe add skewer??

#CLASS {Clumsylog}
#VAR clumsycharge {3}
#VAR charged {9}
#VAR totalcharge {12}
#VAR stabclumsy {0}
#VAR stabland {0}
#VAR totalstabs {0}
#VAR chargepercentage {75}
#VAR stabpercentage {0}
#TRIGGER {Oops. Your lame efforts cause you to miss.} {#MATH clumsycharge @clumsycharge+1;#math totalcharge @clumsycharge+@charged;#math chargepercentage (@charged*100 / @totalcharge);#echo This session you've clumsied @clumsycharge out of @totalcharge charges (@chargepercentage~% landed)}
#TRIGGER {Chaaaaarrrge!! %1 bleeds profusely as you skewer %2 with %3!} {#MATH charged @charged+1;#math totalcharge @clumsycharge+@charged;#math chargepercentage (@charged*100 / @totalcharge);#Echo This session you've landed @charged out of @totalcharge charges (@chargepercentage~% landed)}
#TRIGGER {%1 makes a strange sound as you place %2 in %3 back!} {#math stabland @stabland+1;#math totalstabs @stabland+@stabclumsy;#math stabpercentage (@stabland*100 / @totalstabs);#Echo This session you've landed @stabland out of @totalstabs stabs (@stabpercentage~% landed).}
#TRIGGER {Ooops. Your clumsy execution broadcasts your intentions.} {#math stabclumsy @stabclumsy+1;#math totalstabs @stabland+@stabclumsy;#math stabpercentage (@stabland*100 / @totalstabs);#Echo This session you've clumsied @stabclumsy out of @totalstabs stabs (@stabpercentage~% landed)}
#var missbash {0}
#var landbash {0}
#var totalbash {0}
#var bashpercentage {0}
#TRIGGER {Your bash at %1 sprawling!} {#MATH landbash @landbash+1;#math totalbash @landbash+@missbash;#math bashpercentage (@landbash*100 / @totalbash);#Echo This session you've landed @landbash out of @totalbash bashes (@bashpercentage~% landed)}
#TRIGGER {As %1 your bash, you topple over and fall to the ground!} {#math missbash @missbash+1;#math totalbash @landbash+@missbash;#math bashpercentage (@landbash*100 / @totalbash);#Echo This session you've missed @missbash out of @totalbash bashes (@bashpercentage~% landed)}
#CLASS 0
#alias resetclumsy {#var charged 0;#var clumsycharge 0;#var totalcharge 0;#var totalstabs 0;#var stabland 0;#var stabclumsy 0;#var missbash 0;#var totalbash 0;#var landbash 0;#ECho totalchargecount set on @totalcharge.;#echo clumsycharge set at @clumsycharge.;#echo charged set at @charged.;#echo stabland set at @stabland;#echo stabclumsy set at @stabclumsy;#echo totalstabs set at @totalstabs;#echo landbash set at @landbash;#echo totalbash set at @totalbash;#echo missbash set at @missbash}
Post Reply