Author |
Message |
Topic: Recognize / differentiate CMUD pro or basic |
rozdwojeniejazni
Replies: 2
Views: 8498
|
Forum: CMUD General Discussion Posted: Sun Feb 26, 2017 7:27 pm Subject: Recognize / differentiate CMUD pro or basic |
Solution:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<func name="cmudpro" copy="yes">
<value>#if (%null(%url& ... |
Topic: Recognize / differentiate CMUD pro or basic |
rozdwojeniejazni
Replies: 2
Views: 8498
|
Forum: CMUD General Discussion Posted: Sat Feb 25, 2017 6:08 am Subject: Recognize / differentiate CMUD pro or basic |
Hi,
How can I check if the script is running in CMUD Pro version or the regular CMUD? Based on that I could run a more advanced or simplified version of the script. It surely was mentioned in the for ... |
Topic: Help with CMUD text shift |
rozdwojeniejazni
Replies: 7
Views: 10687
|
Forum: CMUD General Discussion Posted: Wed Aug 19, 2015 12:14 pm Subject: Help with CMUD text shift |
Other solution to consider (I think more efficient, and it doesn't mess with actual text from the game) would be shifting with an empty time stamp bar. It's in Preferences - Session - Scrollback, chec ... |
Topic: How to open an Image on Cmud |
rozdwojeniejazni
Replies: 3
Views: 9484
|
Forum: CMUD General Discussion Posted: Tue Jan 06, 2015 10:57 pm Subject: How to open an Image on Cmud |
PNG works fine. Example:
#image "C:\images\forest.png" |
Topic: Need a better way to gag, any suggestions? |
rozdwojeniejazni
Replies: 6
Views: 12684
|
Forum: CMUD General Discussion Posted: Sat Dec 13, 2014 2:31 pm Subject: Need a better way to gag, any suggestions? |
Then maybe =~ operator will be interesting for you. For example
"hasty green goblin" =~ "hasty %w goblin"
will return true. |
Topic: Need a better way to gag, any suggestions? |
rozdwojeniejazni
Replies: 6
Views: 12684
|
Forum: CMUD General Discussion Posted: Fri Dec 12, 2014 3:14 pm Subject: Re: Need a better way to gag, any suggestions? |
Having a trigger that fires on every line will be a bad idea in general. For a simple trigger action (like assigning a value to a variable) the disadvantage may be unnoticeable, but running %ismember ... |
Topic: String Contains Function? |
rozdwojeniejazni
Replies: 1
Views: 5633
|
Forum: CMUD General Discussion Posted: Sun Nov 30, 2014 6:53 pm Subject: String Contains Function? |
Function %pos(substring,string)
%pos("C","ABGHI") = 0
%pos("C","ABCGHI") = 3 |
Topic: #launch issues |
rozdwojeniejazni
Replies: 2
Views: 7814
|
Forum: CMUD General Discussion Posted: Tue Oct 14, 2014 4:15 pm Subject: #launch issues |
Or write it twice: "" to get one double quote inside a string. Like this
%concat( "C:\Program Files (x86)\myprogram\myprogram.exe /p """, %1, """ /m ... |
Topic: Trigger Help! |
rozdwojeniejazni
Replies: 2
Views: 6022
|
Forum: CMUD General Discussion Posted: Thu Sep 11, 2014 7:07 am Subject: Trigger Help! |
Are you aware that =~ operator means pattern matching - not string comparison? Of course the string "Very Good" matches the pattern "Good".
Use = or == instead, as these mean exact string comparing ... |
Topic: Trigger and Parentheses |
rozdwojeniejazni
Replies: 8
Views: 18816
|
Forum: CMUD General Discussion Posted: Mon Aug 18, 2014 6:12 am Subject: Trigger and Parentheses |
Yeah, that's why i wrote about the first capturing group. The second would stay a star like this:
^You still have to kill ~* ([%a ]) ~((*)~)$ |
Topic: Trigger and Parentheses |
rozdwojeniejazni
Replies: 8
Views: 18816
|
Forum: CMUD General Discussion Posted: Sat Aug 16, 2014 7:47 pm Subject: Trigger and Parentheses |
You probably forgot to include a space, right?
But to finally solve your problem: You want the first capturing group NOT to enter into parentheses. You can do this with any of these range patterns ... |
Topic: Trigger and Parentheses |
rozdwojeniejazni
Replies: 8
Views: 18816
|
Forum: CMUD General Discussion Posted: Fri Aug 15, 2014 10:29 pm Subject: Trigger and Parentheses |
Do not use regex. Use what MattLofton suggested. |
Topic: Using the MAP, gmcp and #walk all in one nice package - HEEEELP |
rozdwojeniejazni
Replies: 2
Views: 6446
|
Forum: CMUD General Discussion Posted: Thu Jul 31, 2014 1:26 am Subject: Using the MAP, gmcp and #walk all in one nice package - HEEEELP |
Zone name is returned by %zonename(zonenumber) of course. So current Zone name is
#sh %zonename()
And Zone name by room number
#sh %zonename(%roomzone(12345))
As for the ... |
Topic: Any mathematicians?! |
rozdwojeniejazni
Replies: 3
Views: 8466
|
Forum: CMUD General Discussion Posted: Sun Jul 27, 2014 3:41 pm Subject: Any mathematicians?! |
Check out this:
http://www.wolframalpha.com/input/?i=40+%3D+%28%28%28%28%28800-A%29*267%29*100%29%2F800%29%2F85%29%2B1%2C+find+A |
Topic: SSH |
rozdwojeniejazni
Replies: 3
Views: 8620
|
Forum: CMUD General Discussion Posted: Sun Jul 13, 2014 5:49 pm Subject: SSH |
Could you please explain how exactly this might be helpful? I wasn't able to find there anything related to the question. |
Topic: matching long names from enemy lists |
rozdwojeniejazni
Replies: 6
Views: 11781
|
Forum: CMUD General Discussion Posted: Wed Feb 12, 2014 7:47 am Subject: matching long names from enemy lists |
What about such pattern?
*({@enemylist})* has just entered from the (%w). |
Topic: PSUB madness |
rozdwojeniejazni
Replies: 14
Views: 15544
|
Forum: CMUD General Discussion Posted: Thu Jan 09, 2014 5:56 pm Subject: PSUB madness |
Hi Daern :)
Posting bug reporst? Who cares? Cmud has bugs, we all know it. A lot of them concern subs and colors. But Cmud is also dead for years. :( |
Topic: CMud doesn't support http proxy server?? |
rozdwojeniejazni
Replies: 3
Views: 12315
|
Forum: CMUD General Discussion Posted: Fri Oct 11, 2013 10:36 am Subject: CMud doesn't support http proxy server?? |
Ouch, you are right.
Didn't you try the same trick in cmud? I mean put the same values in these fields? |
Topic: CMud doesn't support http proxy server?? |
rozdwojeniejazni
Replies: 3
Views: 12315
|
Forum: CMUD General Discussion Posted: Sat Oct 05, 2013 1:42 pm Subject: CMud doesn't support http proxy server?? |
Yes, it does support http proxy server.
You can set it up in Preferences - Network - Proxy server under the 'WWW server' label. |
Topic: Triger with #key and Wildcard problem |
rozdwojeniejazni
Replies: 1
Views: 4688
|
Forum: CMUD General Discussion Posted: Sat Oct 05, 2013 1:36 pm Subject: Triger with #key and Wildcard problem |
Put the argument in a local variable:
$kogo = %1
Then replace all %1 with $kogo.
Ale ogólnie radziłbym załatwić konfig na cmuda, albo napisać wszystko od nowa, bo takie przenoszenie zwyk ... |
Topic: Chnage main guage color based upn variable? |
rozdwojeniejazni
Replies: 2
Views: 5902
|
Forum: CMUD General Discussion Posted: Fri Jul 12, 2013 8:38 am Subject: Chnage main guage color based upn variable? |
I think what you want is %btncol function. For a gauge it you can use it like this:
#call %btncol(clerikButton,red,yellow)
or
#call %btncol(clerikButton,$ff0000,$ffff00)
or
#call ... |
Topic: 2 problems I'm trying to fix with CMUD |
rozdwojeniejazni
Replies: 2
Views: 5480
|
Forum: CMUD General Discussion Posted: Sat Jun 29, 2013 8:00 am Subject: 2 problems I'm trying to fix with CMUD |
Second problem is a well known bug. You need to uncheck this option: [Options - General - Macros override menu shortcuts], and macros will work fine. |
Topic: Add a background image to map |
rozdwojeniejazni
Replies: 2
Views: 8177
|
Forum: CMUD General Discussion Posted: Mon Feb 18, 2013 5:07 pm Subject: Re: Add a background image to map |
I see that a feature of CMUD is the ability to add a background image to the maps
Yeah, You see, this is a lie. |
Topic: Alias to create trigger possible? |
rozdwojeniejazni
Replies: 5
Views: 13952
|
Forum: CMUD General Discussion Posted: Thu Feb 14, 2013 4:28 pm Subject: Alias to create trigger possible? |
Oh, so maybe you can explain something I never understood. Why won't this work?
#alias maketrigger {#trigger %-2 %1} |
Topic: Alias to create trigger possible? |
rozdwojeniejazni
Replies: 5
Views: 13952
|
Forum: CMUD General Discussion Posted: Thu Feb 14, 2013 9:00 am Subject: Alias to create trigger possible? |
This will work
#alias maketrigger {#trigger "triggerid" %-2 %1} |
|