Author Topic: Chat command events  (Read 471 times)

Not sure if possible or not, but by any chance, I think it would be useful to turn the chat commands into events.
FOR EXAMPLE:
onActivate             > Player > textcom > [/wand     ]
onPlayerTouch       > Player > textcom > [/botfight   ]
onMinigameSpawn > Player > textcom > [/hat tophat]
onRelay                 > Player > textcom > [/greenlight ]

Ya' know, stuff like that.
And also to avoid idiots, it should be admin-only.

/discuss
« Last Edit: October 21, 2012, 04:09:37 PM by gr8dayseth »


Why would we need this?
1. for laziness
2. to make others do something that they could do but don't want to type in everytime they spawn

We already have these events, they just aren't in the form of commands.

There are several events, like additem and setweapon, for setting the wand event to the player.

I never used /botfight so i don't know what that does, although we do did have bot events

Hat mod comes with the wearhat event.

/Greenlight, wtf is that?

/Greenlight, wtf is that?

type it ingame and it turns your playerlight green

type it ingame and it turns your playerlight green

In that case, there is already an event, if not a server, mod that lets you set your player light to any light in the server index.

We already have these events, they just aren't in the form of commands.

There are several events, like additem and setweapon, for setting the wand event to the player.

I never used /botfight so i don't know what that does, although we do did have bot events

Hat mod comes with the wearhat event.

/Greenlight, wtf is that?
that isn't what he's talking about; he was giving examples

the event would cause a /cmd to activate by the client.

doing onActivate | Client | textCom | poop
would be identical to the same client doing /poop in chat when you click it

granted this is a bad idea anyway, and here's an example of why

Code: [Select]
onActivate | Self | fireRelay
onRelay | Self | fireRelay
onRelay | Self | VCE_ifVariable | <var:cl:bl_id> | == | 10293
VCE_onVariableTrue | Client | textCom | messageSent aeiouaeiouaeiouaeiouaeiouaeiou
(ignore any VCE errors, haven't messed with it in awhile)

It's possible (and has been done before), it's just a (really) bad idea.

granted this is a bad idea anyway, and here's an example of why

Code: [Select]
onActivate | Self | fireRelay
onRelay | Self | fireRelay
onRelay | Self | VCE_ifVariable | <var:cl:bl_id> | == | 10293
VCE_onVariableTrue | Client | textCom | messageSent aeiouaeiouaeiouaeiouaeiouaeiou
(ignore any VCE errors, haven't messed with it in awhile)

It's possible (and has been done before), it's just a (really) bad idea.
Yeah, you got a point there.
But it would still be an ok idea if the person who was using it wasn't handicapped.
And isn't that how bot events was crap-oned anyway?
« Last Edit: October 21, 2012, 04:56:14 PM by gr8dayseth »

easy way to kick people off the server if they go somewhere
just make them guess the admin password

But it would still be an ok idea if the person who was using it wasn't handicapped.
this is blockland's community we're talking about

if it were to be made, it'd need to be extremely restricted

blacklists for commands and players, SA-only by default, things of the sort

there's no good way to do this really because it can and will be abused regardless

and of course most mods can be abused anyway, but this is one of those cases where the abuse could be so horrendous that it's actually a valid argument

I have an even worse idea let's make an eval event

Yeah, you got a point there.
But it would still be an ok idea if the person who was using it wasn't handicapped.
And isn't that how bot events was crap-oned anyway?

Ya, I still don't get why it was CRC'd.  Lots of other mods, like relays especially, can be easily abused to the same extent as bot events.

Ya, I still don't get why it was CRC'd.  Lots of other mods, like relays especially, can be easily abused to the same extent as bot events.
relays don't crash servers unless you're really trying really loving hard and you have a bunch of different stuff clashing.

and if your computer is stuff.



bots blow up servers as easily as hammering their own spawn.