by Leeizazombie » 02 May 2014, 20:01
You could try save text files to save the information.
Using the following reference:
using System.IO;
So in /reference (player)
Do:
File.Create("/extra/" + p.name + "Reference.txt");
So if you referenced me, a file will be created called: "LeeIzaZombie+Reference.txt"
After that, you can add into the /myrefs, a part that checks if that file exists:
if (File.Exists("/extra/" + p.name + "Reference.txt"))
{
Player.SendMessage(p, "You have a reference");
}
This is just a quick example and idea, I don't really have a lot of time, but if you want to make it say who referenced the player, you could add text into the file, and make /myrefs read it.
PS: If you want me to help you make it, I can do so, and leave some notes. Just PM me on the website!
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)
Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting