Passing Parameters #1

Open
opened 3 years ago by Jinx · 1 comments
Jinx commented 3 years ago

Hello. I hope I found the correct place to put this.

I was wondering how difficult it would be to edit this to allow passing following parameters? E.g. "/onevent addp !magic|/magic" so that "/tell Player !magic Cure Player2" would work. ("addp" being used to allow backward compatibility / avoid possible exploits)

Better yet, a system with basic placeholders (and maybe variables, such as $player) could be used, so that one could do "/tell Player !magic Cure" and it could be parsed with "/onevent addp !magic|/magic $params $player", or "/tell Player !say Hello!" could be parsed with "/onevent addp !say|/say $params".

I realize this probably isn't a priority for anyone at this point, but thought I'd share the suggestion anyway.

Thanks.

Hello. I hope I found the correct place to put this. I was wondering how difficult it would be to edit this to allow passing following parameters? E.g. "/onevent addp !magic|/magic" so that "/tell Player !magic Cure Player2" would work. ("addp" being used to allow backward compatibility / avoid possible exploits) Better yet, a system with basic placeholders (and maybe variables, such as $player) could be used, so that one could do "/tell Player !magic Cure" and it could be parsed with "/onevent addp !magic|/magic $params $player", or "/tell Player !say Hello!" could be parsed with "/onevent addp !say|/say $params". I realize this probably isn't a priority for anyone at this point, but thought I'd share the suggestion anyway. Thanks.
Owner

It is pretty unlikely that this addon will see new features/changes as it is made by someone else that is no longer active. We just up-ported it to the various versions of Ashita, but we don't directly continue the development of it. A lot of people that have come to make use of it wouldn't really be up for having the default functionality change either.

Your suggestions would probably be better suited in a new addon and done differently to not have to deal with the limitations of OnEvent as it is now.

It is pretty unlikely that this addon will see new features/changes as it is made by someone else that is no longer active. We just up-ported it to the various versions of Ashita, but we don't directly continue the development of it. A lot of people that have come to make use of it wouldn't really be up for having the default functionality change either. Your suggestions would probably be better suited in a new addon and done differently to not have to deal with the limitations of OnEvent as it is now.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.