• 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

Question - Utility/Script that shuts eq off ? (1 Viewer)

Just make a Lua script. Something like this should do the trick.

wait.lua
Lua:
local mq = require('mq')
local args = {...}
if not args[1] then
    print("Provide the number of minutes to wait.")
    mq.exit()
end

local minutesToWait = tonumber(args[1])
if minutesToWait == nil then
    print("Invalid number provided.")
    mq.exit()
end

local function waitForMinutes(minutes)
  local startTime = os.time()
  local duration = minutes * 60

  repeat
    local timehack = os.time()
    mq.delay(1000)
  until os.difftime(timehack, startTime) >= duration
end

print(string.format("Waiting for %d minutes...", minutesToWait))
waitForMinutes(minutesToWait)
mq.cmd('/exit')
 
Just make a Lua script. Something like this should do the trick.

wait.lua
Lua:
local mq = require('mq')
local args = {...}
if not args[1] then
    print("Provide the number of minutes to wait.")
    mq.exit()
end

local minutesToWait = tonumber(arg[1])
if minutesToWait == nil then
    print("Invalid number provided.")
    mq.exit()
end

local function waitForMinutes(minutes)
  local startTime = os.time()
  local duration = minutes * 60

  repeat
    local timehack = os.time()
    mq.delay(1000)
  until os.difftime(timehack, startTime) >= duration
end

print(string.format("Waiting for %d minutes...", minutesToWait))
waitForMinutes(minutesToWait)
mq.cmd('/exit')
I'm not sure how or where I'd implement this I'm pretty noob.. I basically use all cwtn's scripts because the ease.
 
then you can just use the code coldblooded posted

when you enter instance: /Lua run timetologout 300 (i think 300minutes is 5 hours)
 
I'm not sure how or where I'd implement this I'm pretty noob.. I basically use all cwtn's scripts because the ease.
1) There's no plugin that will do this.
2) It "smells" like you're running the Class plugins AFK (which is highly discouraged)
3) Chat isn't going to add that feature for you
4) Being a noob is okay, but don't be lazy too :)
Like Kaen said, cut/paste that script into notepad or some text editor. Place the script file in your Lua directory. It should be named whatever you want .Lua. For example, wait.Lua
To run the script, type /lua run wait 300 then after 300 minutes it will exit the game.
 
Question - Utility/Script that shuts eq off ?

Users who are viewing this thread

Back
Top
Cart