Welcome to the Builder Academy

Question set a variable to a specific room

More
30 Sep 2024 15:41 #10429 by zi
I'm in room 100 and my trigger (just a simple snippet here):

set testvar = 1
global testvar

will set testvar to a room with a value of 1 to room 100.

BUT 

How would I set testvar to a value of 1 in room 3000 when the trigger is in room 100?

Thanks!

_,.-'~'-.,__,.-'~'-.,__,.-'~'-.,__,.-'~'-.,_
Making 3M Great Again!
telnet://3m.funcity.org:3000
_,.-'~'-.,__,.-'~'-.,__,.-'~'-.,__,.-'~'-.,_

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

More
01 Oct 2024 20:57 #10430 by thomas
Wow, that took a little while to remember:
Code:
set localvar foo set targetroom 1234 remote localvar %targetroom.id%
Note that you need to put the room number in a variable, or it won't work.
The following user(s) said Thank You: zi

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

Time to create page: 0.200 seconds