Register to post in forums, or Log in to your existing account
 
:
Search found 38 matches for:
Page 1 of 2 Goto page 1, 2  Next
Author Message
  Topic: russian character set
fhqwhgad

Replies: 2
Views: 4521

PostForum: CMUD General Discussion   Posted: Wed Jan 09, 2008 6:30 am   Subject: russian character set
Hm, you are right. Mine actually works aswell (with the text i showed), but if i paste something like болезнь, it turns into ????.
I guess that will be multi ...
  Topic: russian character set
fhqwhgad

Replies: 2
Views: 4521

PostForum: CMUD General Discussion   Posted: Tue Jan 08, 2008 4:01 pm   Subject: russian character set
How do i get to use russian letters? like : "Наверно думает что это мат"
I can easily see when others write them, but if i try to paste them in cmud, it becomes ?????????
  Topic: variables and how to add them together
fhqwhgad

Replies: 2
Views: 4372

PostForum: CMUD General Discussion   Posted: Sat Dec 22, 2007 6:02 pm   Subject: variables and how to add them together
You need to assign the variable correctly. zMUD was lazy about allowing
@var = value
when it should be
var = value

CMUD is more strict

The following should work
#ALIAS dig {room = @roo ...
  Topic: variables and how to add them together
fhqwhgad

Replies: 2
Views: 4372

PostForum: CMUD General Discussion   Posted: Sat Dec 22, 2007 3:01 pm   Subject: variables and how to add them together
Hi,
When building, i am getting alittle sick of "south dig 1234;south". Instead i would like to combine it in a simple south command. However, i would like it to automaticly add 1 to the number every ...
  Topic: manipulating captured text
fhqwhgad

Replies: 9
Views: 10291

PostForum: CMUD General Discussion   Posted: Sat Dec 15, 2007 8:01 pm   Subject: manipulating captured text
It is possible but why do it? Cmud

Ooooh thank you! That certainly made things alot easier.
  Topic: manipulating captured text
fhqwhgad

Replies: 9
Views: 10291

PostForum: CMUD General Discussion   Posted: Sat Dec 15, 2007 7:36 pm   Subject: manipulating captured text
A more difficult problem. You'll probably want to use an ANSI trigger where you capture whatever colour the line is and then put your own ANSI code (not using ANSI) back in later.
I think this is get ...
  Topic: manipulating captured text
fhqwhgad

Replies: 9
Views: 10291

PostForum: CMUD General Discussion   Posted: Sat Dec 15, 2007 6:53 pm   Subject: manipulating captured text
#Window is the way then. But if i assign a colour to the first part of my line, how do i tell it to change the remaining to whatever colour the mud sends?
The string is "Someone tells you 'whatever'" ...
  Topic: stop executing scipt if var is higher then
fhqwhgad

Replies: 4
Views: 5844

PostForum: CMUD General Discussion   Posted: Sat Dec 15, 2007 6:14 pm   Subject: stop executing scipt if var is higher then
Turns out #break is a good thing to use here :)
  Topic: stop executing scipt if var is higher then
fhqwhgad

Replies: 4
Views: 5844

PostForum: CMUD General Discussion   Posted: Sat Dec 15, 2007 5:44 pm   Subject: stop executing scipt if var is higher then
Didn't think of that. Anywhere here it is. It is in an alias.
$roomnum = 100603;
#show Monsters program started..
#loop %1 {
#wait 500;
goto $roomnum;
$roomnum = $roomnum + %random(1,7& ...
  Topic: manipulating captured text
fhqwhgad

Replies: 9
Views: 10291

PostForum: CMUD General Discussion   Posted: Sat Dec 15, 2007 5:22 pm   Subject: manipulating captured text
I got a #cap on tells to my chatwindow, but i'd like to manipulate the string it sends to the chat window. How do i do that? As it is now, it just writes my triggered line to my chatwindow.
What i wo ...
  Topic: stop executing scipt if var is higher then
fhqwhgad

Replies: 4
Views: 5844

PostForum: CMUD General Discussion   Posted: Sat Dec 15, 2007 4:18 pm   Subject: stop executing scipt if var is higher then
hi,
I need to stop executing my script when $roomnum is higher then 85.
I tried #if ($roomnum > 85) {#abort} with no success.
  Topic: trigger patterns
fhqwhgad

Replies: 3
Views: 4682

PostForum: CMUD General Discussion   Posted: Wed Dec 12, 2007 10:13 am   Subject: trigger patterns
This is what i want to trigger on:
Fhqwhgad tells you 'hello there'
My trigger looks like this: %w tells you '*'
It works great and all, however it isn't as picky as i'd like. It triggers even if s ...
  Topic: pause in loop and printing an eval to the mud
fhqwhgad

Replies: 4
Views: 5879

PostForum: CMUD General Discussion   Posted: Wed Dec 12, 2007 10:05 am   Subject: pause in loop and printing an eval to the mud
As for the Eval. What are you trying to accomplish?

The simplest answer is.

#send {%eval("5+1")}
I was trying to send a bunch of arrays. I just thought i had to comb ...
  Topic: pause in loop and printing an eval to the mud
fhqwhgad

Replies: 4
Views: 5879

PostForum: CMUD General Discussion   Posted: Tue Dec 11, 2007 4:25 pm   Subject: pause in loop and printing an eval to the mud
This code is the simplest way to accomplish what you are talking about. The wait is half a second.

#loop 5 {work hard;earn money;be happy;#wait 500}

It would be discouraged in Zmud tho ...
  Topic: pause in loop and printing an eval to the mud
fhqwhgad

Replies: 4
Views: 5879

PostForum: CMUD General Discussion   Posted: Tue Dec 11, 2007 3:56 pm   Subject: pause in loop and printing an eval to the mud
Hi,
If i make a loop 5 {whatever}, can i make it pause for a few miliseconds after each loop?

Also, if i combine alot of expresions in an eval, how do i print it to the mud, not just to my own scr ...
  Topic: array in cmud
fhqwhgad

Replies: 2
Views: 5197

PostForum: CMUD General Discussion   Posted: Tue Dec 11, 2007 2:17 pm   Subject: array in cmud
#var a {1|2|3|4|5}
#SHOW @A.3

This is called a string list. To add things to it you would use
Thank you.
  Topic: array in cmud
fhqwhgad

Replies: 2
Views: 5197

PostForum: CMUD General Discussion   Posted: Tue Dec 11, 2007 1:50 pm   Subject: array in cmud
Hi,
I'm trying to create an array of values to call in a script, but i'm not entirely sure how to do it, and i don't really get the helps. I'm not sure array is what i want it to be, in Cmud.

Basi ...
  Topic: capture tells to seperate window
fhqwhgad

Replies: 5
Views: 18835

PostForum: zMUD General Discussion   Posted: Wed Nov 28, 2007 10:20 pm   Subject: capture tells to seperate window
so if i use capture, will it create a window when it triggers the first time or what?
Or do i need to create a window first with the #window command?
  Topic: capture tells to seperate window
fhqwhgad

Replies: 5
Views: 18835

PostForum: zMUD General Discussion   Posted: Wed Nov 28, 2007 8:50 pm   Subject: capture tells to seperate window
Hi,
How do i create a "chat" window in zmud? to send tells with the #capture command.
  Topic: trigger to change colour of all buttons
fhqwhgad

Replies: 6
Views: 7312

PostForum: zMUD General Discussion   Posted: Tue Nov 27, 2007 6:43 pm   Subject: trigger to change colour of all buttons
Since it's an alias you just use the name, i.e. 'ColorBtns'. #CALL is used for calling functions.
Thank you.
  Topic: trigger to change colour of all buttons
fhqwhgad

Replies: 6
Views: 7312

PostForum: zMUD General Discussion   Posted: Tue Nov 27, 2007 6:30 pm   Subject: trigger to change colour of all buttons
You have to use multiple %btncol calls. You could use a #FORALL loop to do it. You can put them all into an alias and then call the alias from multiple locations. Also you should use #CALL instead ...
  Topic: trigger to change colour of all buttons
fhqwhgad

Replies: 6
Views: 7312

PostForum: zMUD General Discussion   Posted: Fri Nov 23, 2007 2:23 pm   Subject: trigger to change colour of all buttons
You have to use multiple %btncol calls. You could use a #FORALL loop to do it. You can put them all into an alias and then call the alias from multiple locations. Also you should use #CALL instead ...
  Topic: trigger to change colour of all buttons
fhqwhgad

Replies: 6
Views: 7312

PostForum: zMUD General Discussion   Posted: Fri Nov 23, 2007 8:34 am   Subject: trigger to change colour of all buttons
I'm using a trigger to change the colour of buff-labeled buttons. That way i can tell what buffs i've got on, based on the colours.
I currenltly use this when the buff is applied: #NOOP %btncol( btna ...
  Topic: making an alias that has no space after the trigger.
fhqwhgad

Replies: 2
Views: 3944

PostForum: zMUD General Discussion   Posted: Thu Nov 15, 2007 10:58 am   Subject: making an alias that has no space after the trigger.
Thank you!
I'll give it a go as soon as i get home.
  Topic: making an alias that has no space after the trigger.
fhqwhgad

Replies: 2
Views: 3944

PostForum: zMUD General Discussion   Posted: Thu Nov 15, 2007 10:32 am   Subject: making an alias that has no space after the trigger.
Basicly i got used to being able to type 'hello instead of say hello. This is why i would like to be able to make an alias that picks up everything after my ' character, and echoes say <whatever wa ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net