Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
jabbo i think there was a mass furni/badge earlier on in the thread, pages 1-3 i think
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Need a
:promote/:demote command
tdpb
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
I need :invisible on/:invisible off .
I use Dissi.
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Quote:
case "drink":
{
string item = args[1];
statusManager.carryItem(item);
break;
}
i want that command just for vips how do i do this?
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Can someone make a :naked and :unnaked for the v36 by hebbo and marteen thanks
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Quote:
Originally Posted by
Kierunn
i want that command just for vips how do i do this?
Easy, you just need to filter ranks;
Code:
case "drink":
{
if (_Rank < 2)
break;
string item = args[1];
statusManager.carryItem(item);
break;
}
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Anyone have a working :pickall command? The ones in this thread give errors.
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Quote:
Originally Posted by
Snixerz
Anyone have a working :pickall command? The ones in this thread give errors.
here you got the pickup command :)
PHP Code:
#region :pickup
case "pickup": // picks up all furniture in room
{
int isOwner;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
isOwner = dbClient.getInt("SELECT id FROM users WHERE id = '" + _isOwner + "'");
}
if (_isOwner == true)
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
dbClient.runQuery("UPDATE furniture SET roomid = 0 WHERE roomid = '" + Room.roomID + "'");
Room.sendData("DBO" + "\r");
}
if (_isOwner == false) // this will quit 50 credits to some user that it isn't the owner of the room
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
dbClient.runQuery("UPDATE users SET credits = credits -50 WHERE id = '" + this.userID + "'");
sendData("BK¿what are you trying? -50 credits for trying to steal furnis" + Convert.ToChar(2));
}
}
break;
#endregion
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Can someone Pickall coden me, so I entered my room does not have options again if I will be :pickall do, all furniture included in the hand and the room is nothing more I need to get out and thus not pure.
Emulator is from Martinmine & JabboHotel
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Quote:
Originally Posted by
dj_d2
here you got the pickup command :)
PHP Code:
#region :pickup
case "pickup": // picks up all furniture in room
{
int isOwner;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
isOwner = dbClient.getInt("SELECT id FROM users WHERE id = '" + _isOwner + "'");
}
if (_isOwner == true)
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
dbClient.runQuery("UPDATE furniture SET roomid = 0 WHERE roomid = '" + Room.roomID + "'");
Room.sendData("DBO" + "\r");
}
if (_isOwner == false) // this will quit 50 credits to some user that it isn't the owner of the room
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
dbClient.runQuery("UPDATE users SET credits = credits -50 WHERE id = '" + this.userID + "'");
sendData("BK¿what are you trying? -50 credits for trying to steal furnis" + Convert.ToChar(2));
}
}
break;
#endregion
Thank you! It works. :):
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
I use Dissi
I need the following commands:
:invisible on/:invisible off
:Infobus question a b c d
:Arrest
:Poof
:credits HowMuch
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Quote:
Originally Posted by
ered
I use Dissi
I need the following commands:
:invisible on/:invisible off
:Infobus question a b c d
:Arrest
:Poof
:credits HowMuch
Heres arrest and credits Cecer1 Released A Clean Poll Snippet On Page 2 Or Something Just Go Threw Pages And See ;) Released in this thread if u looked instead of just posting.
:arrest
PHP Code:
case "arrest":
{
virtualUser User = userManager.getUser(args[1]);
User.sendData("D^" + "H" + Encoding.encodeVL64(103));
User.sendData("BKArrested!");
break;
}
:credits
PHP Code:
#region :credits
case "credits":
{
if (rankManager.containsRight(_Rank, "fuse_administrator_access", userID) == false)
{
sendData("BK" + "You do not have the required rank to use this command. ");
return false;
}
else
{
virtualUser User = userManager.getUser(args[1]);
virtualUser Target = userManager.getUser(args[1]);
Int64 credittoupdate = int.Parse(args[2]);
Int64 oldcredits = new int();
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
oldcredits = dbClient.getInt("SELECT credits FROM users WHERE name = '" + args[1] + "'");
}
Int64 newcredits = oldcredits + credittoupdate;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("UPDATE users SET credits = " + newcredits + " WHERE name = '" + args[1] + "'");
}
User.refreshValueables(true, false);
Target.sendData("BK" + "You have recieved " + credittoupdate + " credits from Hotel Staff");
sendData("BK" + "The user " + (args[1]) + " has received " + credittoupdate + " credits");
}
break;
}
#endregion
:poof
PHP Code:
#region :poof
case "poof": // Refreshes users look
refreshAppearance(true, true, true);
break;
#endregion
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
someone post a working infobus poll comand with database??
**NOTE** tell me how to use the command!
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Hmm, can someone post a command where an administrator can type
:out
then he'll go to like a police outfit looking thing? That would be sick. I could do it, but i dont know the habbo-imaging.
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Quote:
Originally Posted by
HoloCMsick
Hmm, can someone post a command where an administrator can type
:out
then he'll go to like a police outfit looking thing? That would be sick. I could do it, but i dont know the habbo-imaging.
Habbo-Imaging is for badges :/