Act messages messing with me

  • JTP
  • Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
1 year 4 weeks ago - 1 year 4 weeks ago #7011 by JTP
Act messages messing with me was created by JTP
act("$N suddently gets a wild look in $s eyes!\r\n", FALSE, ch, 0, vict, TO_NOTVICT);


Testchar suddently gets a wild look in his eyes!

$s seems to just make his messages, how do i make it his/her ?

When do i use TRUE instead of FALSE, and some places in the code i see vict, 0, ch ?
Last edit: 1 year 4 weeks ago by JTP.

Please Log in or Create an account to join the conversation.

  • JTP
  • Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
1 year 3 weeks ago #7013 by JTP
Replied by JTP on topic Act messages messing with me
And what is the difference between TO_ROOM and TO_NOTVICT ?

Please Log in or Create an account to join the conversation.

More
1 year 3 weeks ago #7014 by thomas
Replied by thomas on topic Act messages messing with me
There's a lot of things going on in the act() function. So much, in fact, that there's a full doc file about it here: github.com/tbamud/tbamud/blob/master/doc/act.txt

Please Log in or Create an account to join the conversation.

  • JTP
  • Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
1 year 3 weeks ago #7015 by JTP
Replied by JTP on topic Act messages messing with me
Seems $s is his/her

but when i try my skill on a female it still says his ?

Please Log in or Create an account to join the conversation.

More
1 year 3 weeks ago #7016 by thomas
Replied by thomas on topic Act messages messing with me
Did you actually read the file?

$s “his,” “her,”or “it,” depending on the gender of ch.
$S Like $s, for vict_obj.*

So, here you're using $N (which means it's VICT you are getting the name of). The matching possessive pronoun is $S (dollarsign-capital-S). $s refers to the caster (here, ch).

Please Log in or Create an account to join the conversation.

Time to create page: 1.464 seconds