#Custom announcement label
38 messages · Page 1 of 1 (latest)
you'd need to make a fork of the MainModule
I'll check it out.
this is a pretty advanced operation if you are not a scripter
open that module in Studio and you can replace any strings shown
then replace the require call in the loader to use that module
forks are not recommended as they make you lose access to future updates
if you insist on doing this, consider giving yourself the newsletter role in this server, to make sure to be notified of future major changes in #📣・announcements
My brain already hurts.
This?
editing this value directly will have side effects and probably break the admin
I'm not sure right now what exactly needs to be modified
at line 3056:```diff
f.addCommand({ "announce", "an", "sm" }, { "Shouts an announcement.", "I'm banning everyone." }, 3, { "string" }, function(pl, args)
-f.filteredMsg(pl, { ScriptName, "Announcement", args[1] })
+f.filteredMsg(pl, { "My custom label", "Announcement", args[1] })
end)
Custom announcement label
any syntax or runtime errors?
only have one of the two lines
in my example one is red and the other is green, this shows what to remove
Mhm.
So, you see the EPF Admin thingy?
I want to change that label to PRFA Admin.
yea that means you're already using a fork...
you probably weren't doing the require step
or maybe there's some conflict
anyway, find the script that already exists which writes that
Any tips?