Register to post in forums, or Log in to your existing account
 
:
Search found 7 matches for:
Page 1 of 1
Author Message
  Topic: coloring words sent to another window
Xiija

Replies: 2
Views: 648

PostForum: zMUD General Discussion   Posted: Wed Mar 25, 2020 4:09 pm   Subject: coloring words sent to another window
Tysm :)

it was very close, yours didn't recolor the group window text, but this did...

#IF (%3<70) {memb=%concat( @memb, " %ansi(high,green)- HP: %ansi(high,red)%3 ")} {memb=%concat( @memb, " ...
  Topic: coloring words sent to another window
Xiija

Replies: 2
Views: 648

PostForum: zMUD General Discussion   Posted: Tue Mar 24, 2020 11:33 pm   Subject: coloring words sent to another window
I have a trigger to get my group's hp & stam

(%w)(*)Health: (%d)%.(*)Stamina: (%d)%.

i send it to the group window like so

@memb = %1
:group: @memb %3 %5

works good but all the text ...
  Topic: help with string capture
Xiija

Replies: 3
Views: 1436

PostForum: zMUD General Discussion   Posted: Tue Aug 13, 2019 5:21 pm   Subject: help with string capture
I was trying that.. got a weird result tho?

line from mud: Valid NPC targets here: cat effigy, monster, wisp bog gas.

captured: cat effigy, monster, wisp bog gas
result: cat effigy

if I do ...
  Topic: help with string capture
Xiija

Replies: 3
Views: 1436

PostForum: zMUD General Discussion   Posted: Tue Aug 13, 2019 1:11 pm   Subject: help with string capture
I have a trigger i can't capture because it has multiple alternatives.

Valid NPC targets here: monster.
Valid NPC targets here: cat effigy.
Valid NPC targets here: cat effigy, monster, wisp bo ...
  Topic: logical not syntax
Xiija

Replies: 6
Views: 4451

PostForum: zMUD General Discussion   Posted: Wed Apr 25, 2018 6:31 pm   Subject: logical not syntax
tried that, no go :(
i guess it's not possible in zmud?

i just did this...

#IF (@bsong = 1) {@bsong = 0} {@bsong = 1}
#ECHO Bloodsong: @bsong
  Topic: logical not syntax
Xiija

Replies: 6
Views: 4451

PostForum: zMUD General Discussion   Posted: Tue Apr 24, 2018 5:40 am   Subject: .
( tried your idea, didn't work :( ... )
was just trying to do a basic math thing like in most programming languages...

var a = 0
a = !a
( now a is equal to 1 )
a = !a
( now a is equal to 0 ...
  Topic: logical not syntax
Xiija

Replies: 6
Views: 4451

PostForum: zMUD General Discussion   Posted: Tue Apr 24, 2018 3:52 am   Subject: logical not syntax
cast bloodsong
{@bsong = !(@bsong)}
#echo Bloodsong: @bsong

also tried
@bsong = !(@bsong)
@bsong = !@bsong

none of these work,
can i use a not operator in zmud?
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net