mIRC Home    About    Download    Register    News    Help

Active Threads | Unanswered Past 24 hours | Past 48 hours | Past Week | Past Month | Past Year
Bug Reports
14/06/19 10:58 PM
On start first-time connect? Or disconnected reconnect?
3 82 Read More
Scripts & Popups
14/06/19 08:40 PM
Oops, looks like I forgot a space in the $calc function for getting the sub tier. Anyways, I didn't realize that there is no option for editing my original post, so I will just keep the updated script on GitHub here.
6 463 Read More
Bug Reports
14/06/19 01:30 PM
When mIRC is unable to connect to a server and you have retry enabled, mIRC is displaying the retry number as 1.

Quote:
[14:30:06] * Connecting to irc.freenode.net (6666)
[14:30:27] * Unable to connect to server (Connection timed out)
[14:30:30] * Connect retry #1 irc.freenode.net (6666) (dns pool)
[14:30:51] * Unable to connect to server (Connection timed out)
[14:30:54] * Connect retry #1 irc.freenode.net (6666) (dns pool)
[14:31:15] * Unable to connect to server (Connection timed out)
[14:31:18] * Connect retry #1 irc.freenode.net (6666-6667) (dns pool)
[14:31:39] * Unable to connect to server (Connection timed out)
[14:31:42] * Connect retry #1 irc.freenode.net (6666-6667) (dns pool)
0 47 Read More
mIRC Help
13/06/19 11:14 PM
I have just come on here to find an answer for this as I thought this was my new router that was the problem.

I made no changes to MIRC but when I added my new Synology 2600AC router to my setup MIRC stopped showing the @ sign. Coincidence?
1 234 Read More
Bug Reports
13/06/19 12:21 PM
The latest beta is mIRC v7.55.2084 and can be downloaded here. It includes the following changes:

Quote:
Beta v7.55.2084 changes:
1.Item 24, updated.
2.Item 25, https://forums.mirc.com/ubbthreads.php/topics/265531
3.Item 1, added 'i' switch to ignore SSL errors for eg. self-signed
certificates.

Beta v7.55.2030 changes:
1.Item 4, recompiled OpenSSL 1.1.x library to work with Windows XP/Vista.
2.Item 1, https://forums.mirc.com/ubbthreads.php/topics/265513
3.Item 23, https://forums.mirc.com/ubbthreads.php/topics/265513

Beta v7.55.2005 changes:
1.Item 4, while most of mIRC's SSL code is unchanged, some sections of
code needed to be rewritten due to changes in OpenSSL 1.1.x APIs,
function definitions, structure limitations, and so on. Older
OpenSSL versions are no longer supported. Dynamic loading of OpenSSL
DLLs is still supported - in the case of 1.1.x, these are now
libcrypto-1_1.dll and libssl-1_1.dll.
2.Item 22, changed.

Beta v7.55.1750 changes:
1.Item 18, changed. Previously defaulted to mIRC folder.
2.Item 14, https://forums.mirc.com/ubbthreads.php/topics/265435
3.Item 11, https://forums.mirc.com/ubbthreads.php/topics/265454
4.Item 19, https://forums.mirc.com/ubbthreads.php/topics/265455
5.Item 20, added.
6.Item 21, changed.

Beta v7.55.1403 changes:
1.Removed non-random server addresses from servers.ini.
2.Item 15, https://forums.mirc.com/ubbthreads.php/topics/265369
3.Item 16, https://forums.mirc.com/ubbthreads.php/topics/265395
4.Item 17, https://forums.mirc.com/ubbthreads.php/topics/265418
5.Item 1, https://forums.mirc.com/ubbthreads.php/topics/265388

Beta v7.55.1211 changes:
1.Added UTC range check in API drop-ins to prevent overflow result.
2.Item 13, https://forums.mirc.com/ubbthreads.php/topics/265342
3.Item 14, the ctcp action message has always been processed in its own
routine separate from the privmsg routine. The routines are practically
identical, which means that changes to them have always had to be
synchronized. The action routine has now been merged into the privmsg
routine. This required making changes to the privmsg routine.
4.Item 15, enabled by default.

Beta v7.55.1150 changes:
1.Fixed several bugs in API drop-in replacements for CRT time functions.
2.Item 11, https://forums.mirc.com/ubbthreads.php/topics/265304
3.Item 12, https://forums.mirc.com/ubbthreads.php/topics/265304

Beta v7.55.907 changes:
1.Fixed several bugs in API drop-in replacements for CRT time functions.

Beta v7.55.745 changes:
1.Item 9, fixed. Needs testing.
2.Item 10, to prevent incorrect results if called from different threads.
3.Implemented Windows API drop-in replacements for CRT time functions.
These allow negative time values prior to unix epoch, from year 1601
windows epoch. Added /timeapi on|off command for testing purposes. If
enabled, all features that use times/dates eg. timestamps, including
identifiers, will use the API versions.

With the API versions: on Vista onwards, GetDynamicTimeZoneInformation()
is used to determine timezone/dst. On older versions of Windows,
GetTimeZoneInformation() is used, so the results may be different.

Beta v7.55.626 changes:
1.Items 4, 5, 6, updated.
2.Item 7, https://forums.mirc.com/ubbthreads.php/topics/265246
3.Item 8, changed. A number of features depended unnecessarily on system
time, which meant that if it was changed, their measurement of time
would be incorrect. This change affects features such as the main
timer, away, dcc, sockets, flood, etc.

Beta v7.55.520 changes:
1.Item 1, https://forums.mirc.com/ubbthreads.php/topics/265150
Changed .redirect to only be filled if a redirect takes place.
2.Item 1, https://forums.mirc.com/ubbthreads.php/topics/265162
Added support for content-disposition header to determine filename.
Used only if filename not specified as parameter.
3.Item 1, https://forums.mirc.com/ubbthreads.php/topics/265185
Fixed crash when a &binvar download is cancelled.
4.Item 1, https://forums.mirc.com/ubbthreads.php/topics/265189
Optimized speed for &binvar downloads. Uses content-length if available
to pre-allocate entire file size, otherwise uses realloc() with
pre-allocated chunks to decrease realloc() calls.
5.Item 1, added head option, stores result in .reply.
6.Item 1, added put, patch, delete options. Untested. Put and patch use
the same parameters as post. Delete uses the same as head.
7.Item 1, changed so that options fb are optional with all methods.

Beta v7.55.338 changes:
1.Item 1, required rewrite of HTTP related routines used by several
features. Experimental, needs testing.
2.Item 3, https://forums.mirc.com/ubbthreads.php/topics/265057
3.Item 4, https://forums.mirc.com/ubbthreads.php/topics/265071

Changes:
1.Added $urlget() identifier that downloads content from http/https
addresses. Returns id number. Calls alias with id number when transfer
completes.

$id = $urlget(url,hgpuadfbrtic,target,alias,headers,body)

$urlget(N/id) used with properties:
url, redirect, method, type, target, alias, id, state, size,
resume, rcvd, time, reply

url = http/https://user:pass@address:port/file?parameters
options =
hgpuad = head, get, post, put, patch, or delete
fb = file or &binvar
r = resume
t = use .part file
i = ignore SSL errors
c = cancel
target = file or &binvar
alias = called on completion
headers = &binvar
body = &binvar

2.Fixed $regml().pos bug with multibyte characters.
3.Changed $dll() to require filename .dll extension. If filename does
not have an extension, .dll is appended.
4.Updated OpenSSL library to v1.1.1b. Required code changes due to to
changes in OpenSSL 1.1.x. Older OpenSSL versions are no longer
supported. Compiled to work on XP. Dynamic loading of OpenSSL DLLs
still supported as libcrypto-1_1.dll and libssl-1_1.dll.
5.Updated TagLib library to latest fixes.
6.Updated LibZip library to v1.5.2.
7.Reverted changes to $gmt(N) and $gmt(format).
8.Changed a number of features to use tick counts instead of system
time for time measurement.
9.Fixed $astime() and other time/date features applying DST incorrectly
in some situations.
10.Changed time/date features to use threadsafe versions of CRT time
functions.
11.Changed $encode()/$decode() to allow non-literal keys longer than 56
characters.
12.Changed $encode()/$decode() to not allow salts/IVs that contain
codepoints 256+.
13.Fixed "try next server in group" option being incorrectly applied in
some situations.
14.Changed action message processing so that it is integrated into
the privmsg routines.
15.Changed time/date routines to use Windows APIs, allowing extended
date range 1601 to 9999.
16.Changed $encode()/$decode() to zero-pad salt strings shorter than
eight bytes.
17.Changed /msg -switches support to enable backwards compatibility with
BNCs that use - as an invalid nickname prefix, such as -sBNC and
-psyBNC.
18.Changed DCC Folders dialog so that when a new item is added, it
uses the default get path by default.
19.Fixed script error not showing line number for single-line event
definitions.
20.Added /server [-key filename] to set private key file to use for
an SSL connection.
21.Changed nickserv logon method to increase delay after last nickserv
notice is received before triggering perform.
22.Changed status window connection state icons. Now show a green
lock icon for a valid SSL connection and an orange icon for an SSL
connection with an invalid certificate.
23.Fixed $com()/$comcall() not scanning the local alias/script file
first for a matching command/identifier.
24.Updated PCRE regex library to v8.43.
25.Fixed $$ prefix not working for remote identifiers.
1 163,616 Read More
Scripts & Popups
12/06/19 06:29 AM
Apologies in advance I've only been playing around with scripting for less than a day.

I've made a bot that randomly says a quote anytime some says the trigger word by itself example

if someone says

"Bananas"

The bot would trigger and say a random quote from a list.

Is there anyway to add a line in the script so the bot would pick up "Bananas" said in a full sentence.
Eg. "I'm going to buy some bananas today" and have the bot trigger?
0 36 Read More
Scripts & Popups
08/06/19 08:30 PM
Awesome that you've found this... I remember when we started this... It might have even been me that suggested it (although I wasn't able to actually program it back then).

I did write some doc's (dunno where they are now)

Have you changed anything?

From memory, it was relatively easy to crash if you were just loading random sites.

mChef had execScript support like nHTMLn, and if you see screenshot 5, that window is entirely HTML, using a mIRC script to pass things to JS, and JS to pass things to mIRC.

Congrats on getting this to run. If it's stable/updated to the latest chromium, I'd be very interested in playing with it!

Edit: One of the things I absolutely loved about this, was that it embedded the browser, rather than using the operating system's one.
...as well as Chromium shitting all over IE.

From memory this would still use WebKit rendering engine
1 200 Read More
mIRC Help
08/06/19 12:00 AM
The tabs where it *facepalm* Didn't even mean to have them in there...
5 243 Read More
Scripts & Popups
06/06/19 11:02 PM
The current beta has native support for http downloads:
https://forums.mirc.com/ubbthreads.php/topics/225704/mIRC_beta#Post225704

This script will both fetch and parse the json:
https://github.com/SReject/JSON-For-Mirc
1 125 Read More
Scripts & Popups
06/06/19 04:07 AM
New themes based on https://github.com/ayu-theme/ayu-colors#colors



Ayu Mirage, Ayu Dark and Ayu Light use those palettes from the website.

Ayu MirageDark = Ayu Mirage + Ayu Dark Background

Ayu MirageBlack = Ayu Mirage + Black Background

Ayu DarkBlack = Ayu Dark + Black Background

Enjoy guys, I think Ayu MirageDark is my best theme yet.

Code:
[colors]
n0=Ayu Dark,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n1=Ayu DarkBlack,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n2=Ayu Light,0,6,4,5,2,3,3,3,3,3,3,1,5,7,6,1,3,2,3,5,0,0,1,0,1,15,6,0,0,1
n3=Ayu Mirage,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n4=Ayu MirageBlack,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n5=Ayu MirageDark,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n6=Dracula,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,14,6,1,1,0
n7=DraculaGr,1,6,4,5,2,3,3,3,3,3,3,15,5,7,6,15,3,2,3,5,15,1,0,1,15,14,6,1,1,15
n8=HexChat Black,1,6,4,7,11,3,3,3,3,3,3,15,7,8,6,15,3,11,3,7,15,1,15,1,15,14,6,1,1,15
n9=HexChat Black2,1,6,4,7,11,3,3,3,3,3,3,15,7,8,6,15,3,11,3,7,15,1,15,1,15,14,6,1,1,15
n10=HexChat Cool,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n11=HexChat MatriY,0,6,4,5,2,3,3,3,3,3,3,1,5,7,6,1,3,2,3,5,1,0,1,0,1,3,6,0,0,1
n12=HexChat Monokai,1,6,4,7,11,3,3,3,3,3,3,15,7,8,6,15,3,11,3,7,15,1,15,1,15,14,6,1,1,15
n13=HexChat Simply Glyphed Tango Dark,14,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,14,0,14,0,15,6,14,14,0
n14=HexChat Solarized Dark,11,6,4,7,15,3,3,3,3,3,3,15,7,8,6,15,3,15,3,7,15,11,15,11,15,14,6,11,11,15
n15=HexChat Ubuntu Dark,14,6,4,7,11,5,5,5,5,5,5,15,7,8,6,15,5,11,5,7,15,14,15,14,15,5,6,14,14,15
n16=Intern,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n17=InternBlack,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n18=InternDarker,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n19=Lincon,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n20=Lincon2,1,6,4,5,12,3,3,3,3,3,3,0,5,7,6,0,3,12,3,5,0,1,0,1,0,15,6,1,1,0
n21=Lincon2Gr,1,6,4,5,12,3,3,3,3,3,3,15,5,7,6,15,3,12,3,5,15,1,15,1,15,14,6,1,1,15
n22=LinconGr,1,6,4,5,2,3,3,3,3,3,3,15,5,7,6,15,3,2,3,5,15,1,15,1,15,14,6,1,1,15
n23=mIRC Black,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n24=mIRC BlackGr,1,6,4,5,2,3,3,3,3,3,3,15,5,7,6,15,3,2,3,5,15,1,15,1,15,14,6,1,1,15
n25=mIRC BlackGray,1,14,14,14,14,14,14,14,14,14,14,0,14,14,14,0,14,14,14,14,0,1,0,1,0,14,14,1,1,0
n26=mIRC BlackGrayGr,1,14,14,14,14,14,14,14,14,14,14,15,14,14,14,15,14,14,14,14,15,1,15,1,15,14,14,1,1,15
n27=mIRC Classic,0,6,4,5,2,3,3,3,3,3,3,1,5,7,6,1,3,2,3,5,1,0,1,0,1,15,6,0,0,1
n28=mIRC ClassicGray,0,14,14,14,14,14,14,14,14,14,14,1,14,14,14,1,14,14,14,14,1,0,1,0,1,14,14,0,0,1
n29=mIRC ClassicGrayGr,15,14,14,14,14,14,14,14,14,14,14,1,14,14,14,1,14,14,14,14,1,15,1,15,1,14,14,15,15,1
n30=mIRC Modern,0,6,4,7,2,3,4,3,3,3,3,1,5,2,6,1,14,2,3,5,1,0,1,0,1,14,5,0
n31=mmIRCB1,1,6,4,7,11,3,3,3,3,3,3,0,7,8,6,0,3,11,3,7,0,1,0,1,0,14,6,1,1,0
n32=mmIRCB1Gr,1,6,4,7,11,3,3,3,3,3,3,15,7,8,6,15,3,11,3,7,15,1,15,1,15,14,6,1,1,15
n33=mmIRCB2,1,6,4,7,2,3,3,3,3,3,3,0,7,8,6,0,3,2,3,7,0,1,0,1,0,14,6,1,1,0
n34=mmIRCB2Gr,1,6,4,7,2,3,3,3,3,3,3,15,7,8,6,15,3,2,3,7,15,1,15,1,15,14,6,1,1,15
n35=mmIRCB3,1,6,4,7,11,3,3,3,3,3,3,0,7,8,6,0,3,11,3,7,0,1,0,1,0,14,6,1,1,0
n36=mmIRCB3Gr,1,6,4,7,11,3,3,3,3,3,3,15,7,8,6,15,3,11,3,7,15,1,15,1,15,14,6,1,1,15
n37=mmIRCB4,1,6,4,7,11,9,9,9,9,9,9,0,7,8,6,0,9,11,9,7,0,1,0,1,0,14,6,1,1,0
n38=mmIRCB4Gr,1,6,4,7,11,9,9,9,9,9,9,15,7,8,6,15,9,11,9,7,15,1,15,1,15,14,6,1,1,15
n39=mmIRCBl,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,1,0
n40=mmIRCBl2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,1,0
n41=mmIRCG3,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,1,3,3,3,1,1,3
n42=mmIRCG32,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,1,3,3,3,1,1,3
n43=mmIRCG9,1,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,1,9,1,9,9,9,1,1,9
n44=mmIRCG92,1,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,1,9,1,9,9,9,1,1,9
n45=mmIRCGr,1,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,1,15,1,15,15,15,1,1,15
n46=mmIRCGr2,1,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,1,15,1,15,15,15,1,1,15
n47=mmIRCO,1,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,1,7,1,7,7,7,1,1,7
n48=mmIRCO2,1,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,1,7,1,7,7,7,1,1,7
n49=mmIRCWh,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,0,0,1
n50=mmIRCWh2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,0,0,1
n51=Monochrome State,1,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,1,15,1,15,15,15,14,1,15
n52=Monochrome State2,1,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,1,15,1,15,15,15,14,1,15
n53=Monokai,1,4,4,4,2,3,4,3,6,6,3,0,2,2,0,0,3,4,3,4,0,1,0,1,0,14,0,1,1,0
n54=Monokai2,1,13,4,7,2,3,3,3,3,3,3,0,7,6,13,0,3,2,3,7,0,1,0,1,0,14,0,1,1,0
n55=Monokai2Black,1,13,4,7,2,3,3,3,3,3,3,0,7,6,13,0,3,2,3,7,0,1,0,1,0,14,0,1,1,0
n56=Monokai2Dark,1,13,4,7,2,3,3,3,3,3,3,0,7,6,13,0,3,2,3,7,0,1,0,1,0,14,0,1,1,0
n57=Monokai2Darker,1,13,4,7,2,3,3,3,3,3,3,0,7,6,13,0,3,2,3,7,0,1,0,1,0,14,0,1,1,0
n58=Monokai2Gr,1,13,4,7,2,3,3,3,3,3,3,15,7,6,13,15,3,2,3,7,15,1,15,1,15,14,15,1,1,15
n59=Monokai2GrBlack,1,13,4,7,2,3,3,3,3,3,3,15,7,6,13,15,3,2,3,7,15,1,15,1,15,14,15,1,1,15
n60=Monokai2GrDark,1,13,4,7,2,3,3,3,3,3,3,15,7,6,13,15,3,2,3,7,15,1,15,1,15,14,15,1,1,15
n61=Monokai2GrDarker,1,13,4,7,2,3,3,3,3,3,3,15,7,6,13,15,3,2,3,7,15,1,15,1,15,14,15,1,1,15
n62=MonokaiBlack,1,4,4,4,2,3,4,3,6,6,3,0,2,2,0,0,3,4,3,4,0,1,0,1,0,14,0,1,1,0
n63=MonokaiDark,1,4,4,4,2,3,4,3,6,6,3,0,2,2,0,0,3,4,3,4,0,1,0,1,0,14,0,1,1,0
n64=MonokaiDarker,1,4,4,4,2,3,4,3,6,6,3,0,2,2,0,0,3,4,3,4,0,1,0,1,0,14,0,1,1,0
n65=MonokaiGr,1,4,4,4,2,3,4,3,6,6,3,15,2,2,15,15,3,4,3,4,15,1,15,1,15,14,15,1,1,15
n66=MonokaiGrBlack,1,4,4,4,2,3,4,3,6,6,3,15,2,2,15,15,3,4,3,4,15,1,15,1,15,14,15,1,1,15
n67=MonokaiGrDark,1,4,4,4,2,3,4,3,6,6,3,15,2,2,15,15,3,4,3,4,15,1,15,1,15,14,15,1,1,15
n68=MonokaiGrDarker,1,4,4,4,2,3,4,3,6,6,3,15,2,2,15,15,3,4,3,4,15,1,15,1,15,14,15,1,1,15
n69=Placid Hues,0,2,4,7,2,3,3,3,3,15,3,1,5,7,6,1,3,2,3,5,1,0,1,0,1,15,6,0
n70=Placid Hues2,0,2,4,7,2,3,3,3,3,15,3,1,5,7,6,1,3,2,3,5,1,0,1,0,1,15,6,0,0,1
n71=Rainbow Sky,0,7,4,5,1,1,3,3,8,13,3,14,2,7,13,5,3,8,3,4,14,0,5,0,3,14,10,0,0,1
n72=Solarized,1,15,10,9,8,8,8,15,11,11,15,6,9,9,7,6,15,15,11,11,15,1,6,1,7,7,15,1,1,15
n73=SolarizedBlack,1,15,10,9,8,8,8,15,11,11,15,6,9,9,7,6,15,15,11,11,15,1,6,1,7,7,15,1,1,15
n74=SolarizedDarker,1,15,10,9,8,8,8,15,11,11,15,6,9,9,7,6,15,15,11,11,15,1,6,1,7,7,15,1,1,15
n75=Tempesta,1,4,4,4,2,3,4,3,6,6,3,0,2,2,5,0,5,4,3,4,0,1,0,1,0,14,5,1,1,0
n76=Tempesta2,1,6,4,8,2,3,3,3,3,3,3,0,8,7,6,0,3,2,3,8,0,1,0,1,0,14,6,1,1,0
n77=Tempesta2Black,1,6,4,8,2,3,3,3,3,3,3,0,8,7,6,0,3,2,3,8,0,1,0,1,0,14,6,1,1,0
n78=Tempesta2Dark,1,6,4,8,2,3,3,3,3,3,3,0,8,7,6,0,3,2,3,8,0,1,0,1,0,14,6,1,1,0
n79=Tempesta2Darker,1,6,4,8,2,3,3,3,3,3,3,0,8,7,6,0,3,2,3,8,0,1,0,1,0,14,6,1,1,0
n80=TempestaBlack,1,4,4,4,2,3,4,3,6,6,3,0,2,2,5,0,5,4,3,4,0,1,0,1,0,14,5,1,1,0
n81=TempestaDark,1,4,4,4,2,3,4,3,6,6,3,0,2,2,5,0,5,4,3,4,0,1,0,1,0,14,5,1,1,0
n82=TempestaDarker,1,4,4,4,2,3,4,3,6,6,3,0,2,2,5,0,5,4,3,4,0,1,0,1,0,14,5,1,1,0
n83=Wad's Black,1,6,4,5,2,3,3,3,3,3,3,0,5,7,6,0,3,2,3,5,0,1,0,1,0,15,6,1,1,0
n84=Wad's BlackGr,1,6,4,5,2,3,3,3,3,3,3,15,5,7,6,15,3,2,3,5,15,1,15,1,15,14,6,1,1,15
n85=Wad's BlackGr2,1,6,4,5,2,3,3,3,3,3,3,15,5,7,6,15,3,2,3,5,15,1,15,1,15,14,6,1,1,15
n86=Wad's White,0,6,4,5,2,3,3,3,3,3,3,1,5,7,6,1,3,2,3,5,1,0,1,0,1,15,6,0,0,1
n87=Zenburn,1,11,4,10,14,14,15,3,2,6,11,0,4,15,9,12,7,7,5,4,13,1,12,1,3,8,10,1,1,14
n88=Zenburn2,1,11,4,10,14,14,15,3,2,6,11,0,4,15,9,0,7,7,5,4,13,1,0,1,3,8,10,1,1,14
n89=Zenburn2Black,1,11,4,10,14,14,15,3,2,6,11,0,4,15,9,0,7,7,5,4,13,1,0,1,3,8,10,1,1,14
n90=Zenburn2Black2,1,11,4,10,14,14,15,3,2,6,11,0,4,15,9,0,7,7,5,4,13,1,0,1,3,8,10,1,1,14
n91=Zenburn2Black2Gr,1,11,4,10,14,14,15,3,2,6,11,0,4,15,9,0,7,7,5,4,13,1,0,1,3,8,10,1,1,14
n92=Zenburn2Dark,1,11,4,10,14,14,15,3,2,6,11,0,4,15,9,0,7,7,5,4,13,1,0,1,3,8,10,1,1,14
n93=Zenburn2Darker,1,11,4,10,14,14,15,3,2,6,11,0,4,15,9,0,7,7,5,4,13,1,0,1,3,8,10,1,1,14
n94=ZenburnBlack,1,11,4,10,14,14,15,3,2,6,11,0,4,15,9,12,7,7,5,4,13,1,12,1,3,8,10,1,1,14
n95=ZenburnDark,1,11,4,10,14,14,15,3,2,6,11,0,4,15,9,12,7,7,5,4,13,1,12,1,3,8,10,1,1,14
n96=ZenburnDarker,1,11,4,10,14,14,15,3,2,6,11,0,4,15,9,12,7,7,5,4,13,1,12,1,3,8,10,1,1,14

[palettes]
n0=11383219,1314314,16761433,5036482,7893488,3355647,10088191,4231167,7583462,5289190,13362837,5551359,15120953,6854386,7563874,5063229
n1=11383219,0,16761433,5036482,7893488,3355647,10088191,4231167,7583462,5289190,13362837,5551359,15120953,6854386,7563874,5063229
n2=16448250,8418924,15113785,45958,7434736,1579253,13400739,4099578,8305382,4233727,10075980,4828914,13939797,6722541,11972779,10919317
n3=13028555,3154975,16765043,8316602,7964658,3355647,16760788,5875711,11790079,6737151,13362837,8443391,15126364,7642866,7563100,9206384
n4=13028555,0,16765043,8316602,7964658,3355647,16760788,5875711,11790079,6737151,13362837,8443391,15126364,7642866,7563100,9206384
n5=13028555,1314314,16765043,8316602,7964658,3355647,16760788,5875711,11790079,6737151,13362837,8443391,15126364,7642866,7563100,9206384
n6=15066597,0,16356285,8125008,5592575,5592575,13007359,7125247,9239281,8125008,16640395,16640395,16356285,13007359,11711154,13421772
n7=15066597,0,16356285,8125008,5592575,5592575,13007359,7125247,9239281,8125008,16640395,16640395,16356285,13007359,11711154,13421772
n8=13553358,0,13369344,52225,220,170,12255418,43775,2350575,5561907,13356032,16772659,16646144,15606509,7829367,10066329
n9=13553358,0,13790720,52225,220,170,12255418,43775,2350575,5561907,13356032,16772659,16744448,15606509,7829367,10066329
n10=15329769,0,15306514,2853931,1398002,1532660,8267647,8948363,4237015,4115517,5592345,7638062,14959684,11548593,16777215,9803157
n11=14672094,1144855,8441734,8894333,7330405,6356065,4848506,38924,6087168,10419972,7369839,2227458,7700339,10343597,14212305,14869218
n12=16777215,4081736,15653222,2934636,2136062,7481338,16668819,6189430,7724007,3072679,9482038,14020454,15653222,16745134,6189430,12767439
n13=16777215,0,8866080,367182,164,2763247,10057107,22927,5237244,3465866,10839604,8081525,13533042,11042477,5396309,11976122
n14=10592659,1461194,13863718,10068521,12808556,8599251,13863718,12808556,3093211,35509,8599251,7630423,39557,1461194,35509,1461194
n15=8043737,6192795,9843456,4744833,78845,2926565,212,300028,3667444,616953,13265153,16768691,16684802,5547467,4674134,10213885
n16=16777215,1842204,14135183,6260575,6250415,6260615,8871775,6197437,9227468,8892295,11503455,11513695,8882015,11503495,7039851,10066329
n17=16777215,0,14135183,6260575,6250415,6260615,8871775,6197437,9227468,8892295,11503455,11513695,8882015,11503495,7039851,10066329
n18=16777215,1579032,14135183,6260575,6250415,6260615,8871775,6197437,9227468,8892295,11503455,11513695,8882015,11503495,7039851,10066329
n19=16777215,0,11141120,43520,255,170,11141290,32764,5701631,5701462,11184640,16777046,16733782,16733951,5658198,11184810
n20=16777215,0,11141120,43520,255,170,11141290,32764,5701631,5701462,11184640,16777046,16733782,16733951,5658198,11184810
n21=16777215,0,11141120,43520,255,170,11141290,32764,5701631,5701462,11184640,16777046,16733782,16733951,5658198,11184810
n22=16777215,0,11141120,43520,255,170,11141290,32764,5701631,5701462,11184640,16777046,16733782,16733951,5658198,11184810
n23=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n24=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n25=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n26=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n27=16777215,0,8323072,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16515072,16711935,8355711,13816530
n28=16777215,0,8323072,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16515072,16711935,8355711,13816530
n29=16777215,0,8323072,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16515072,16711935,8355711,13816530
n30=16777215,0,11010048,3299627,240,4737160,8388720,26832,1632504,57344,94740,16776960,16515072,16711935,8355711,13816530
n31=16777215,0,8323072,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16515072,16711935,8355711,13816530
n32=16777215,0,8323072,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16515072,16711935,8355711,13816530
n33=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n34=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n35=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n36=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n37=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n38=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n39=16777215,0,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215
n40=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n41=37632,0,37632,37632,37632,37632,37632,37632,37632,37632,37632,37632,37632,37632,37632,37632
n42=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n43=65280,0,65280,65280,65280,65280,65280,65280,65280,65280,65280,65280,65280,65280,65280,65280
n44=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n45=13816530,0,13816530,13816530,13816530,13816530,13816530,13816530,13816530,13816530,13816530,13816530,13816530,13816530,13816530,13816530
n46=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n47=33023,0,33023,33023,33023,33023,33023,33023,33023,33023,33023,33023,33023,33023,33023,33023
n48=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n49=16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
n50=16777215,0,8323072,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16515072,16711935,8355711,13816530
n51=16777215,0,8323072,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16515072,16711935,8355711,13816530
n52=16777215,0,12615680,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16744448,16711935,8355711,13816530
n53=15923448,2238503,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n54=15923448,2238503,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n55=15923448,0,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n56=15923448,1711645,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n57=15923448,1514266,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n58=15923448,2238503,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n59=15923448,0,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n60=15923448,1711645,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n61=15923448,1514266,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n62=15923448,0,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n63=15923448,1711645,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n64=15923448,1514266,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n65=15923448,2238503,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n66=15923448,0,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n67=15923448,1711645,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n68=15923448,1514266,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16744448,16711935,8355711,13816530
n69=15658734,0,12140,1508038,255,10964547,6579262,33023,65535,4227072,9474048,9920537,16711680,16711935,6579300,8553090
n70=15658734,0,12140,1508038,255,10964547,6579262,33023,51400,4227072,9474048,9920537,16711680,16711935,6579300,8553090
n71=16777215,3618615,12087408,16744448,255,32764,65535,43008,9671424,16776960,16515072,16711935,8355711,16711808,8355711,13816530
n72=4339207,3549952,7695960,8616805,9868419,10592659,14018798,14939901,35253,1461195,3093212,8533715,12874092,13798182,10002730,39301
n73=4339207,0,7695960,8616805,9868419,10592659,14018798,14939901,35253,1461195,3093212,8533715,12874092,13798182,10002730,39301
n74=4339207,1972224,7695960,8616805,9868419,10592659,14018798,14939901,35253,1461195,3093212,8533715,12874092,13798182,10002730,39301
n75=15395562,3947580,15246675,4774912,3093751,3394288,13988301,22764,4941506,1429027,11524683,15173652,14279428,16734975,9608092,6779250
n76=15395562,3947580,15246675,4774912,3093751,3394288,13988301,22764,4941506,1429027,11524683,15173652,14279428,16734975,9608092,6779250
n77=15395562,0,15246675,4774912,3093751,3394288,13988301,22764,4941506,1429027,11524683,15173652,14279428,16734975,9608092,6779250
n78=15395562,2236962,15246675,4774912,3093751,3394288,13988301,22764,4941506,1429027,11524683,15173652,14279428,16734975,9608092,6779250
n79=15395562,1579032,15246675,4774912,3093751,3394288,13988301,22764,4941506,1429027,11524683,15173652,14279428,16734975,9608092,6779250
n80=15395562,0,15246675,4774912,3093751,3394288,13988301,22764,4941506,1429027,11524683,15173652,14279428,16734975,9608092,6779250
n81=15395562,2236962,15246675,4774912,3093751,3394288,13988301,22764,4941506,1429027,11524683,15173652,14279428,16734975,9608092,6779250
n82=15395562,1579032,15246675,4774912,3093751,3394288,13988301,22764,4941506,1429027,11524683,15173652,14279428,16734975,9608092,6779250
n83=16777215,0,14109482,1337629,2302893,1657473,12592769,3379967,3403519,8045953,12312297,13684777,16756637,15977983,5723991,10526880
n84=16777215,0,14109482,1337629,2302893,1657473,12592769,3379967,3403519,8045953,12312297,13684777,16756637,15977983,5723991,10526880
n85=16777215,0,14109482,1337629,2302893,1657473,12592769,3379967,3403519,8045953,12312297,13684777,16756637,15977983,5723991,11842740
n86=16777215,0,14109482,1337629,2302893,1657473,12592769,3379967,3403519,8045953,12312297,13684777,16756637,15977983,5723991,10526880
n87=13027014,3815994,2627742,9621166,3705494,13594205,5848214,7962945,12500670,6710886,7430607,7993285,9893887,12486209,12492495,12500593
n88=13027014,3815994,2627742,9621166,3705494,13594205,5848214,7962945,12500670,6710886,7430607,7993285,9893887,12486209,12492495,12500593
n89=13027014,0,2627742,9621166,3705494,13594205,5848214,7962945,12500670,6710886,7430607,7993285,9893887,12486209,12492495,12500593
n90=16777215,0,2627742,9621166,3705494,13594205,5848214,7962945,12500670,6710886,7430607,7993285,9893887,12486209,12492495,12500593
n91=13816530,0,2627742,9621166,3705494,13594205,5848214,7962945,12500670,6710886,7430607,7993285,9893887,12486209,12492495,12500593
n92=13027014,2631720,2627742,9621166,3705494,13594205,5848214,7962945,12500670,6710886,7430607,7993285,9893887,12486209,12492495,12500593
n93=13027014,1579032,2627742,9621166,3705494,13594205,5848214,7962945,12500670,6710886,7430607,7993285,9893887,12486209,12492495,12500593
n94=13027014,0,2627742,9621166,3705494,13594205,5848214,7962945,12500670,6710886,7430607,7993285,9893887,12486209,12492495,12500593
n95=13027014,2631720,2627742,9621166,3705494,13594205,5848214,7962945,12500670,6710886,7430607,7993285,9893887,12486209,12492495,12500593
n96=13027014,1579032,2627742,9621166,3705494,13594205,5848214,7962945,12500670,6710886,7430607,7993285,9893887,12486209,12492495,12500593
21 3,171 Read More
Scripts & Popups
05/06/19 03:56 AM
In addition to translating the interval string into number of seconds, $duration can take an integer number of seconds and translate it into weeks/days/hrs/mins/secs

'return' is a way that a custom alias can behave like an $identifier. When the alias ends with 'return %variable", $myalias returns the value of the %variable to whatever called the alias.
4 165 Read More
Scripts & Popups
05/06/19 02:25 AM
Here is an update to the !Pirates-GamePad Script:
Quote:
[Addon]
Script=Pirates-GamePad
Version=1.2
Author=DR DevTeam
Desc=!Pirates Game Pad
For=DragonRyder v13.5
Date=May 29th 2019
;NOTE: !UNO mod done with permission
;[Mon. Apr. 23 2007 2:41pm] <Ryu> you mind if i mod it to make it so it will do cd
;[Mon. Apr. 23 2007 2:41pm] <lurk3r> np, do what yer like lol
;
;My son introduced me to QuietSilence, whom took my modified !UNO to !Pirates
;and fixed it and turned it into a very AWESOME dialog GamePad for !Pirates
;Hope you don't mind me bragging on your scripting skills QuietSilence

menu channel {
!Pirates GamePad: {
set %pirates.chan $iif(%pirates.chan != $chan,$iif($$input(Change !Pirates channel to $chan $+ ?,y,Pirates Channel is %pirates.chan),$chan,%pirates.chan),$chan)
if (%pirates.chan == $chan) { dialog $iif(!$dialog(DRDT-PiratesAddon),-mdo,-ev) DRDT-PiratesAddon DRDT-PiratesAddon }
}
}

dialog DRDT-PiratesAddon {
title "!Pirates Game Pad v1.0"
size 100 100 284 154
option dbu
tab "Player", 1000, 0 2 283 151
button "bored", 18, 111 68 32 10, tab 1000
button "Awake", 44, 111 112 32 10, tab 1000
button "bot", 40, 214 38 32 10, tab 1000
button "brig", 219, 144 58 32 10, tab 1000
button "weapon", 220, 181 28 32 10, tab 1000
button "dig", 19, 74 38 32 10, tab 1000
button "fish", 25, 74 28 32 10, tab 1000
button "crabbin", 26, 74 68 32 10, tab 1000
button "work", 27, 74 58 32 10, tab 1000
button "steal", 221, 250 28 32 10, tab 1000
button "love", 28, 2 122 32 10, tab 1000
button "hate", 29, 2 132 32 10, tab 1000
button "legends", 30, 144 48 32 10, tab 1000
button "Lottery", 319, 144 122 32 10, tab 1000
button "scour", 31, 39 112 32 10, tab 1000
button "maps", 32, 111 58 32 10, tab 1000
button "mutiny", 315, 2 142 32 10, tab 1000
button "Party", 316, 144 112 32 10, tab 1000
button "rusty", 402, 144 68 32 10, tab 1000
button "search", 41, 39 122 32 10, tab 1000
button "daily", 13, 111 38 32 10, tab 1000
button "goals", 14, 111 48 32 10, tab 1000
button "heal", 314, 214 48 32 10, tab 1000
button "lockpick", 211, 250 38 32 10, tab 1000
button "snatch", 16, 250 48 32 10, tab 1000
button "dive", 17, 74 48 32 10, tab 1000
button "top", 401, 111 28 32 10, tab 1000
button "tavern", 312, 181 58 32 10, tab 1000
button "Mercy", 313, 111 122 32 10, tab 1000
button "stamina", 212, 181 38 32 10, tab 1000
button "ship status", 42, 217 112 32 10, tab 1000
button "Troll", 213, 74 132 32 10, tab 1000
button "Tasks", 1, 144 28 32 10, tab 1000
button "Carry", 2, 2 58 32 10, tab 1000
button "About", 11, 144 78 32 10, tab 1000
button "Achievement", 12, 111 88 65 10, tab 1000
button "captain", 21, 250 142 32 10, tab 1000
button "capn favor", 22, 250 132 32 10, tab 1000
button "capn rep", 23, 250 122 32 10, tab 1000
button "capn stats", 24, 250 112 32 10, tab 1000
button "rig", 8, 2 48 32 10, tab 1000
button "steer", 9, 39 48 32 10, tab 1000
button "repair", 7, 39 38 32 10, tab 1000
button "fix", 5, 39 58 32 10, tab 1000
button "lookout", 6, 2 38 32 10, tab 1000
button "cook", 4, 39 28 32 10, tab 1000
button "Age", 10, 111 78 32 10, tab 1000
button "clean", 3, 2 28 32 10, tab 1000
button "swab", 15, 2 68 32 10, tab 1000
button "Info", 214, 144 38 32 10, tab 1000
button "Power", 215, 181 48 32 10, tab 1000
button "Level", 216, 214 28 32 10, tab 1000
button "Request", 39, 2 112 32 10, tab 1000
button "Insult", 217, 74 122 32 10, tab 1000
button "Davy Jones", 218, 74 112 32 10, tab 1000
text "Players", 500, 74 100 32 10, tab 1000 center
text "Miscellaneous", 501, 111 100 65 10, tab 1000 center
text "Lvl 1-5", 502, 2 18 32 10, tab 1000 center
text "Lvl 5-6", 503, 39 18 32 10, tab 1000 center
text "Lvl 10+", 504, 74 18 32 10, tab 1000 center
text "Info", 505, 111 18 65 10, tab 1000 center
text "Fight", 506, 181 18 65 10, tab 1000 center
text "Theff", 507, 250 18 32 10, tab 1000 center
text "Captain", 508, 2 100 32 10, tab 1000 center
text "Quick Captain Commands", 509, 217 100 65 10, tab 1000 center
text "Find", 510, 39 100 32 10, tab 1000 center
button "Train", 317, 74 78 32 10, tab 1000
button "Cap Cmd", 318, 217 122 32 10, tab 1000
button "Aye", 52, 144 132 32 10, tab 1000
button "Stash", 53, 111 132 32 10, tab 1000
button "Chest", 46, 111 142 32 10, tab 1000
button "Use", 61, 144 142 32 10, tab 1000

tab "Buy and Sell", 1001

button "BlackPowder", 551, 66 28 40 10, tab 1001
button "Bribe", 552, 2 68 32 10, tab 1001
button "Sell Gun", 250, 2 38 32 10, tab 1001
button "Sell Sword", 251, 2 48 32 10, tab 1001
button "Buy Sword", 252, 34 48 32 10, tab 1001
button "Buy Gun", 253, 34 38 32 10, tab 1001
button "Spouse", 553, 34 78 32 10, tab 1001
button "Sharpen", 554, 34 28 32 10, tab 1001
button "Youth", 155, 2 78 32 10, tab 1001
button "Parlay", 48, 34 68 32 10, tab 1001
button "Rum", 556, 2 28 32 10, tab 1001
button "Nickname", 50, 66 78 40 10, tab 1001
button "Chest", 45, 112 28 32 20, tab 1001
button "Rename Gun", 37, 66 58 40 10, tab 1001
button "Repair Gun", 558, 66 38 40 10, tab 1001
button "Repair Sword", 559, 66 48 40 10, tab 1001
button "Rename Sword", 38, 66 68 40 10, tab 1001
button "Custom", 60, 34 58 32 10, tab 1001


button "Male", 63, 6 106 32 10, tab 1001
button "Female", 64, 38 106 32 10, tab 1001
button "Undisclosed",65 , 70 106 32 10, tab 1001

button "Native", 66, 38 142 32 10, tab 1001
button "English", 67, 6 132 32 10, tab 1001
button "Jesuit", 68, 70 142 32 10, tab 1001
button "Spanish", 71, 70 132 32 10, tab 1001
button "French", 69, 38 132 32 10, tab 1001
button "Dutch", 70, 6 142 32 10, tab 1001

text "Buy Faction", 511, 2 122 104 10, tab 1001 center
text "Buy Gender", 512, 2 96 104 10, tab 1001 center
text "Market", 513, 112 18 170 10, tab 1001 center
text "Fruit", 514, 112 92 100 10, tab 1001 center
text "Chest Locks", 516, 248 28 32 10, tab 1001 center
text "Chest Traps", 517, 248 92 32 10, tab 1001 center
text "Chests", 518, 180 28 32 10, tab 1001 center
text "Goods", 519, 214 92 32 10, tab 1001 center
text "Herbs", 520, 214 28 32 10, tab 1001 center
text "Poisons", 521, 146 28 32 10, tab 1001 center
text "Ship Store", 523, 2 18 104 10, tab 1001 center

button "Bomb", 85, 248 142 32 10, tab 1001
button "Spike", 86, 248 132 32 10, tab 1001
button "Poison", 87, 248 122 32 10, tab 1001
button "Acid", 88, 248 112 32 10, tab 1001
button "Curse", 89, 248 102 32 10, tab 1001

button "large", 83, 180 48 32 10, tab 1001
button "Medium", 84, 180 38 32 10, tab 1001

button "Guava", 90, 112 124 32 10, tab 1001
button "Gooseberries", 91, 112 134 36 10, tab 1001
button "Genips", 92, 112 114 32 10, tab 1001
button "Chayote", 93, 112 104 32 10, tab 1001
button "Ugli", 94, 180 124 32 10, tab 1001
button "Orange", 95, 146 124 32 10, tab 1001
button "Noni", 96, 146 114 32 10, tab 1001
button "Star", 97, 180 114 32 10, tab 1001
button "Soursop", 98, 180 104 32 10, tab 1001
button "Mameyl", 99, 146 104 32 10, tab 1001

button "Luxuries", 145, 214 142 32 10, tab 1001
button "Materials", 146, 214 132 32 10, tab 1001
button "Sugar", 147, 214 122 32 10, tab 1001
button "Spice", 148, 214 112 32 10, tab 1001
button "Food", 149, 214 102 32 10, tab 1001

button "Anzid", 80, 146 38 32 10, tab 1001

button "Green", 47, 214 38 32 10, tab 1001

button "Sell Item", 56, 112 48 32 20, tab 1001
button "Sell All", 57, 112 68 32 20, tab 1001

button "d", 150, 248 68 32 10, tab 1001
button "c", 151, 248 58 32 10, tab 1001
button "b", 152, 248 48 32 10, tab 1001
button "a", 153, 248 38 32 10, tab 1001

tab "Captain", 1002
tab "Sail to", 1003
button "Antigua", 100, 2 30 56 10, tab 1003
button "Barbados", 101, 2 40 56 10, tab 1003
button "Bermuda", 102, 2 50 56 10, tab 1003
button "Campeche", 103, 2 60 56 10, tab 1003
button "Caracas", 104, 2 70 56 10, tab 1003
button "Cartagena", 105, 2 80 56 10, tab 1003
button "CoroCumana", 106, 2 90 56 10, tab 1003
button "Curacao", 107, 2 100 56 10, tab 1003
button "Eluthera", 108, 2 110 56 10, tab 1003
button "Florida_Keys", 109, 58 30 56 10, tab 1003
button "Gibraltar", 110, 58 40 56 10, tab 1003
button "Gran_Grenada", 111, 58 50 56 10, tab 1003
button "Grand_Bahama", 112, 58 60 56 10, tab 1003
button "Guadeloupe", 113, 58 70 56 10, tab 1003
button "Havana", 114, 58 80 56 10, tab 1003
button "Leogane", 115, 58 90 56 10, tab 1003
button "Maracaibo", 116, 58 100 56 10, tab 1003
button "Margarita", 117, 58 110 56 10, tab 1003
button "Martinique", 118, 114 30 56 10, tab 1003
button "Montserrat", 119, 114 40 56 10, tab 1003
button "Nassau", 120, 114 50 56 10, tab 1003
button "Nevis", 121, 114 60 56 10, tab 1003
button "Nombre_de_Dios", 122, 114 70 56 10, tab 1003
button "Panama", 123, 114 80 56 10, tab 1003
button "Petit_Goave", 124, 114 90 56 10, tab 1003
button "Port-de-Paix", 125, 114 100 56 10, tab 1003
button "Puerto_Bello", 126, 114 110 56 10, tab 1003
button "Puerto_Cabello", 127, 170 30 56 10, tab 1003
button "Puerto_Principe", 128, 170 40 56 10, tab 1003
button "Rio_de_la_Hacha", 129, 170 50 56 10, tab 1003
button "San_Juan", 130, 170 60 56 10, tab 1003
button "Santa_Catalina", 131, 170 70 56 10, tab 1003
button "Santa_Marta", 132, 170 80 56 10, tab 1003
button "Santiago", 133, 170 90 56 10, tab 1003
button "Santiago_de_La_Vega", 134, 170 100 56 10, tab 1003
button "Santo_Domingo", 135, 170 110 56 10, tab 1003
button "Sint_Maarten", 136, 226 30 56 10, tab 1003
button "St. Augustine", 137, 226 40 56 10, tab 1003
button "St. Eustatius", 138, 226 50 56 10, tab 1003
button "St. Kitts", 139, 226 60 56 10, tab 1003
button "St. Martin", 140, 226 70 56 10, tab 1003
button "Tortuga", 141, 226 80 56 10, tab 1003
button "Trinidad", 142, 226 90 56 10, tab 1003
button "Vera_Cruz", 143, 226 100 56 10, tab 1003
button "Villa_Hermosa", 144, 226 110 56 10, tab 1003
text "Sail to Location", 522, 2 18 280 10, tab 1003 center
}


on *:dialog:DRDT-PiratesAddon:init:*:{
var %pirates.play
dialog -t $dname $dialog($dname).title Now playing in %pirates.chan
}
on *:dialog:DRDT-PiratesAddon:sclick:1-47,56-57,63-65,66-71,80,83-144,150-153,211-221,250-253,311-319,401-402,411-413,550-560: {

if ($did isnum 1-46) {
%pirates.len = $len($did($did))
%pirates.play = p $left($did($did),%pirates.len)
}
if ($did isnum 47) {
%pirates.len = $len($did($did))
%pirates.play = P Market Buy Herb $left($did($did),%pirates.len)
}

if ($did isnum 56) {
%pirates.len = $len($did($did))
%pirates.play = p Market Sell Item $?="enter Item Number:"
}
if ($did isnum 57) {
%pirates.len = $len($did($did))
%pirates.play = P Market Sell All Ornamental Aye
}
if ($did isnum 80) {
%pirates.len = $len($did($did))
%pirates.play = P Market Buy Poison $left($did($did),%pirates.len)
}


elseif ($did isnum 63-65) {
%pirates.len = $len($did($did))
%pirates.play = p store buy gender $left($did($did),%pirates.len)
}
elseif ($did isnum 66-71) {
%pirates.len = $len($did($did))
%pirates.play = p Market buy Faction $left($did($did),%pirates.len)
}

elseif ($did isnum 83-84) {
%pirates.len = $len($did($did))
%pirates.play = p Market buy Chests $left($did($did),%pirates.len)
}
elseif ($did isnum 85-89) {
%pirates.len = $len($did($did))
%pirates.play = p Market buy Chest Traps $left($did($did),%pirates.len)
}
elseif ($did isnum 90-99) {
%pirates.len = $len($did($did))
%pirates.play = p Market buy Fruit $left($did($did),%pirates.len)
}
elseif ($did isnum 100-144) {
%pirates.len = $len($did($did))
%pirates.play = p sail $left($did($did),%pirates.len)
}
if ($did isnum 150-153) {
%pirates.len = $len($did($did))
%pirates.play = p Market Sell Chest Lock $left($did($did),%pirates.len)
}
elseif ($did isnum 211-221) {
%pirates.play = p lockpick|p stamina|p troll|p Info|p Power|p Level|p Insult|p Davy Jones|p brig|p weapon|p rob
%pirates.name = $?="enter pirate name $crlf or blank for your self:"
%pirates.did = $did - 210
%pirates.play = $gettok(%pirates.play,%pirates.did,124)
%pirates.play = %pirates.play %pirates.name
}
if ($did isnum 250-253) {
%pirates.len = $len($did($did))
%pirates.play = p Market $left($did($did),%pirates.len) 250-253Aye
}

elseif ($did isnum 312-319) {
%pirates.play = p tavern rum|p mercy aye|p heal aye|p mutiny aye|p party aye|p skill train|p Capn Cmd|P Store Buy Lottery Auto 10
%pirates.did = $did - 311
%pirates.play = $gettok(%pirates.play,%pirates.did,124)
}
elseif ($did isnum 401-402) {
%pirates.play = p top|p rusty
%pirates.var = $?="blank for top 5 $crlf 2 for top 6-10 $crlf 3 for top 11-15 ect.:"
%pirates.did = $did - 400
%pirates.play = $gettok(%pirates.play,%pirates.did,124)
%pirates.play = %pirates.play %pirates.var
}
elseif ($did isnum 550-560) {
%pirates.len = $len($did($did))
%pirates.play = p store buy $left($did($did),%pirates.len) Aye
}


msg %pirates.chan %pirates.play
}
9 265 Read More
Scripts & Popups
04/06/19 08:47 PM
Hi. There seems to be new topic on Twitch Sub alerts scripts very often, so I'm trying answer everything in one thread. You can take a look at my example script there as it does the function that you are requesting. If you have any questions, please ask there. Thanks. smile
1 103 Read More
Bug Reports
04/06/19 03:41 PM
Hello,
I was able to login to Remote Desktop yesterday and the Icon was visible in the active notification using 7.55.2030 Beta. For testing, I switched back to the stable version, also using the active notification. Will report back in a few days to see if I can repeat the behavior.

Thank you,

6 339 Read More
mIRC Help
02/06/19 08:52 PM
Thanks maroon, I've switch to this script. Works as good as my old one but handles colors a bit better.
6 21,010 Read More
Scripts & Popups
30/05/19 05:55 PM
You don't need to restart mIRC for changes to take place.

Try using this regular expression instead:
Code:
/.*Inviting\syou\sto.*/Si
1 123 Read More
Scripts & Popups
29/05/19 11:52 PM
I assume that you already have a part of your script that is capturing all text based on what you've explained. Try something like this when capturing all text from everyone:

Code:
IF (!$hget(activeusers, $nick)) MSG $chan Good Morning, $nick $+ .
HADD -mz activeusers $nick 3600


It will sent a message to the channel if the person hasn't said anything in the last hour.
2 172 Read More
Scripts & Popups
27/05/19 01:16 PM
It's supposed to flash if you have the box checked in options/display/flash_icons. The g1 uses the color in that menu for 'messages', g2 uses the color for highlight.

If what you pasted is what you put in your alt+R script, it's not the example I gave. You have a space inside the :QUIT: parameter as well as following every dollar sign, as well as allowing the command to touch the curly braces, not having the .cid property touching the parenthesis, etc.

When debugging a script, if you think the problem is caused by a problem in your IF statement, you can add a debugging echo command inside the QUIT event but above the IF statement that ALWAYS executes.

echo -s debugging echo $scriptline $script

If you see your debugging echo in the status window but don't see the commands inside the IF statement doing anything, then you know the problem is with something in the IF statement. If you don't see the echo statement either, then the QUIT statement isn't being seen either.

Also make sure to not have more than one :QUIT: event per remote script, as only the top one is used.
3 251 Read More
Scripts & Popups
26/05/19 09:59 PM
Ahhhh so it was the /scid $cid part that was causing this.

Why does the parser behave like a liquor commercial -

we dont just double parse the line, we triple parse it for a purer form of confusion smile

Just kidding smile
2 160 Read More
Scripts & Popups
26/05/19 03:46 PM
Thanks for the On Disconnect info, implementing it now. I needed to 'steer' the messages about that event to the relevant status window when multi-networking/servering.

I have read the wikichip page for on topic, and the subsequent linked page 'Local Identifiers (https://en.wikichip.org/wiki/mirc/local_identifiers) which suggests that $nick should identify who triggered the event, but it just failed with an error.

I just retried it to quote the error and it worked. I must have made a mistake on my previous test.

Thanks .. That gets me ever onward smile
2 173 Read More
Bug Reports
25/05/19 08:09 PM
Raccoon approves these changes. The proposed context seems to be the intuitive one. I think it was just never discovered because the $$ prefix isn't that widely used outside of one-line aliases and popups, except by some of us more advanced folk who would use it creatively for halting events, timers and callbacks for brevity.

But I support breaking backward compatibility when it promotes intuitive function, but it also encourages script updates and new community engagement. Most old and ancient scripts are pretty terrible anyway.
11 741 Read More
Scripts & Popups
24/05/19 06:20 PM
I've not tried to run your script, but from looking at your code:

1. //echo -a $mircdir $+ \scripts results in a double backslash. $mircdir is one of the few aliases which allows text to be attached to it, so you can also do:

//echo -a $mircdirscripts

2. When you have a variable that only needs to have local scope, it's best practice to define it as a local var with 'var' instead of as a global var with 'set'. This applies to your use of %temp %loops %i

3. If your variables need to have global scope preserved for another alias, event, sclick etc, it's best practice for global variables to be named in a way where it's unlikely to have the same name as a global variable used by another script. This means it's rarely a good idea to have global variables with simplistic names like %i or %temp or %loops, instead something like %scriptloader.temp



4. I can't find /cdebug or $cdebug() being used as a /command or $identifier, so I can't see what kind of text would be in $1-, but -a is not necessarily the same as 'chat', as it means the 'active window', whatever that may be.

5. Unless you have a specific reason for wanting the text to evaluate $identifiers and %variables, when using $read and $readini, you should ALWAYS use the 'n' switch to avoid evaluation, and for $read should also use the 't' switch.

6. If toggle_cdebug is used only where you are setting %cdebug as On or Off, your alias could be made much simpler:

if ($1 isin On Off) set %cdebug $1
else set %debug $replacex($1,On,Off,Off,On)

7. Simpler than

echo 9 -a $timestamp Loaded $chr(34) $+ $did($dname, 7, %i).text $+ $chr(34)

as of v6.17 you can use:

echo 9 -a $timestamp Loaded $qt( $did($dname, 7, %i).text )

and in this case you could have used the literal doublequote also. The exception to using $qt is slightly different behavior if the string already has a leading and/or trailing doublequote.

8. In a simple script like yours, it's fine to have your sclick controls as you've done, but as it gets more complex, you'll find it less cluttered to have a single sclick control like:

on *:dialog:advanced_script_controls:sclick:*:{
if ($did isnum 4-5) { do stuff here }
if ($did == 3) { do stuff here }
}

the 'do stuff' section can end with a 'halt' or 'return' to avoid the need to parse the remainder of the sclick handler.

9. If you want to avoid the possibility that a different script or the editbox could execute your aliases like toggle_cdebug, you can use "alias -l toggle_cdebug" to prevent another script from seeing it.

Also, SysRead and SysWrite are generic enough names that another script might use those alias names for something unrelated. Just from looking at the names, I first thought they were referring to Windows system settings like the registry, "my documents", desktop, etc.
1 211 Read More
Bug Reports
21/05/19 04:59 AM
If you wrote a program, you would know that asymetric callbacks are messages that arrive in a message queue like an external email, and you have to process who the sender was and all contexts. There's a lot that goes into writing a scripting engine. mIRC is 21+ years old, not an object oriented project, not a dot-net project, everything is hand sewn.
8 425 Read More
Feature Suggestions
19/05/19 10:22 AM
Looking good so far:

Code:
*** Connected securely via TLSv1.3-TLS_AES_256_GCM_SHA384-256
5 1,257 Read More
Bug Reports
18/05/19 07:37 AM
Thanks for your bug report. This is by design. The /list command and channels list dialog are integrated, are essentially the same, and use the same settings. They have worked this way for about twenty years :-)
1 135 Read More
Page 1 of 19 1 2 3 18 19