|
Kurt_DH Wanderer
Joined: 26 Oct 2000 Posts: 62
|
Posted: Fri Feb 07, 2003 3:45 am
Question |
Is there a way to replace a certain word with another word in ALL of your triggers? For example, if there was a "slash" command in the game, and I had a LOT of triggers and aliases with the slash command in them, and then the administrators changed the slash command to "hack"..would I be able to change all the "slash" commands into "hack" commands without having to edit every single setting? If this isn't possible, maybe I could suggest it?
-Kurt |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Feb 07, 2003 4:17 am |
quote:
Is there a way to replace a certain word with another word in ALL of your triggers? For example, if there was a "slash" command in the game, and I had a LOT of triggers and aliases with the slash command in them, and then the administrators changed the slash command to "hack"..would I be able to change all the "slash" commands into "hack" commands without having to edit every single setting? If this isn't possible, maybe I could suggest it?
-Kurt
This depends entirely on how exactly you wrote the triggers. If slash and hack were part of a common variable portion of text and you had that portion kept in a variable, then you'd need only edit the variable and everything using that variable would be updated.
If all you are worried about are slash commands sent to the mud, perhaps you can use a trigger that subs hack for slash:
#trigger {slash} {#sub {hack}}
li'l shmoe of Dragon's Gate MUD |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Feb 07, 2003 4:54 am |
You can also export all of your settings to a text file, use a text editor to do a global search and replace on the text and the reimport the settings back.
Kjata |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|