473,395 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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

6
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 1152
pbmods
5,821 Expert 4TB
Heya, Kage.

Please use CODE tags when posting source code:

[CODE]
Source code goes here.
[/CODE]
Sep 18 '07 #2
bartonc
6,596 Expert 4TB
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
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...
11
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...
1
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...
1
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.