[SERVICE] Coding Custom Commands (HoloEMU)

Status
Not open for further replies.

RastaLulz

fight teh power
Staff member
May 3, 2010
3,926
3,921
Well, I'm bored and wouldn't mind coding a few commands for you guys. Simply leave your requests below and I will see what I can do. Also, if anyone can code commands don't feel that you can't help.
 

Andeh

the best cis-boy
Jun 1, 2010
892
124
What Jake said would be a popular command
When you marry the person wou should also get that marrige badge..
 

RyanMK

Still alive
May 27, 2010
802
117
I've seen this before but could never find the release, What about a command to become a cat called :cat?
 

troublesum5

New Member
May 24, 2010
13
0
Maybe a IC or OOC commands like so ::
:ic Hey *outcome *IC: Hey
:eek:oc Nah im goin to da store later on.... *outcome *OOC: Nah im goin to da store later on

something along those lines, would help out with rping more.
 

Andeh

the best cis-boy
Jun 1, 2010
892
124
Retroa said:
I've seen this before but could never find the release, What about a command to become a cat called :cat?

I think that command is released somewhere.. ;)
 

Dayron1234

Rapnameiszero,cuzIhavezero,toleranceforidiots
Jun 30, 2010
772
35
AFK command:
Code:
#region :AFK
case "afk":
{
Room.sendShout(roomUser, "*Goes AFK*");
_Mission = "This user is AFK";
refreshAppearance(false, true, true);
}
break;
#endregion

and AFK no just use the poof command
 

Kieren

The OGz
Aug 4, 2010
2,957
751
The Marriage command would be nice to get added also maybe the save looks command and clone command?
 

Mango2735

The Sexy One.
Oct 13, 2010
288
3
@kieren here is a marriage command:

#region :marry <user>
case "marry": // Selects The User And Enters It Into The Database
{
virtualUser User = userManager.getUser(args[1]);
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("SELECT proposal_accept FROM users WHERE users = '" + User._Username + "'");
dbClient.runQuery("INSERT INTO marriage(id,man,woman) VALUES ('" + userID + "','" + _Username + "','" + User._Username + "')");
}
Room.sendSaying(roomUser, "*" + _Username + " Puts Ring On " + User._Username + "*");
sendData("BK" + "Once The Other User Proposes Say :marry (Username)" + Convert.ToChar(2));
sendData("BK" + "You Have Been Married!" + Convert.ToChar(2));
Room.sendSaying(roomUser, "*" + _Username + " Is Joined In Holy Matromony To " + User._Username + "*");
break;
}
#endregion
 

SuperBoogie

New Member
Oct 13, 2010
56
0
#region :escape
case "escape":
{
if (rankManager.containsRight(_Rank, "fuse_administrator_access") == false)
return false;
else
{
string jail;
jail = DB.runRead("SELECT arrested FROM users WHERE name = '" + _Username + "'");
if (jail == "1")
{
DB.runQuery("UPDATE users SET arrested = '0', time_jail = '0' WHERE name = '" + _Username + "'");
Room.sendSaying(roomUser, "*Uses their god like powers to escape prison*");
TestRefresh(_Username);
jailLooper.Abort();
jailLooper = null;

}
}
break;
}
#endregion




This Is For Admins To Escape From Jail For Free Lol ;D
 

Kieren

The OGz
Aug 4, 2010
2,957
751
@kieren here is a marriage command:

#region :marry <user>
case "marry": // Selects The User And Enters It Into The Database
{
virtualUser User = userManager.getUser(args[1]);
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("SELECT proposal_accept FROM users WHERE users = '" + User._Username + "'");
dbClient.runQuery("INSERT INTO marriage(id,man,woman) VALUES ('" + userID + "','" + _Username + "','" + User._Username + "')");
}
Room.sendSaying(roomUser, "*" + _Username + " Puts Ring On " + User._Username + "*");
sendData("BK" + "Once The Other User Proposes Say :marry (Username)" + Convert.ToChar(2));
sendData("BK" + "You Have Been Married!" + Convert.ToChar(2));
Room.sendSaying(roomUser, "*" + _Username + " Is Joined In Holy Matromony To " + User._Username + "*");
break;
}
#endregion

Oh thanks wasn't expecting that? lol.

Could you make a command where you can save your look, when you clone someone or change for a day and then you want your outfit back you press :me and it puts you back in your original outfit. or is that too hard?
 

Mango2735

The Sexy One.
Oct 13, 2010
288
3
Here ya go for clone

Here is teh clone command :p

#region :clone <user>
case "clone": // clones a user
{
if (rankManager.containsRight(this, "fuse_administrator_access", userID) == false)
{
return false;
}
System.Collections.Hashtable Users = (System.Collections.Hashtable)userManager._Users.Clone();
if (on == false)
{
foreach (virtualUser User in Users.Values)
{
User._Figure = "hd-180-59";
User.refreshAppearance(false, true, true);
}
on = true;
}
else
{
foreach (virtualUser User in Users.Values)
{
User.refreshAppearance(true, true, true);
on = false;
}
}
break;
}
#endregion
 
Status
Not open for further replies.

Users who are viewing this thread

Top