Hello all.
Must my script who yes replace text
QuoteThis hub is running PtokaX DC Hub 0.3.6.0 (UpTime: 0 days, 0 hours, 1 minutes)
with other text ?
It cannot be replaced AFAIK.
actually, it can but only partially.
The first part of the sentence is in the language files ;)
Quote
[12:49:58] *** Connecting to 127.0.0.1:411...
[12:49:58] *** Connected
[12:49:58] <PtokaX> Deze hub draait PtokaX DC Hub 0.3.6.0g (UpTime: 0 dagen, 0 uren, 0 minuten)
Either way, there is no reason to change the rest of the message unless the idea is to make it look like you made the hubsoft yourself instead of PPK :P but that is a no go ::)
Thank you.
Now my must script who yes replace +help commands with other commands ?
yes you can do that as well.
If a script runs as top script, and function ChatArrival returns true (new API) / 1 (old API) , other scripts won't process the command (for example +help)
Mind you that textcommands are triggered before scripts, so if you want to avoid textcommands taking over, remove the '+' sign from the hub prefixes as well
hmm... I changed this text with
[08:12:35] <BEPTEP> Welcome to SphinX DC Hub 0.3.6.0 (Saint-Peterburg, Russia, UpTime: 0 дней, 7 часов, 1 минут)
but this of course don't mean that I pretend to show myself as hubsoft author...