Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) > Help with scripts

Help to alter please a script that the script used a command from other script.

(1/1)

F_O_X:
Help to alter please a script that the script used a command from other script.
There are two working scripts.
The first - blocking of bad words. The second - Gag on IP.
Now in blocking bad words such sequence:
For each bad word the warning, after 10 warnings the user receives Kick, after 3 kicks Ban
It is necessary to insert from the second script between Kick and Ban a command gagip
I.e. Gag at 1 o'clock
In the menu of the user of script Gag on IP this line looks so:

--- Code: ---Core.SendToNick(user.sNick,"$UserCommand 1 2 "..GagStartMenu.."\\?????????\\IP\\??????\\?? 1 ???$<%[mynick]> "..prefix..add_gag_ip.." %[line:IP?] 1 1H %[line:??????? ???????]&#124;|")
--- End code ---
How it can be made?

Navigation

[0] Message Index

Go to full version