Page 1 of 1

Could u add Whisper

Posted: Sun Feb 28, 2010 10:15 pm
by Uniden65
Could u add Whispers to the default ......like a code that if u get so many Whispers in game then log off

Code: Select all

		-- Whisper Counts
		cprintf(cli.green, language[180],	-- Max Whispers Log 
		   player.Max_whisper, settings.profile.options.MAX_WHISPERS);
				
		-- check max Whispers
		if( player.Max_whisper > settings.profile.options.MAX_WHISPERS ) then
			cprintf(cli.yellow, language[180], player.max_whisper, 
			  settings.profile.options.MAX_WHISPERS );	-- to many whispers
			player:logout();
		end
Something on that grounds, this way if you are gone and a gm whispers u ....u auto logoff the game ...even if a gm does not u still logoff based on what your whispers Value is set to in default

Code: Select all

		<option name="MAX_WHISPERS" value="10" /> <!-- Log out after this many Whispers -->
and it would be nice to be-able to not use it also. Something to think about .....I could more then likely do the code for it but since i don t know your work and its your work ....what do u think ?

Re: Could u add Whisper

Posted: Sun Feb 28, 2010 11:54 pm
by Administrator
This should be done with an addon. It would be the only (good) way to detect when you get a whisper message.

Re: Could u add Whisper

Posted: Fri Mar 05, 2010 9:13 am
by muffins89
Does this work? Or is it already added into the files?

If not is there any way to make this work? Would be sweet!!!!