Welcome to the Builder Academy

Question Trigger of the Day - Spying

More
11 Apr 2014 17:26 - 12 Apr 2014 00:30 #4827 by Rumble
These are interesting examples that can be used creatively... or abused :-p They were originally made for a zone that included a security room with video (just %at% <vnum> %force% %actor% look) and voice monitors to other rooms so a player could look and hear what was in another room. This could also be used to hear through walls, etc.
Code:
Name: 'AT Example', VNum: [ 19], RNum: [ 19] Trigger Intended Assignment: Rooms Trigger Type: Random , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy builderacademy.net 9091 %at% 33 %echo% at'd to a room %at% Rumble %echo% at'd to Rumble Name: 'Rumble's Spy', VNum: [ 20], RNum: [ 20] Trigger Intended Assignment: Mobiles Trigger Type: Speech , Numeric Arg: 100, Arg list: * Commands: * By Rumble of The Builder Academy builderacademy.net 9091 * Arguments: * means all speech will trigger this. * This will echo all speech to Rumble. %at% rumble %echo% %actor.name% says, '%speech%'
If this was helpful please vote or leave a review for TBA.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com
Last edit: 12 Apr 2014 00:30 by Rumble.

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

More
12 Apr 2014 00:17 #4828 by Parnassus
Parna's Watch List:

I was pondering letting these ones go because they're very basic. Rumble's comments pretty much say what there is to say about these. However, I hated to miss a TotD so soon after starting Parna's watch list so I thought I'd drop a few comments.

What's with the comments about wait? There is no wait there and is it possible to fire before the player enters the room anyway?

If you use that first one, make sure to adjust it to have some sort of meaning. This one is just a really basic demonstration of %at% (exactly as it says it is). It's not spying on anything or anyone, it's not giving any information. As long as it's running, it will just keep spamming room 33 with the message:
at'd to a room
at'd to a room
...
and spamming Rumble with the message:
at'd to Rumble
at'd to Rumble
...
In fact, if Rumble is in room 33, he'll get double-spammed:
at'd to a room
at'd to Rumble
at'd to a room
at'd to Rumble
...

Rumble, doesn't this make you at all nervous?

The second one is a bit more fun and a bit more useful (to use or abuse, as Rumble says). Note the variables which tell Rumble who is saying what in front of this mob. Again, the wait comment doesn't seem to mean anything. If Rumble isn't on the mud at the time, though, you'll see an error message whenever anyone says anything in the same room as the mob. You'll get the same error messages with the first one (and a lot more of them!) although the %at% 33 will work as long as there's a room 33, no matter if it's empty, or if there's a mob and/or a player in the room.

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

More
12 Apr 2014 00:30 #4829 by Rumble
Replied by Rumble on topic Trigger of the Day - Spying
You are correct, the wait comments are not required. Updated, thanks.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

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

Time to create page: 0.180 seconds