Forum

> > CS2D > Scripts > I want to disable a command in TIBIA RPG
Forums overviewCS2D overview Scripts overviewLog in to reply

English I want to disable a command in TIBIA RPG

2 replies
To the start Previous 1 Next To the start

old I want to disable a command in TIBIA RPG

ead
User Off Offline

Quote
Good created a server TIBIA RPG though, when a person speaks using "@C" depos typing some words appears for all to read and want to take it, what should I do?

1
Example: Hello @C

old Re: I want to disable a command in TIBIA RPG

_Yank
User Off Offline

Quote
Please leave translators, or at least don't use it to translate whole sentences...
Anyway, you gotta edit the say hook of the script. First, check wether the message contains "@C" or not (string.find function should be your best solution). Then, if so, remove it before entering the message.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview