Author |
Message |
Topic: #IF statement |
Leo
Replies: 5
Views: 2330
|
Forum: zMUD General Discussion Posted: Tue Dec 10, 2002 5:36 pm Subject: #IF statement |
Woohoo! Got it to work with a slight modification. Instead of trying to match a string I just created a boolean variable that is true when wielding a sword and false otherwise.
That works perfectl ... |
Topic: #IF statement |
Leo
Replies: 5
Views: 2330
|
Forum: zMUD General Discussion Posted: Tue Dec 10, 2002 5:26 pm Subject: #IF statement |
Ah thanks, that's got the capturing working right. Still can't quite get the red part to be true though.
Leo
|
Topic: #IF statement |
Leo
Replies: 5
Views: 2330
|
Forum: zMUD General Discussion Posted: Tue Dec 10, 2002 9:58 am Subject: #IF statement |
still having problems, looking at the condition values it seems to refuse to match up even when I know that the value of left or right is 'a broad sword'.
#if (({@left} = "a broad sword") ... |
Topic: #IF statement |
Leo
Replies: 5
Views: 2330
|
Forum: zMUD General Discussion Posted: Mon Dec 09, 2002 9:15 pm Subject: #IF statement |
This is the alias i'm trying to use when I attack.
#alias sj {#if ({@left|@right} = "a broad sword") {sjab @target} {wieldss;sjab @target}}
now it's supposed to do sjab @target if I do ... |
Topic: window focus and other things... |
Leo
Replies: 6
Views: 2904
|
Forum: zMUD General Discussion Posted: Sun Nov 24, 2002 9:45 pm Subject: window focus and other things... |
This :windowname: has gotten me a little stumped as the way it works is different to #cap, and as such i've not quite worked out how to get it to duplicate the #TRIGGER {*} {#cap @Cap;#gag} "Cap& ... |
Topic: window focus and other things... |
Leo
Replies: 6
Views: 2904
|
Forum: zMUD General Discussion Posted: Thu Nov 21, 2002 9:44 pm Subject: window focus and other things... |
I think it's possible my problem is attempting to use :@cap: in the trigger? Is it possible to use a variable like that?
The only other problem I can think of is that :windowname: won't open a new ... |
Topic: window focus and other things... |
Leo
Replies: 6
Views: 2904
|
Forum: zMUD General Discussion Posted: Wed Nov 20, 2002 6:31 pm Subject: window focus and other things... |
I'm afraid i'm not really sure how the :windowname: and mainwindow: commands work.
I tried simply swapping #Cap for :windowname: doesn't appear to work, and am not really sure how to fiddle the co ... |
Topic: window focus and other things... |
Leo
Replies: 6
Views: 2904
|
Forum: zMUD General Discussion Posted: Tue Nov 19, 2002 9:53 pm Subject: window focus and other things... |
Currently I am capturing tells, channel communications and shouts and then redirecting them to four different windows. Firstly, I have the problem that if i'm typing when the text is captured I lose t ... |
|