Search found 53 matches

by zain
Thu Sep 13, 2012 9:36 pm
Forum: zMUD
Topic: misc scripts
Replies: 47
Views: 113538

Re: misc scripts

#CLASS {TellHistory} #ALIAS tellh { #IF ((%numparam > 0)&(%isnumber( %1))) { newhowmany = %1 #ECHO TellHistory set to the last @newhowmany tell~(s~). howmany = @newhowmany } { #IF ((%numparam > 0)&(%1 == "clear")) { #VAR tellhistory "" #ECHO TellHistory cleared. } { #ECHO...
by zain
Thu Sep 13, 2012 2:13 pm
Forum: zMUD
Topic: misc scripts
Replies: 47
Views: 113538

Re: misc scripts

#CLASS {doors} #ALIAS sd1 { #VAR door %1 #ECHO %1 is now set as door 1. } #ALIAS sd2 { #VAR door2 %1 #ECHO %1 is now set as door 2. } #ALIAS doors { #IF (%null( %doorname( ,n))) {} {#ECHO Door to the NORTH: %doorname( ,n)} #IF (%null( %doorname( ,e))) {} {#ECHO Door to the EAST: %doorname( ,e)} #IF ...
by zain
Thu Sep 13, 2012 1:38 pm
Forum: zMUD
Topic: misc scripts
Replies: 47
Views: 113538

Re: misc scripts

#CLASS {codes} #ALIAS listports { #say {The following port codes are stored:} #SHOWDB @cityports } #ALIAS travel { @portnum = %eval( %1) @port = %item( @ports, @portnum) chann 'travel' @port } #ALIAS store { @portnum = %eval( %1) @port = %item( @ports, @portnum) #ADDKEY cityports %2 @port } #ALIAS p...
by zain
Wed Sep 12, 2012 9:54 pm
Forum: zMUD
Topic: misc scripts
Replies: 47
Views: 113538

Re: misc scripts

#CLASS {TickSync} #TRIGGER {Timer now at &ticlen secs.} {#IF (@ticlen > 90 OR @ticlen < 60) {#TS 70}} #TRIGGER {The day has begun.} {#TS} #TRIGGER {The sun rises} {#TS} #TRIGGER {The sun sets.} {#TS} #TRIGGER {You suddenly feel less protected.} {#TS} #TRIGGER {Your heartbeat calms down more as y...
by zain
Wed Sep 12, 2012 5:39 pm
Forum: zMUD
Topic: misc scripts
Replies: 47
Views: 113538

Re: misc scripts

#CLASS {Scripts} #CLASS 0 #CLASS {Scripts|Misc} #ALIAS doors { #IF (%null( %doorname( ,n))) {} {#ECHO Door to the NORTH: %doorname( ,n)} #IF (%null( %doorname( ,e))) {} {#ECHO Door to the EAST: %doorname( ,e)} #IF (%null( %doorname( ,s))) {} {#ECHO Door to the SOUTH: %doorname( ,s)} #IF (%null( %doo...
by zain
Wed Sep 12, 2012 5:29 pm
Forum: zMUD
Topic: misc scripts
Replies: 47
Views: 113538

Re: misc scripts

#CLASS {Search script} #ALIAS startsearch { #VAR dirstosearch {N|S|E|W|U|D} #FORALL @roomexlist {#DELI dirstosearch %i} #VAR numofdirs {%numitems( @dirstosearch)} #VAR doorsfound 0 search %item( @dirstosearch, @numofdirs) #T+ hiddenfound #T+ nothingfound } #VAR dirstosearch {} #VAR numofdirs {0} #VA...
by zain
Wed Sep 12, 2012 5:28 pm
Forum: zMUD
Topic: misc scripts
Replies: 47
Views: 113538

Re: misc scripts

#CLASS {Narrates and Tells} #TRIGGER {%x narrates '*'$} {#CAPTURE Communications} "" {notrig} #TRIGGER {%x tells you '*'$} {#CAPTURE Communications} "" {notrig} #TRIGGER {You narrate '*'$} {#CAPTURE Communications} "" {notrig} #TRIGGER {You reply to %x '*'$} {#CAPTURE C...
by zain
Wed Sep 12, 2012 5:28 pm
Forum: zMUD
Topic: misc scripts
Replies: 47
Views: 113538

Re: misc scripts

#ALIAS sd1 { #VAR door %1 #ECHO %1 is now set as door 1. } #ALIAS sd2 { #VAR door2 %1 #ECHO %1 is now set as door 2. } #ALIAS x {open @door3} #ALIAS xx {close @door3} #ALIAS p {open @door} #ALIAS pp {close @door} #ALIAS zz {close @door2} #ALIAS z {open @door2} #TRIGGER {You skillfully discover a hid...
by zain
Wed Sep 12, 2012 5:27 pm
Forum: zMUD
Topic: misc scripts
Replies: 47
Views: 113538

Re: misc scripts

#CLASS {scalping}
#ALIAS wep {
#VAR weapon %1
#ECHO %1 is now set as your weapon.
}
#ALIAS sc {
rem @weapon
draw
scalp corpse
scalp 2.corpse
sheath
wield @weapon
}
#ALIAS scc {scalp corpse}
#CLASS 0
by zain
Wed Sep 12, 2012 5:27 pm
Forum: zMUD
Topic: misc scripts
Replies: 47
Views: 113538

Re: misc scripts

#ALIAS hh { #IF ((%numparam > 0)&(%isnumber( %1))) { horseNewhowmany = %1 #ECHO HorseHistory set to the last @horseNewhowmany horses. horseHowMany = @horseNewHowMany } { #IF ((%numparam > 0)&(%1 == "clear")) { #VAR HorseHistory "" #VAR horseRec "" #VAR horseNewH...