Lineage 2 Tower Forum

Full Version: Pause in all windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is it possible to turn "pause" state in all windows simultaneously ? Confused

cant find answer(

ty.
I think you can take control of bots by command.
Something like this:
http://forum.l2tower.eu/thread-free-one-...-exit-game
All your bots must be in the same clan, and when you type @pauseL2Twtheck or something like that, the magic happens Smile
i would recommend another scheme:
make a plugin, that checks every 1 second if file pause.txt is exist in l2tower folder and pause bot, if file is exist, and continue if file is absent.

and make commands like /pauseall and /continueall, first will create that file, second will delete it.

if you make such plugin, no need to have all your chars in same clan.

i could make that plugin, but plugin is very easy and i'm very lazy Smile
umh, the Ker's will work ^_^
Or you can use my method without clan stuff by defining a list of bots' names. Then chat (pm) pauseL2Twtheck to all of those bots. It will work also.
PS: I'm lazy too Big Grin
ty for ideas! i will check it tomorrow
(01-11-2014 17:49 PM)SimonHM Wrote: [ -> ]I think you can take control of bots by command.
Something like this:
http://forum.l2tower.eu/thread-free-one-...-exit-game
All your bots must be in the same clan, and when you type @pauseL2Twtheck or something like that, the magic happens Smile

tyvm, its good solutions! +1 rep (can't give more)

start/stop work perfect... but how make plugin with functional:

- start combat & stop following -- by chat command
- stop combat & start following only -- by chat command
- run script once -- by chat command

?

if u can - please, make some examples Confused


now plugin is:

    LUA Programming
MessageToStart = "msg1"; -- Note: lowercase letters
MessageToStop = "msg2"; -- Note: lowercase letters
 
function OnChatUserMessage(chatType, nick, msg)
	Message = string.gsub(string.lower(msg)," ","");
	-- start functions
	if (Message == MessageToStart) then
 SetPause(false);
	end;
	-- stop functions
	if (Message == MessageToStop) then
 SetPause(true);
	end;
end;

Reference URL's