473,513 Members | 2,533 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can someone help me firgure out which type of script this is

6 New Member
I am trying to use this with mushclient 3.84 it supports these type of scripts.
If anyone could help me figure out which type of script it is or convert it to any of those that my client uses.
VBscript
Jscript
Perlscript
Pythonscript
Tcl
Lua
phpscript

Expand|Select|Wrap|Line Numbers
  1. <trigger
  2.    enabled="n"
  3.    group="rarestat"
  4.    match="Armor class is 115."
  5.    name="rareringstart"
  6.    send_to="12"
  7.    sequence="10"
  8.    other_text_colour="black"
  9.    other_back_colour="black"
  10.   >
  11.   <send>EnableTrigger("rareringstat", true)
  12. EnableTrigger("rareringstop", true)
  13. EnableTrigger("rareringstart", false)
  14. stats = 0
  15. highstat = 0
  16. </send>
  17.   </trigger>
  18.  
  19.   <trigger
  20.    enabled="n"
  21.    group="rarestat"
  22.    match="^Affects (strength|intelligence|wisdom|dexterity|constitution|luck) by (\d)\.$"
  23.    name="rareringstats"
  24.    regexp="y"
  25.    send_to="12"
  26.    sequence="9"
  27.    other_text_colour="black"
  28.    other_back_colour="black"
  29.   >
  30.   <send>stats = stats + %2
  31. if highstat < %2 then
  32.   highstat = %2
  33. end
  34. </send>
  35.   </trigger>
  36.  
  37.   <trigger
  38.    enabled="n"
  39.    keep_evaluating="y"
  40.    match="^.*$"
  41.    name="rareringstop"
  42.    regexp="y"
  43.    script="rarestat"
  44.    send_to="12"
  45.    sequence="11"
  46.    other_text_colour="black"
  47.    other_back_colour="black"
  48.   >
  49.   <send>EnableTrigger("rareringstat", false)
  50. EnableTrigger("rareringstop", false)
  51. if (stats==60) and ((highstat==35) or (highstat==25)) then
  52.   put rare bag
  53. else
  54.   drop rare
  55. end
  56. </send>
  57.   </trigger>
  58.  
  59. and for the alias:
  60.  
  61.   <alias
  62.    match="rareid"
  63.    enabled="y"
  64.    send_to="12"
  65.   >
  66.   <send>EnableTrigger("rareringstart", true)
  67. Send("cast id rare")
  68.   </send>
  69.   </alias>
Sep 18 '07 #1
2 1161
pbmods
5,821 Recognized Expert Expert
Heya, Kage.

Please use CODE tags when posting source code:

[CODE]
Source code goes here.
[/CODE]
Sep 18 '07 #2
bartonc
6,596 Recognized Expert Expert
This Google search turned up many references to MUSHclient and MUclient, etc.
Sep 19 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

11
1895
by: milkyway | last post by:
Hello, I have an HTML page that I am trying to import 2 .js file (I created) into. These files are: row_functions.js and data_check_functions.js. Whenever I bring the contents of the files into this HTML file, all is OK but whenever the functions are separated (as it is now), when I run the page, I get the following error: Line 73,...
11
1585
by: milkyway | last post by:
Hello, I have an HTML page that I am trying to import 2 .js file (I created) into. These files are: row_functions.js and data_check_functions.js. Whenever I bring the contents of the files into this HTML file, all is OK but whenever the functions are separated (as it is now), when I run the page, I get the following error: Line 73,...
1
1553
by: mela | last post by:
it seems quite stupid but i am building up my web site and i am stocked with this problem: i download this photoslider script and wanted to have two on the same page but they are interfering one each other.. now: i read that to avoid this i should change the names of the variables and those of the functions on the second script , but i do not...
1
1693
by: rfr | last post by:
Apparently the Transitional Doctype kills this script because the script does not make proper use of units like "px". It works well without a doctype statement. But once someone adds a transitional doctype, the js script no longer works. Can someone familiar with javascript bring it up-to-date so that it works with current doctypes and...
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7397
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7128
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7543
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5704
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5103
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4759
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3242
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
817
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.