Shattered Kingdoms

Where Roleplay and Tactics Collide
VOTE NOW!
It is currently Mon Nov 25, 2024 6:16 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 231 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17 ... 24  Next
Author Message
 Post subject:
PostPosted: Mon Aug 23, 2004 2:42 pm 
Offline
Webadmin

Joined: Thu Feb 28, 2002 4:00 pm
Posts: 2732
Location: Australia
SK Character: Viltrax
*sends himself an email to remind him at the correct time and location*


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Aug 25, 2004 4:38 am 
Offline
Webadmin

Joined: Thu Feb 28, 2002 4:00 pm
Posts: 2732
Location: Australia
SK Character: Viltrax
http://gth.dnsalias.org/sk/skbase.mud


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Nov 03, 2004 9:32 pm 
Offline
Mortal

Joined: Thu Feb 28, 2002 4:00 pm
Posts: 379
Location: In a dark and empty place, England
SK autologging trigger for older Zmud. (tested on 4.62)

trigger on:
Code:
Connected to host mud.shatteredkingdoms.org

triggered command:
Code:
#lo %concat(SK,-,%time(mm),-,%time(dd))


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 02, 2004 11:38 am 
Offline
Mortal

Joined: Sat Nov 27, 2004 3:26 pm
Posts: 609
Location: Eastern Tennessee
Okay, I can't get any auto logging going on Zmud 7.05. Little help please?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 02, 2004 7:56 pm 
Offline
Immortal

Joined: Mon Aug 30, 2004 7:29 pm
Posts: 97
I use the following atconnect alias in v7.05:

Quote:
#LOG Logs\Nashira\%time( yyyy-mm-dd)


Just make sure you adjust for the correct directory names in your own zMUD file folder.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 03, 2004 6:32 pm 
Offline
Mortal

Joined: Sat Nov 27, 2004 3:26 pm
Posts: 609
Location: Eastern Tennessee
Thank you much, got it working.

Edited to delete my question since i figued that out too.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 10, 2005 6:15 am 
Offline
Mortal

Joined: Fri Mar 01, 2002 4:00 pm
Posts: 794
Location: New Jersey
Is there a way to have a trigger set the zmud timer?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 02, 2005 11:29 am 
Offline
Mortal

Joined: Wed Apr 24, 2002 11:51 am
Posts: 1500
only posting in gd from now - thx and have a nice day


Last edited by FinneyOwnzU on Sat Jan 31, 2015 11:22 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Trying to get this script to work
PostPosted: Thu Mar 24, 2005 7:03 pm 
Offline
Newbie

Joined: Tue Aug 05, 2003 9:29 am
Posts: 7
Location: Colorado Springs, Colorado
I saw this script and thought it was pretty l33t. I loaded it but it doesn't seem to work. I mean, the set up is perfect but the information is wrong. I'm thinking it's not reading something correctly. And since I know next to nothing about Zmud scripts, I was hoping someone could check it out and see what the problem is.

Code:
#CLASS {myfanwycode|time}
#VAR currentTime {17:00}
#VAR currentDay {the Moon}
#VAR currentDayNum {6}
#VAR timeVal {17}
#VAR timeAMPM {pm}
#VAR descTime {this is a test}
#VAR currentDate {28}
#VAR currentYear {711}
#VAR lstDays {the Bull|Deception|Thunder|Freedom|the Great Gods|the Sun|the Moon }
#VAR lstMonths {Winter Wolf|Frost Giant|Old Forces|Grand Struggle|Spring|Nature|Sun|Heat|Dark Shades|Long Shadows|Ancient Darkness|Great Evil}
#VAR currentMonth {Old Forces}
#VAR currentMonthNum {3}
#VAR tmpDateNum {4}
#VAR tmpDateText {Moon}
#TRIGGER {} {#tset (70)
#timer (1) {#gag 5;time} (False)} "" {manual}
#TRIGGER "timeTrap" {It is &timeVal o'clock &timeAMPM, Day of ¤tDay, ¤tMonth (%d)*, (%d) *.} {currentTime = "";currentDate = %5;currentYear = %6;#loop 1,%numitems( @lstDays) {#if @currentDay=%item( @lstDays, %i) {currentDayNum=%i}};#loop 1,%numitems( @lstMonths) {#if @currentMonth=%item( @lstMonths, %i) {currentMonthNum=%i}};#if (@timeVal=12) {#if (@timeAMPM="am") {timeVal = 0}} {#if @timeAMPM="pm" {#math timeVal ( %number( @timeVal)+12)}};#if @timeVal<10 {currentTime = %concat( "0", @timeVal, ":00")} {currentTime = %concat( @timeVal, ":00")};#t- TimeTrap} "" {disable}
#BUTTON 74 {} {#t+ TimeTrap;#gag 4;time;#wait;tmpDateText = %replace( @currentDay, "the ", "");#echo "";#echo "";#echo %ansi( white)Calendar:;#echo "";#if (@currentMonthNum=1) {tmpDateNum=12} {#math tmpDateNum @currentMonthNum-1)};#echo %ansi( yellow)%item( @lstMonths, @tmpDateNum);#echo "B  D  T  F  G  S  M";#loop 1,7 {#echoprompt %ansi( cyan)%i;#echoprompt %repeat( " ", 3-%len( %i))};#echo "     "%ansi( cyan, hi)"B - "%if( @tmpDateText="Bull", %ansi( white, red), %ansi( cyan))"Bull      "%ansi( cyan, hi)"D - "%if( @tmpDateText="Deception", %ansi( white, red), %ansi( cyan))"Deception    "%ansi( cyan, hi)"T - "%if( @tmpDateText="Thunder", %ansi( white, red), %ansi( cyan))"Thunder   ";#loop 8,14 {#echoprompt %ansi( cyan)%i;#echoprompt %repeat( " ", 3-%len( %i))};#echo "     "%ansi( cyan, hi)"F - "%if( @tmpDateText="Freedom", %ansi( white, red), %ansi( cyan))"Freedom   "%ansi( cyan, hi)"G - "%if( @tmpDateText="Great Gods", %ansi( white, red), %ansi( cyan))"Great Gods   "%ansi( cyan, hi)"S - "%if( @tmpDateText="Sun", %ansi( white, red), %ansi( cyan))"Sun       ";#loop 15,21 {#echoprompt %ansi( cyan)%i;#echoprompt %repeat( " ", 3-%len( %i))};#echo "     "%ansi( cyan, hi)"M - "%if( @tmpDateText="Moon", %ansi( white, red), %ansi( cyan))"Moon      ";#loop 22,28 {#echoprompt %ansi( cyan)%i;#echoprompt %repeat( " ", 3-%len( %i))};#echo "";#echo "                          "%if( @currentMonth="Winter Wolf", %ansi( white, red), %ansi( cyan))"Winter Wolf (1)     "%if( @currentMonth="Sun", %ansi( white, red), %ansi( cyan))"Sun (7)";#echoprompt %ansi( yellow)%item( @lstMonths, @currentMonthNum);#echo %repeat( " ", 26-%len( %item( @lstMonths, @currentMonthNum)))""%if( @currentMonth="Frost Giant", %ansi( white, red), %ansi( cyan))"Frost Giant (2)     "%if( @currentMonth="Heat", %ansi( white, red), %ansi( cyan))"Heat (8)";#echo "B  D  T  F  G  S  M       "%if( @currentMonth="Old Forces", %ansi( white, red), %ansi( cyan))"Old Forces (3)      "%if( @currentMonth="Dark Shades", %ansi( white, red), %ansi( cyan))"Dark Shades (9)";#loop 1,7 {#echoprompt %if( %i=@currentDate, %ansi( white, red)%i, %ansi( cyan)%i);#echoprompt %repeat( " ", 3-%len( %i))};#echo "     "%if( @currentMonth="Grand Struggle", %ansi( white, red), %ansi( cyan))"Grand Struggle (4)  "%if( @currentMonth="Long Shadows", %ansi( white, red), %ansi( cyan))"Long Shadows (10)";#loop 8,14 {#echoprompt %if( %i=@currentDate, %ansi( white, red)%i, %ansi( cyan)%i);#echoprompt %repeat( " ", 3-%len( %i))};#echo "     "%if( @currentMonth="Spring", %ansi( white, red), %ansi( cyan))"Spring (5)          "%if( @currentMonth="Ancient Darkness", %ansi( white, red), %ansi( cyan))"Ancient Darkness (11)";#loop 22,28 {#echoprompt %if( %i=@currentDate, %ansi( white, red)%i, %ansi( cyan)%i);#echoprompt %repeat( " ", 3-%len( %i))};#echo "     "%if( @currentMonth="Nature", %ansi( white, red), %ansi( cyan))"Nature (6)          "%if( @currentMonth="Great Evil", %ansi( white, red), %ansi( cyan))"Great Evil (12)";#echo "";#if (@currentMonthNum=12) {tmpDateNum=1} {#math tmpDateNum @currentMonthNum+1)};#echoprompt %ansi( yellow)%item( @lstMonths, @tmpDateNum);#echo "";#echo "B  D  T  F  G  S  M       "%ansi( white)"Current Date and Time:";#loop 1,7 {#echoprompt %ansi( cyan)%i;#echoprompt %repeat( " ", 3-%len( %i))};#echo "";#loop 8,14 {#echoprompt %ansi( cyan)%i;#echoprompt %repeat( " ", 3-%len( %i))};#echo "     "%ansi( white)"Time: "%ansi( yellow)@currentTime"   "%ansi( white)"Day: "%ansi( yellow)Day of @currentDay;#loop 15,21 {#echoprompt %ansi( cyan)%i;#echoprompt %repeat( " ", 3-%len( %i))};#echo "     "%ansi( white)Date: %ansi( yellow)@currentDate %ansi( white) Month: %ansi( yellow)@currentMonth %ansi( white) Year: %ansi( yellow)@currentYear;#loop 22,28 {#echoprompt %ansi( cyan)%i;#echoprompt %repeat( " ", 3-%len( %i))};#echo "";#send %crlf} {} {} {} {} {CLOCK} {Size} {20} {20} {Pos} {1} {122} {} {31} {} {} "" {} {} {} {2}
#CLASS 0


Top
 Profile  
Reply with quote  
 Post subject: Correction to status line script
PostPosted: Fri Mar 25, 2005 11:44 pm 
Offline
Newbie

Joined: Tue Aug 05, 2003 9:29 am
Posts: 7
Location: Colorado Springs, Colorado
I found a slight error in the 'Status Line' script. I read through the code, found the error and fixed it. It works now. Here's the corrected script.

Code:
#ALIAS newstatusline {#if (@statusline != %1) {#PLAY c:/zmud/ding.wav};#VAR statusline %1} {kstatus}
#VAR statusline {You still have a long way to go before the next level.} {_nodef} {kstatus}
#VAR level {14} {_nodef} {kstatus}
#VAR levelname {Initiate} {_nodef} {kstatus}
#TRIGGER {You are over one-third of the way to the next level.} {newstatusline "You are over one-third of the way to the next level."} {kstatus} 517
#TRIGGER {You are very close to half-way to the next level.} {newstatusline "You are very close to half-way to the next level."} {kstatus} 517
#TRIGGER {You are at the half-way point of your journey to the next level.} {newstatusline "You are at the half-way point of your journey to the next level."} {kstatus} 517
#TRIGGER {You have just begun your second-half journey to the next level.} {newstatusline "You have just begun your second-half journey to the next level."} {kstatus} 517
#TRIGGER {You are over two-thirds of the way to the next level.} {newstatusline "You are over two-thirds of the way to the next level."} {kstatus} 517
#TRIGGER {You are over three-fourths of the way to the next level.} {newstatusline "You are over three-fourths of the way to the next level."} {kstatus} 517
#TRIGGER {You are almost eligible for a level advancement.} {newstatusline "You are almost eligible for a level advancement."} {kstatus} 517
#TRIGGER {You may advance to the next level.} {newstatusline "You may advance to the next level."} {kstatus} 517
#TRIGGER {You have just begun your journey to the next level.} {newstatusline "You have just begun your journey to the next level."} {kstatus} 517
#TRIGGER {You still have a long way to go before the next level.} {newstatusline "You still have a long way to go before the next level."} {kstatus} 517
#TRIGGER {You gain a level!} {#MATH level @level+1;wor;#IF (@level = 50) {#VAR levelname Grandmaster};#IF (@level < 50) {#VAR levelname Champion};#IF (@level < 46) {#var levelname Master};#if (@level < 41) {#var levelname Mentor};#if (@level < 36) {#var levelname Expert};#if (@level < 31) {#var levelname Veteran};#if (@level < 26) {#var levelname Journeyman};#if (@level < 21) {#var levelname Apprentice};#if (@level < 16) {#var levelname Initiate};#if (@level < 11) {#var levelname Novice};#if (@level < 6) {#var levelname Amateur}} {kstatus} 517
#STAT {@level - @levelname - @statusline}  {kstatus}


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 231 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17 ... 24  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 26 guests


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

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group