IPB

Welcome Guest ( Log In | Register )

2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 
Reply to this topicStart new topic
> Auto Detection, For AFK Users
Neco
post Sep 5 2009, 05:00 PM
Post #1


Rookie
*

Group: Members
Posts: 7
Joined: 11-August 09
From: New Zealand
Member No.: 53,346



I was wondering if you could make a plugin that "/whois" a player when his/her name is said and then states whether or not he/she is away (by using the /away command).

Heres a little roleplay to avoid confusion.

-----------------------------------------------------------------------------------------------
<Bot> Fred has joined the channel.
<Fred> neco
Neco is away (Having Dinner BRB)
Neco is in a private channel.

<Bot> Neco is currently unavaliable (Having Dinner BRB).
<Fred> darn, I love this plugin though!
<Bot> Fred has joined a private channel.
-----------------------------------------------------------------------------------------------

I have no experiance in creating bot plugins, so I am unaware if you can make a bot realise a command without having the trigger in front of it.
Could anyone prehaps help me, and/or create the code?

Any assistance will be most appriciated,

Neco
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Sep 5 2009, 08:49 PM
Post #2


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



/getplugin afk

This has the option of adding nicknames to usernames so if someone mentions their name in the channel, the bot will respond with "user is away (reason)"


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Neco
post Sep 5 2009, 09:49 PM
Post #3


Rookie
*

Group: Members
Posts: 7
Joined: 11-August 09
From: New Zealand
Member No.: 53,346



QUOTE(The-Black-Ninja @ Sep 6 2009, 02:49 PM) *

/getplugin afk

This has the option of adding nicknames to usernames so if someone mentions their name in the channel, the bot will respond with "user is away (reason)"


Really? This did not seem to work when I tried it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Sep 5 2009, 11:14 PM
Post #4


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



Could you post a log please? Just so I can see what I might have to fix when I convert this for 2.7.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Neco
post Sep 6 2009, 12:54 AM
Post #5


Rookie
*

Group: Members
Posts: 7
Joined: 11-August 09
From: New Zealand
Member No.: 53,346



Nevermind, I found out how to use it.

Had an outdated version O.o
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
PhiX
post Sep 6 2009, 07:22 AM
Post #6


Notice the ownage.
********

Group: Global Moderators
Posts: 10,862
Joined: 15-January 07
From: GeRmAnY (GMT +1:00)
Member No.: 16,204



The AFK plugin only monitors users in the bot's channel. So if you are looking for a plugin that does exactly what you want, you would have to request it being made for you in the Script Creation Requests forum. It's definitely possible with a plugin. But I doubt it's possible without using an actual command. The bot can't know if you're just chatting or if you want it to look up a name. (If you came into the channel saying "hello", the bot would "/whois hello" for instance.)

Does the AFK plugin suit your needs already?


--------------------
PhiX
--------------------
I do not provide support via PM or IM, please use the forums.
SBs Help Tool - Please only double click my name if I told you to do so.
--------------------

Whore of Clan BoT

JBLS: phix.no-ip.org (click for stats) IPB Image
--------------------
QUOTE(Clan BoT)
[20:33:50.063] <[email protected]> I'm not showing any respect to a bunch of script kiddie faggots.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Neco
post Sep 6 2009, 09:39 PM
Post #7


Rookie
*

Group: Members
Posts: 7
Joined: 11-August 09
From: New Zealand
Member No.: 53,346



It does, although is case sensitive. Ill take this up with the scripts creator through PM.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Sep 6 2009, 09:46 PM
Post #8


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



You won't be able to find him, he's kind of inactive. I'm upgrading it for 2.7 anyway.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 20th October 2019 - 03:16 PM
Skin by Andrea
Website Legal Information | Hosted by LunarPages