Register to post in forums, or Log in to your existing account
 
:
Search found 10 matches for:
Page 1 of 1
Author Message
  Topic: database help
Xiija

Replies: 1
Views: 577

PostForum: zMUD General Discussion   Posted: Tue Jul 11, 2023 4:51 pm   Subject: database help
just looking for a basic example of using a database.
the help files, ... didn't help.

i made a db called magitems with 2 fields.. name & val

i made a simple alias to try and set it.

#e ...
  Topic: basic expression help
Xiija

Replies: 1
Views: 2099

PostForum: zMUD General Discussion   Posted: Wed Nov 17, 2021 4:23 pm   Subject: basic expression help
this is returning "less than" .. why plz?

#if ( 1 > 0 ) {#say greater} {#say less than}

i have even tried

#if ( (1 > 0) ) {#say greater} {#say less than}

ETA:

apparently zmud hate ...
  Topic: Send e-mail from Zmud without an e-mail client
Xiija

Replies: 48
Views: 129467

PostForum: Finished MUD Scripts   Posted: Tue Mar 02, 2021 10:59 pm   Subject: Send e-mail from Zmud without an e-mail client
Just wondering if anyone can still use this?
i try and gmail just blocks me, even tho i have " use less secure" enabled..

https://www.google.com/settings/security/lesssecureapps
  Topic: coloring words sent to another window
Xiija

Replies: 2
Views: 5495

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: 5495

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: 6698

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: 6698

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: 10265

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: 10265

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: 10265

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