π«Ticket System NPC
In-game support tickets with Discord integration
How It Works
Player opens ticket β Private Discord channel created β Staff replies β Player receives whisperSetting Up Ticket Support
Create the Support NPC
prontera,156,180,4 script Support 100,{
mes "[Support]";
mes "Need help? Open a ticket and staff will respond.";
mes " ";
mes "Your messages go directly to our Discord support team.";
next;
if (select("Open/Send Ticket:Cancel") == 2) close;
mes "[Support]";
mes "Type your message:";
next;
input .@message$;
if (.@message$ == "") {
mes "[Support]";
mes "You didn't enter a message.";
close;
}
// Send ticket message
ragnascript("[action: ticket][account_id: " + getcharid(3) + "][char_id: " + getcharid(0) + "][name: " + strcharinfo(0) + "][message: " + .@message$ + "]");
mes "[Support]";
mes "Your message has been sent!";
mes " ";
mes "Staff will reply via whisper. Keep an eye on your chat.";
close;
}What Happens in Discord
Replying to Players
Discord
In-Game
Closing Tickets
Multiple Messages
RagnaScript Format
Field
Required
Description
Channel Topic Format
Position
Field
Description
Tips
Quick Reference
Action
What Happens
Last updated