#region :invisible
case "invisible":
{
if (rankManager.containsRight(this, "fuse_enter_full_rooms", userID) == false)
return false;
else
{
_Figure = "hd-0-0.sh-0-.lg-0-.ch-0-.hr-0-0";
_Mission = "Invisible Mode Activated";
refreshAppearance(false, true, true);
}
break;
}
#endregion
:summonall to summon the whole hotel to you
:forcesummon name - some people cancel a summon this would make the cancel button disappear etc
// summons the whole hotel.
public static void summonWholeHotel(int _Rank, bool includeHigher, string Data)
{
try
{
{
foreach (virtualUser User in _Users.Values)
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
if (_Rank < 8)
{
User.sendData(Data);
}
}
}
}
}
catch { }
}
// end the summoning void.
#region :summonall
case "summonall":
{
if (_Rank > 4)
{
virtualUser User = userManager.getUser(args[1]);
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
userManager.KickRedTeam(1, true, "BK" + "Your flag has been captured your out of the game");
User.sendData("D^" + "H" + Encoding.encodeVL64(_roomID));
User.sendData("BK" + "An administrator has summoned you!");
Room.sendSaying(roomUser, "*uses their god-like powers to summon the whole hotel*");
dbClient.runQuery("UPDATE users SET avoid = '1' WHERE name = '" + User._Username + "'");
}
}
}
break;
}
#endregion
Here you go Ki,
PHP:#region :invisible case "invisible": { if (rankManager.containsRight(this, "fuse_enter_full_rooms", userID) == false) return false; else { _Figure = "hd-0-0.sh-0-.lg-0-.ch-0-.hr-0-0"; _Mission = "Invisible Mode Activated"; refreshAppearance(false, true, true); } break; } #endregion
More specifics for the urchase command? What kind clothing?
#region :invisible
case "invisible":
{
if (rankManager.containsRight(this, "fuse_enter_full_rooms", userID) == false)
return false;
else
{
_Figure = "hd-0-0.sh-0-.lg-0-.ch-0-.hr-0-0";
_Mission = "Invisible Mode Activated";
refreshAppearance(false, true, true);
}
break;
}
#endregion
Virtual User again#region :spy
case "spy":
{
if (_Rank > 5)
{
if (_isInvisible == true)
{
_isInvisible = false;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("INSERT INTO staff_log (username,against,action) VALUES ('" + _Username + "', '" + _Username + "', 'Spy Mode OFF')");
}
}
else if (_isInvisible == false)
{
_isInvisible = true;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("INSERT INTO staff_log (username,against,action) VALUES ('" + _Username + "', '" + _Username + "', 'Spy Mode ON')");
}
}
}
break;
}
#endregion
Now in virtualRoompublic bool _isInvisible;
You may or maynot get errors Idk where other stuff is..if (roomUser.User._isInvisible == true)
{
roomUser.H = 100;
}
else
{
roomUser.H = nextHeight;
}
Hmm, A better version of this tbh:
virtualUser:
Virtual User again
Search for " #region Personal"
under that place:
Now in virtualRoom
find:
if (nextState == squareState.Seat) // The next steps are on a seat, seat the user, prepare the sit status for next cycle of thread ABOVE that put:
You may or maynot get errors Idk where other stuff is..
Your version doesn't work with Holograph Emulator I tried to add something like that and it went tits up.
#region :sendbot <user>
case "sendbot":
case "sendbot":
{
if (_Rank > 4)
{
foreach (virtualBot roomBot in Room._Bots.Values)
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
int roomname;
roomname = dbClient.getInt("SELECT name FROM rooms WHERE id = '" + _roomID + "'");
Room.sendSaying(roomUser, "*Jetpacks " + User._Username + " to " + roomname + " [" + _roomID + "]*");
User.sendData("D^" + "H" + Encoding.encodeVL64(roomname));
}
}
break;
}
#endregion