Quote:
Originally Posted by VBDev
That mean users have to go edit a phrase to edit the command syntax ?
For the slap that won't work as is in the next version as I implemented the possibility to add multiple slap sentences.
Your kiss command is interesting, I might implement that.
|
I had actually added it as a vboptions then thought it would be better to use a phrase.
I simply created the phrase using the same setting name and replaced the call with
$text = construct_phrase($vbphrase['
mgc_cb_evo_cmd_slap_phrase'], $user['username'], $chat['text']);
So all you would have to do would be to create the phrase if you are adding extra settings
I love the fact that when you switch language the command that was already sent also changes.
in English: userXX sends a kiss to YY
and switch language it displays
userXX envoie un bisou ? YY
If you are adding the slaps dynamically you could always insert the phrase like they do in notices, using slap_{slapid}_html.
If it's extra vBoptions then you already know the name