• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

AFK plugin

Labamba

New member
Would it be possible to make a plugin that do a simple command like /afk Tell XXX when you enter a new zone? i box alot on my own and on raids and i normaly set the afk manualy on toons i dont pay much attention to but forget it
alot and miss alot of tells due to it, and if the plugin could check like every 10 sec if im in a new zone and then do /afk Tell XXX that would be great. Any input on this is welcome.

PS: i know its pretty easy to make a mac for it but i rather use a plugin as i run alot of different macs depending of what im doing.
 
Thx but no thx ... i rather just use afk thing if its even possible. Guess i should ask: Is anyone able to make a plugin that set /afk tell XXX by a command like /setafk tell XXX and then keep AFK message up even if you zone, would help me alot ,, if no one is then i guess i wasted 15 sec of your life reading this.
 
just made this. use /setzonecmd "/command" to set a command to excecute everytime you zone. if you wanted to do /who everytime you zoned, you would type /setzonecmd "/who", for afk with a message of "go buff yourself", /setzonecmd "/afk go buff yourself".

yes i know you can use a .cfg file to do this, but this is easier to use, because you can do it differently per-instance of eq, and you can mod the command in-game, even though you have to set it everytime you log in, but hey, thats what hotbuttons are for :)

Rich (BB code):
// MQ2Afk 
//
// Author: Raistlin8989 for redguides
//
//



#include "../MQ2Plugin.h"


PreSetup("MQ2Afk");

CHAR zcmd[MAX_STRING]={0};

void setcmd(PSPAWNINFO pChar, PCHAR szLine)
{
	GetArg(zcmd,szLine,1);
	CHAR szMsg[MAX_STRING] = {0}; 
	sprintf(szMsg, "Command set to: %s", zcmd); 
	WriteChatColor(szMsg, CONCOLOR_YELLOW);
}
PLUGIN_API VOID InitializePlugin(VOID)
{
	DebugSpewAlways("Initializing MQ2Afk");
	AddCommand("/setzonecmd",setcmd);
}

PLUGIN_API VOID ShutdownPlugin(VOID)
{
	DebugSpewAlways("Shutting down MQ2Afk");
	RemoveCommand("/setzonecmd");
}
PLUGIN_API VOID SetGameState(DWORD GameState)
{
	if (GameState==GAMESTATE_INGAME) {
    if ((ppCharData) && (pCharData)) {
	CHAR szMsg[MAX_STRING] = {0}; 
	sprintf(szMsg, "Command: %s", zcmd); 
	WriteChatColor(szMsg, CONCOLOR_YELLOW);
	DoCommand(GetCharInfo()->pSpawn,zcmd);
	}
	}
}
 
AFK plugin

Users who are viewing this thread

Back
Top
Cart