userFunction Deny party whisper

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Post Reply
Message
Author
justAnub
Posts: 14
Joined: Thu Sep 01, 2011 3:30 pm

userFunction Deny party whisper

#1 Post by justAnub » Sun Sep 09, 2012 8:26 am

Created a small userfunction for when you running a mems bot like DoD farm or GC easy that when you get whisperd if they can join youre pt the bot replies pt is full or when a guildie or anyone else whispers to you it will reply that youre busy atm and wil come back to them in a while.

inside the userFunction is a section called: partyTexts here you can setup the words it gonna react on for party invites

Code: Select all

partyTexts = Set {"invite","mems","pt","party","join","space","inv"}
There are two tables of reaction
1st:Party reactions

Code: Select all

DenyResponseTable = {
		[1] = "Sorry, party is full atm",
		[2] = "Im trying something, maybe later",
		[3] = "when there is space ill let you know",
		[4] = "Just getting a few mems then im off",
		[5] = "sry m8, no spot free",
		[6] = "i wil invite you when there is a spot",
	} 
2nd:Other

Code: Select all

ResponseTable = {
		[1] = "Busy atm",
		[2] = "Sry i dont have time",
		[3] = "Can you whisper me later again, im busy atm",
		[4] = "Testing some stuff ill /w back in a few",
	}
setup:
add this to you're onload section of you're way-point

Code: Select all

startDenyPartyWhisper()

These can be setup just like Lisa gm detection, because this is offcourse stolen for like 99% from Lisa ;)

prob could use some tweaking here and there but i didnt have any prob till now running it
Attachments
userfunction_denyPartyWhisper.lua
copy this to youre userfunction folder inside rombot folder
(2.16 KiB) Downloaded 163 times
don't comment on my language im not english, just trying to make myself understood.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: userFunction Deny party whisper

#2 Post by lisa » Mon Sep 10, 2012 3:58 am

justAnub wrote:because this is offcourse stolen for like 99% from Lisa
made me lol ;)
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest