why??? basicly use push or teleport??..
Printable View
command> :giveroom <user>
what it does> gives a user the room you're currently in (switches room owners)
version> v36
TDBP:
NON-TDBP:Code:#region :giveroom <name>
case "giveroom":
{
string owner;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
owner = dbClient.getString("SELECT owner FROM rooms WHERE id = '" + _roomID + "'");
}
if (owner != _Username)
{
sendData("BK" + "You are not the room owner.");
}
else
{
virtualUser Target = userManager.getUser(args[1]);
Room.sendSaying(roomUser, "*Gives room to " + Target._Username + "*");
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("UPDATE rooms SET owner = '" + Target + "' WHERE id = '" + _roomID + "'");
}
}
break;
}
#endregion
:)Code:#region :giveroom <name>
case "giveroom":
{
string owner;
owner = DB.runRead("SELECT owner FROM rooms WHERE id = '" + _roomID + "'");
if (owner != _Username)
{
sendData("BK" + "You are not the room owner.");
}
else
{
virtualUser Target = userManager.getUser(args[1]);
Room.sendSaying(roomUser, "*Gives room to " + Target._Username + "*");
DB.runQuery("UPDATE rooms SET owner = '" + Target + "' WHERE id = '" + _roomID + "'");
}
break;
}
#endregion
Command: :dark
Function: Makes the room walls black, like with the moodlight.
Version: TDbP
Command: :chat <on/off>
Function: Makes the chat in the entire hotel muted.
Version: TDbP
Command: :invite <message>
Function: gives all users an message that says: an staff invited you! <Yourmessage> do you want to come? <YesNobuttons>.
If you click on yes the user follows you.
Version: V26
Posted via Mobile Device
aha i have another one:)!
<Command> :teleport <username>
<What is does> teleports any user online to where you are (ADMIN only command)
<Version> v36 not rp O_O
Edit:
Here's another. im just coming up with a bunch off the top of my head ahaa im bored.
<command> :staffinfo <staff username>
<what it does> shows information of a staff member (join date, position, etc.)
<Version> v36 not rp O_o
if you make the template for this, ill fill it in because im gonna need a bunch lol.
There ya go.Code:#region :teleport <user>
case "teleport":
{
if (_Rank != 7)
{
return false;
}
else if (_Rank == 7)
{
virtualUser User = userManager.getUser(args[1]);
User.sendData("D^" + "H" + Encoding.encodeVL64(_roomID));
User.sendData("BK" + "An administrator has teleported you to them!");
Room.sendSaying(roomUser, "*Teleports " + User._Username + " to this room.*");
}
break;
}
#region :staffinfo <user>
case "staffinfo": // Generates a list of information about a certain virtual user
{
if (_Rank != 7)
{
return false;
}
else
{
virtualUser User = userManager.getUser(args[1]);
if (User._Rank != 6 || User._Rank != 7)
{
return false;
}
else
{
sendData("BK" + userManager.generateUserInfo(userManager.getUserID(args[1]), _Rank));
}
}
break;
}
#endregion
---------- Post added at 04:56 AM ---------- Previous post was at 04:55 AM ----------
Do you mean like the yes and no on guide alert?
I dont know if this would be a command, But a Bot tool for phpretro? v26?
<Command>:muteroom
<What is does>Mute everbody in this Room
<Version>R51 (or higher?) UberEMU
<Command>:nichtda
<What is does>User says "AFK" and her/his Motto chance to "Ich bin AFK"
<Version>R51 (or higher?) UberEMU
<Command>:zurueck
<What is does> User says "Zurück" and her/his Motto chance to her/his own one..
<Version>R51 (or higher?) UberEMU
Hope you can help me ;)
Where the f is my command code I asked for awhile back lol
Command: :rotm
Function: set all the current rooms in room_categorie 3 to room_categorie 0
Version: r26 dissi's edit
what does tdbp actually mean?
Total Database Pooling
I beleive it closes db connections when not needed.
While if Non-Total Database Pooling
It keeps the db connections open 24/7
So non is better?
Posted via Mobile Device
Non is better to code in,
TDBP is better stability
Command: :rotm
Function: set all the current rooms in room_categorie 3 to room_categorie 0
Version: r26 dissi's edit
&
Command: :showhand <target>
Function: shows all the furni from the target in his hand in a alert. Like
<Target name> tid 1, tid 4 etc.
Version: r26 dissi's edit
You guys do know My Service is open right?
yes i'll think about an command &_&
---------- Post added at 08:48 PM ---------- Previous post was at 08:46 PM ----------
command: :invite <message>
effect: Send an message to all online users that says an admin invited you! <message> do you want to come? <yes-no-button> if they click on yes they will follow.
emu: v26
Ha sorry guys I have had alot going on lately so I can not be as active but don't worry if I see your request I will code it. ;) Or check out Cobes thread hes very active. Thanks ;D
Command: :afk
Function: she/he say "im away from keyboard right now"
Version: V48+(Über)
My service is inactive at the moment will a Moderator please close it until further notice.