Poll

Like this?

OMG COOL
Hmm, that's nice
So useful I'm gonna use
Dafuq is this?
I don't get it?

Author Topic: Cmd triggered events. [V2.5!]  (Read 10896 times)

didn't see anything about adding a VCE value for the last commands parameters
it'd be useful to have a <var:cl:lastcmd(1-18)> to check for values the command also has with it
/quack 5 10 6
would make the last command called be quack and <var:cl:lastcmd1> be 5, <var:cl:lastcmd2> be 10, and <var:cl:lastcmd3> be 6
It will come with the next update.
Updated script stopped working for no reason.
Gonna
fixed.

Btw, it HAS to be /eventcmd(or whatever) [Command Name] {Params}

Additional parameters other than the comand name will be saved to <var:cl:ceparam[1-5]>.
Can then be checked and done stuff with with VCE.
You check them with Client | ifValue [...].
They get erased once the client enters a new command, no matter whether he put parameters.
« Last Edit: August 03, 2012, 01:04:56 PM by Mold »

This sounds slightly abusable


UPDATE!
New stuff:
-Distance restriction
-Additional parameters (see OP)

Removed stuff:
-Nothing

Fixed stuff:
-You can now change function name and change it back
-You can't do onCmdCalled - Self - ifCmd loops anymore Nope

New download:
Finally released on RTB!
DOWNLOAD on RTB
« Last Edit: August 04, 2012, 04:41:07 PM by Mold »

Excellent job! Here's a cookie for you.  :cookie:


Is distance an RTB Pref or evented?

Is distance an RTB Pref or evented?
Restriction in ifCmd event.

Update submitted to rtb...
Cmon ephi, approve it already!

Anyone else notice the error?
Oops. Lol.

Typed that on my kindle. So.

Lines are numbered wrong.

Oops. Lol.

Typed that on my kindle. So.

Lines are numbered wrong.

Yup.
Restriction in ifCmd event.

Sweet.

Seems nice, I'll have to try it out.



Superbump.
Expect an update soon, coming with the ability of creating more than one function easily,
And the ability to check which function was called + the cmd name, so /help hammer can do something different than /buy hammer.
Also bug fixes and some other stuff.


Also preventing onCmdCalled Self ifCmd loops finally works

Also you can toggle via RtB pref whether once someone has 'registered' /alias cmdname someone else can use the same combination or not. This prevents noobs to destroy someones whatever with kill events.
« Last Edit: August 29, 2012, 06:36:43 PM by Mold »