I am very new to RAT and I am trying to figure out how to create a couple of custom public chat events for teleporting purposes. Using existing events I've tried figuring out how to accomplish what I'm looking for, but I'm failing to figure out how to manually set a variable value.
The idea is this; when someone enters "!setbase" into chat the event will automatically set a new destination for them called "base" so no one has to worry about managing destination names and it stays consistent. However I am not sure how to manually set the {tele_dest_name} value.
Following this naturally is the need to recall to the players base, which again I've copied an existing rule and tried adjusting slightly to my need.
!setbase
STARTSWITH:!setbase
.ADDTELEPORT
RIVATE
estination Added: {tele_dest_name}, Location: {tele_dest_loc}||You are at the maxium of {tele_dest_max} teleport destinations. Either remove, or overwrite an existing destination.
!base
STARTSWITH:!base
.TELEPORT
RIVATE:Teleporting you to your 'base'||Unable to find destination '{tele_dest_name}'||You must wait {tele_dest_time} minutes between teleports.
The idea is this; when someone enters "!setbase" into chat the event will automatically set a new destination for them called "base" so no one has to worry about managing destination names and it stays consistent. However I am not sure how to manually set the {tele_dest_name} value.
Following this naturally is the need to recall to the players base, which again I've copied an existing rule and tried adjusting slightly to my need.
!setbase
STARTSWITH:!setbase
.ADDTELEPORT


!base
STARTSWITH:!base
.TELEPORT
