View Full Version: Kegor's Bard Script

Triterium Guild > Triggers & Scripts > Kegor's Bard Script


Title: Kegor's Bard Script
Description: ZMUD


Kegor - June 15, 2009 09:27 PM (GMT)
CODE
#CLASS {BARD}
#ALIAS b {backstab}
#ALIAS cc {circle}
#ALIAS dp {c 'displacement'}
#ALIAS feeb {c 'feeblemind'}
#ALIAS ff {c 'faerie fire'}
#ALIAS hb {c 'harmonious blessing'}
#ALIAS lev {c 'levitate'}
#ALIAS pa {c 'phantom armor'}
#ALIAS son {c 'sonic wave'}
#ALIAS ele {@TARGET = %1;#T+ SING;#VAR SONG {'song of the elements'@TARGET};sing;drum;sing @SONG}
#ALIAS harm {@TARGET = %1;#IF (@TARGET = %Null) {@TARGET = room};#T+ SING;#VAR SONG {'song of harming' @TARGET};sing;mandolin;sing @SONG}
#ALIAS haste {@TARGET = %1;#T+ SING;#VAR SONG {'song of offensive harmony'@TARGET};sing;drum;sing @SONG}
#ALIAS heal {@TARGET = %1;#T+ SING;#VAR SONG {'song of healing'@TARGET};sing;lyre;sing @SONG}
#ALIAS miscast {@TARGET = %1;#T+ SING;#VAR SONG {'song of miscast magic' @TARGET};#IF (@TARGET = %Null) {#SAY THIS SONG NEEDS TO BE TARGETED!;#T- Sing} {sing @SONG;mandolin}}
#ALIAS prot {@TARGET = %1;#T+ SING;#VAR SONG {'song of protection'@TARGET};sing;harp;sing @SONG}
#ALIAS rec {@TARGET = %1;#T+ SING;#VAR SONG {'song of recovery'@TARGET};sing;flute;sing @SONG}
#ALIAS reg {@TARGET = %1;#T+ SING;#VAR SONG {'song of regeneration'@TARGET};sing;lyre;sing @SONG}
#ALIAS ren {@TARGET = %1;#T+ SING;#VAR SONG {'song of renewal'@TARGET};sing;flute;sing @SONG}
#ALIAS rev {@TARGET = %1;#T+ SING;#VAR SONG {'song of revelation'@TARGET};sing;harp;sing @SONG}
#ALIAS shield {#IF (@PRIMARY != @SHIELD1 & @INSTRUMENT != @WEAPON2) {rem @PRIMARY};#IF (@PRIMARY != @SHIELD1 & @INSTRUMENT = @WEAPON2) {rem @INSTRUMENT;@INSTRUMENT = "@WEAPON"};#IF (@PRIMARY = @PICK) {put @PRIMARY @BAG2};#IF (@PRIMARY != @SHIELD1) {take @SHIELD1 @BAG1;wear @SHIELD1};#VAR PRIMARY {@SHIELD1}}
#ALIAS slow {@TARGET = %1;#IF (@TARGET = %Null) {@TARGET = room};#T+ SING;#VAR SONG {'song of offensive disruption' @TARGET};sing;horn;sing @SONG}
#ALIAS sorc {@TARGET = %1;#T+ SING;#VAR SONG {'song of sorcery'@TARGET};sing;flute;sing @SONG}
#ALIAS trav {@TARGET = %1;#T+ SING;#VAR SONG {'song of travel'@TARGET};sing;lyre;sing @SONG}
#TRIGGER {With no one to accompany you, your song ends!$You stop your song.$} {#CW 11;#SAY %ansi( cyan)*******************************************************;#SAY %ansi( cyan)*******************************************************;#SAY %ansi( cyan)*******************************************************;#SAY %ansi( cyan)*********************%ansi( yellow) SONG ENDED!%ansi( cyan) *********************;#SAY %ansi( cyan)*******************************************************;#SAY %ansi( cyan)*******************************************************;#SAY %ansi( cyan)*******************************************************}
#TRIGGER {You can't be the single target of your own song.$} {#CW 11}
#TRIGGER {You feel less in tune with your body!$} {#CW 11;#SAY %ansi( cyan)*******************************************************;#SAY %ansi( cyan)*******************************************************;#SAY %ansi( cyan)*******************************************************;#SAY %ansi( cyan)***************%ansi( yellow) HARMONIOUS BLESSING OUT%ansi( cyan) ***************;#SAY %ansi( cyan)*******************************************************;#SAY %ansi( cyan)*******************************************************;#SAY %ansi( cyan)*******************************************************}
#CLASS 0
#CLASS {BARD|SING}
#TRIGGER {{You are not composed enough to sing.|You don't remember any songs' words!}$} {#WAIT 2000;sing @SONG}
#TRIGGER {You begin singing.$} {#CW 11;#T- SING}
#CLASS 0
#CLASS {BARD|INSTRUMENT}
#ALIAS bagit {#T+ RESET;#VAR BAGIT {1};i;rem @INSTRUMENT;put @INSTRUMENT @BAG3}
#ALIAS drum {#IF (@INSTRUMENT != @DRUM) {rem @INSTRUMENT};#IF (@INSTRUMENT != @WEAPON2 & @INSTRUMENT != @DRUM) {put @INSTRUMENT @BAG3};#IF (@INSTRUMENT != @DRUM) {take @DRUM @BAG3;hold @DRUM};#VAR INSTRUMENT {@DRUM}}
#ALIAS dual {#IF (@INSTRUMENT != @WEAPON2) {rem @INSTRUMENT;put @INSTRUMENT @BAG3;wield @WEAPON};#IF (@PRIMARY != @WEAPON) {rem @PRIMARY;wield @WEAPON};#IF (@PRIMARY = @SHIELD) {put @PRIMARY @BAG1};#IF (@PRIMARY = @PICK) {put @PRIMARY @BAG2};#VAR INSTRUMENT {@WEAPON2};#VAR PRIMARY {@WEAPON}}
#ALIAS flute {#IF (@INSTRUMENT != @FLUTE) {rem @INSTRUMENT};#IF (@INSTRUMENT != @WEAPON2 & @INSTRUMENT != @FLUTE) {put @INSTRUMENT @BAG3};#IF (@INSTRUMENT != @FLUTE) {take @FLUTE @BAG3;hold @FLUTE};#VAR INSTRUMENT {@FLUTE}}
#ALIAS harp {#IF (@INSTRUMENT != @HARP) {rem @INSTRUMENT};#IF (@INSTRUMENT != @WEAPON2 & @INSTRUMENT != @HARP) {put @INSTRUMENT @BAG3};#IF (@INSTRUMENT != @HARP) {take @HARP @BAG3;hold @HARP};#VAR INSTRUMENT {@HARP}}
#ALIAS horn {#IF (@INSTRUMENT != @HORN) {rem @INSTRUMENT};#IF (@INSTRUMENT != @WEAPON2 & @INSTRUMENT != @HORN) {put @INSTRUMENT @BAG3};#IF (@INSTRUMENT != @HORN) {take @HORN @BAG3;hold @HORN};#VAR INSTRUMENT {@HORN}}
#ALIAS lyre {#IF (@INSTRUMENT != @LYRE) {rem @INSTRUMENT};#IF (@INSTRUMENT != @WEAPON2 & @INSTRUMENT != @LYRE) {put @INSTRUMENT @BAG3};#IF (@INSTRUMENT != @LYRE) {take @LYRE @BAG3;hold @LYRE};#VAR INSTRUMENT {@LYRE}}
#ALIAS mandolin {#IF (@INSTRUMENT != @MANDOLIN) {rem @INSTRUMENT};#IF (@INSTRUMENT != @WEAPON2 & @INSTRUMENT != @MANDOLIN) {put @INSTRUMENT @BAG3};#IF (@INSTRUMENT != @MANDOLIN) {take @MANDOLIN @BAG3;hold @MANDOLIN};#VAR INSTRUMENT {@MANDOLIN}}
#ALIAS picks {#IF (@PRIMARY != @PICK) {rem @PRIMARY};#IF (@PRIMARY = @SHIELD) {put @SHIELD @BAG1};#IF (@PRIMARY != @PICK) {take @PICK @BAG2;hold @PICK};#VAR PRIMARY {@PICK}}
#ALIAS weapon {#IF (@PRIMARY != @WEAPON) {rem @PRIMARY};#IF (@PRIMARY = @SHIELD) {put @PRIMARY @BAG1};#IF (@PRIMARY = @PICK) {put @PRIMARY @BAG2};#IF (@PRIMARY != @WEAPON) {wield @WEAPON};#VAR PRIMARY {@WEAPON}}
#TRIGGER {You are carrying:$} {#T+ RESET}
#CLASS 0
#CLASS {BARD|INSTRUMENT|RESET}
#TRIGGER {@MANDOLIN2{| ~(magic~)}$} {put @MANDOLIN @BAG3}
#TRIGGER {@HARP2{| ~(magic~)}$} {put @HARP @BAG3}
#TRIGGER {@DRUM2{| ~(magic~)}$} {put @DRUM @BAG3}
#TRIGGER {@HORN2{| ~(magic~)}$} {put @HORN @BAG3}
#TRIGGER {@LYRE2{| ~(magic~)}$} {put @LYRE @BAG3}
#TRIGGER {@FLUTE2{| ~(magic~)}$} {put @FLUTE @BAG3}
#TRIGGER {$} {#T- RESET;#IF (@BAGIT = 1) {put @BAG3 @BAG2;put @BAG2 @BAG1;rem all;put all @BAG1;rem all;put all @BAG1;rem all;put all @BAG1};#VAR BAGIT {0}}
#TRIGGER {@SHIELD2{| ~(magic~)}$} {put @SHIELD1 @BAG1}
#TRIGGER {@PICK2{| ~(magic~)}$} {take @BAG2 @BAG1;put @PICK @BAG2}
#CLASS 0


Okay, basically you have to set your bags, instruments, weapons, shield, and lockpicks variables then you are good to go. Do that by entering them into your command line for the appropriate short and long item names as I have demonstrated here with my own variables.
CODE
@WEAPON = "glaive"
@WEAPON2 = "2.glaive"
@SHIELD1 = "round"
@BAG1 = "main bag where you keep your eq"
@BAG2 = "secondary bag for potions or other stuff"
@BAG3 = "instrument container"
@DRUM = "drum"
@DRUM2 = "a silver plated war drum"
@FLUTE = "ocarina"
@FLUTE = "an ocarina of sculpted ice"
@HARP = "harp"
@HARP2 = "a silver harp"
@HORN = "trumpet"
@HORN2 = "a silver trumpet"
@LYRE = "lyre"
@LYRE2 = "the Ancient Lyre of Amberyl"
@MANDOLIN = "mandolin"
@MANDOLIN2 = "a rosewood mandolin"
@PICK = "lockpicks"
@PICK2 = "a set of mithril lockpicks"


If you have an alias for dressing when you enter the game you will have to set your INSTRUMENT and PRIMARY variables in this alias. If you are wielding a glaive and wearing a shield it would look like this:
CODE
#VAR INSTRUMENT {@WEAPON}
#VAR PRIMARY {@SHIELD1}


There are aliases to switch to every type of setup you would want, as well as song aliases to switch songs and instruments automatically. Songs will keep trying to be sung every 2 seconds until you have begun singing. If it is a targeted song, name the target after the song alias.

Eq aliases:
bagit = bag your eq
dual = dual wield
picks = hold lockpicks
shield = switch to shield
weapon = wield a single weapon

Instrument aliases:
drum = switch to drum type
flute = switch to flute type
harp = switch to harp type
horn = switch to horn type
lyre = switch to lyre type
mandolin = switch to mandolin type

Song aliases:
ele = song of the elements
harm = song of harming
haste = song of offensive harmony
heal = song of healing
miscast = song of miscast magic
prot = song of protection
rec = song of recovery
reg = song of regeneration
ren = song of renewal
rev = song of revelation
slow = song of offensive disruption
sorc = song of sorcery
trav = song of travel




* Hosted for free by InvisionFree