Shattered Kingdoms

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

All times are UTC - 8 hours




Post new topic Reply to topic  [ 231 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 24  Next
Author Message
 Post subject:
PostPosted: Sat Mar 22, 2003 4:51 pm 
Offline
Mortal

Joined: Fri Mar 01, 2002 4:00 pm
Posts: 128
Location: Somerset, UK
pepsirat wrote:

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.........
..........
..........
........ect


you can replace most of those triggers with something like this one that I use to grab from the worth command.

Code:
#TRIGGER {You {are|have|still|may} &expstr1.} {#if (@expstr1=="just begun your journey to the next level.") {#var exp 0};#if (@expstr1=="have a long way to go before the next level.") {#var exp 10};#if (@expstr1=="over one-third of the way to the next level.") {#var exp 33};#if (@expstr1=="very close to half-way to the next level.") {#var exp 44};#if (@expstr1=="at the half-way of your journey to the next level.") {#var exp 50};#if (@expstr1=="just begun your second-half journey to the next level.") {#var exp 59};#if (@expstr1=="over two-thirds of the way to the next level.") {#var exp 66};#if (@expstr1=="over three-fourths of the way to the next level.") {#var exp 75};#if (@expstr1=="almost eligible for a level advancement.") {#var exp 90};#if (@expstr1=="advance to the next level.") {#var exp 100;#wait (500);#echo You may now train a level}}


just to help keep your settings file nice and tidy. :D


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 24, 2003 6:07 pm 
Offline
Mortal

Joined: Thu Feb 28, 2002 4:00 pm
Posts: 677
Location: The great white north
If your anything like me, at one time or another you have missed a tell or cabal chat that is important because of alot of talkspam, or more commonly battlespam. With this simple script a new window will be created that will catch all your tells, group tells, and cabal chatter.

Code:
#CLASS {ChatCatcher}
#TRIGGER {%w replies '%*'} {#capture "Group Tell / Tell / Cabal Chatter"}
#TRIGGER {%w tells you '%*'} {#capture "Group Tell / Tell / Cabal Chatter"}
#TRIGGER {You tell %w '%*'} {#capture "Group Tell / Tell / Cabal Chatter"}
#TRIGGER {You tell the group '%*'} {#capture "Group Tell / Tell / Cabal Chatter"}
#TRIGGER {~[%w~] %w: %*} {#capture "Group Tell / Tell / Cabal Chatter"}
#TRIGGER {%w tells the group '%*'} {#capture "Group Tell / Tell / Cabal Chatter"}
#CLASS 0


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 25, 2003 12:45 am 
Offline
Mortal

Joined: Mon Mar 04, 2002 10:53 pm
Posts: 275
Location: Madison, WI
I must say that last script that you posted Rennus would be VERY helpful. I was wondering, would any of these scripts convert over to other clients very easily? I don't know much about scripting and it's conversion between programs. I use MUSHclient, any help?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 25, 2003 6:37 am 
Offline
Mortal

Joined: Thu Feb 28, 2002 4:00 pm
Posts: 677
Location: The great white north
I dont use anything mud zmud (and peablo or something like 2-3 years ago). Perhaps someone who is good at scripting in another client would be able to either A) create a thread about scripting in mushclient or B) (would require someone ungodly) create a converter from Zmud to mushclient.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 25, 2003 6:59 am 
Offline
Mortal

Joined: Wed Mar 13, 2002 6:40 pm
Posts: 637
Location: Tennessee
SK Character: Jayerm
Would you be able to put these scripts into SimpleMU as well? I am not up much on adding script's to clients so I do not know.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 25, 2003 8:21 am 
Offline
Mortal

Joined: Thu Feb 28, 2002 4:00 pm
Posts: 677
Location: The great white north
Allow me to reiterate. I dont use any other clients than Zmud, which from a poll a while ago proved to be the most commonly used client on Shattered Kingdoms. I will not be using other clients, nor will I be translating any of these scripts into those clients. If you wish to find scripts for other Clients, start a threed asking other players if they have any scripts for them. Thank you for your time, please come again.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 25, 2003 1:26 pm 
Offline
Mortal

Joined: Thu Mar 07, 2002 3:36 am
Posts: 194
Rennus:

Having not had the joy *snicker* of using Windows for about 6 months, perhaps I can clarify this. And perhaps you can help, since you have a copy of Zmud up and running.

What is Zmud scripting based off of? TCL? Python? Perl? Java? VBscript? Or its very own proprietary language? If Zmud uses TCL scripting, then in all technicality (since TCL, Perl and Java are all platform-independent (in theory)) if I use a TCL-compatible client on my iMac/Linux box/etc I can run your scripts, no problem.

For example, my (brand new, extremely cool) client natively handles Perl and Python. So, Perl mud scripts I can load in there, and use.

As another example, BitchX (an irc client based off ircii for Linux and now Windows) can handle TCL and, I believe, Perl, as well as its native scripting language. There's a client for windows called Xircon, which also uses TCL. You should be able to trade scripts and load them in, no problem.

Could ya hook a brother up an check that out? It's probably in the helpfiles somewhere.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 25, 2003 3:08 pm 
Offline
Mortal

Joined: Fri Mar 01, 2002 4:00 pm
Posts: 128
Location: Somerset, UK
zmud uses its own code.
It can use VB and JS but not mainy people use this with it.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 27, 2003 1:26 pm 
Offline
Mortal

Joined: Thu Feb 28, 2002 4:00 pm
Posts: 677
Location: The great white north
The topic of "opening" and "picking" directions being replaced by someone's sword came up on another thread, so here is my solution for zmud to that problem.

Code:
#ALIAS open {#if (%1="ne") {~open northeast} {#if (%1="e") {~open east} {#if (%1="se") {~open southeast} {#if (%1="s") {~open south} {#if (%1="sw") {~open southwest} {#if (%1="w") {~open west} {#if (%1="nw") {~open northwest} {#if (%1="n") {~open north} {open %1}}}}}}}}}
#ALIAS pick {#if (%1="ne") {~pick northeast} {#if (%1="e") {~pick east} {#if (%1="se") {~pick southeast} {#if (%1="s") {~pick south} {#if (%1="sw") {~pick southwest} {#if (%1="w") {~pick west} {#if (%1="nw") {~pick northwest} {#if (%1="n") {~pick north} {pick %1}}}}}}}}}
#ALIAS close {#if (%1="ne") {~close northeast} {#if (%1="e") {~close east} {#if (%1="se") {~close southeast} {#if (%1="s") {~close south} {#if (%1="sw") {~close southwest} {#if (%1="w") {~close west} {#if (%1="nw") {~close northwest} {#if (%1="n") {~close north} {close %1}}}}}}}}}
#ALIAS l {#if (%1=%null) {look} {#if (%1="in") {examine %2} {#if (%1="ne") {look northeast} {#if (%1="e") {look east} {#if (%1="se") {look southeast} {#if (%1="s") {look south} {#if (%1="sw") {look southwest} {#if (%1="w") {look west} {#if (%1="nw") {look northwest} {#if (%1="n") {look north} {examine %1}}}}}}}}}}}


Again, it does not look very good, but it works.


Top
 Profile  
Reply with quote  
 Post subject: How does the text change thing work?
PostPosted: Mon Apr 07, 2003 11:46 am 
Offline
Mortal

Joined: Sat Nov 30, 2002 12:15 pm
Posts: 69
Location: North Carolina
I was looking at the text changing thing, but couldn't quite figure it out.....what exactly does it do? It sounds neat, from what I can read, but am not sure exactly what it does.....*shrugs*


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 231 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 24  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 32 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:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group