[CLOSED] [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Page 8 of 25 FirstFirst 1234567891011121314151618 ... LastLast
Results 176 to 200 of 612
  1. #176
    Proficient Member swimoTheBig is offline
    MemberRank
    Aug 2008 Join Date
    Essex, UKLocation
    194Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Push command (should work on all emu's):
    Code:
                        case "push":
                                 {
                                     string str3 = "down";
                                     virtualUser user = userManager.getUser(Text.Split(new char[] { ' ' })[1]);
                                     if ((user.roomUser != this.roomUser) && ((((this.roomUser.X + 1) == user.roomUser.X) || ((this.roomUser.X - 1) == user.roomUser.X)) || (((this.roomUser.Y + 1) == user.roomUser.Y) || ((this.roomUser.Y - 1) == user.roomUser.Y))))
                                     {
                                         if (this.roomUser.Z2 == 0)
                                         {
                                             str3 = "up";
                                         }
                                         if (this.roomUser.Z2 == 2)
                                         {
                                             str3 = "right";
                                         }
                                         if (this.roomUser.Z2 == 4)
                                         {
                                             str3 = "down";
                                         }
                                         if (this.roomUser.Z2 == 6)
                                         {
                                             str3 = "left";
                                         }
                                         if (str3 == "up")
                                         {
                                             user.roomUser.goalX = user.roomUser.X;
                                             user.roomUser.goalY = user.roomUser.Y - 1;
                                         }
                                         if (str3 == "right")
                                         {
                                             user.roomUser.goalX = user.roomUser.X + 1;
                                             user.roomUser.goalY = user.roomUser.Y;
                                         }
                                         if (str3 == "down")
                                         {
                                             user.roomUser.goalX = user.roomUser.X;
                                             user.roomUser.goalY = user.roomUser.Y + 1;
                                         }
                                         if (str3 == "left")
                                         {
                                             user.roomUser.goalX = user.roomUser.X - 1;
                                             user.roomUser.goalY = user.roomUser.Y;
                                      
                                         }
                                         Room.sendShout(roomUser, "*Pushes " + user._Username + "*");
                                     }
                                     break;
                                }
    :)

  2. #177
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Quote Originally Posted by swimoTheBig View Post
    Push command (should work on all emu's):
    Code:
                        case "push":
                                 {
                                     string str3 = "down";
                                     virtualUser user = userManager.getUser(Text.Split(new char[] { ' ' })[1]);
                                     if ((user.roomUser != this.roomUser) && ((((this.roomUser.X + 1) == user.roomUser.X) || ((this.roomUser.X - 1) == user.roomUser.X)) || (((this.roomUser.Y + 1) == user.roomUser.Y) || ((this.roomUser.Y - 1) == user.roomUser.Y))))
                                     {
                                         if (this.roomUser.Z2 == 0)
                                         {
                                             str3 = "up";
                                         }
                                         if (this.roomUser.Z2 == 2)
                                         {
                                             str3 = "right";
                                         }
                                         if (this.roomUser.Z2 == 4)
                                         {
                                             str3 = "down";
                                         }
                                         if (this.roomUser.Z2 == 6)
                                         {
                                             str3 = "left";
                                         }
                                         if (str3 == "up")
                                         {
                                             user.roomUser.goalX = user.roomUser.X;
                                             user.roomUser.goalY = user.roomUser.Y - 1;
                                         }
                                         if (str3 == "right")
                                         {
                                             user.roomUser.goalX = user.roomUser.X + 1;
                                             user.roomUser.goalY = user.roomUser.Y;
                                         }
                                         if (str3 == "down")
                                         {
                                             user.roomUser.goalX = user.roomUser.X;
                                             user.roomUser.goalY = user.roomUser.Y + 1;
                                         }
                                         if (str3 == "left")
                                         {
                                             user.roomUser.goalX = user.roomUser.X - 1;
                                             user.roomUser.goalY = user.roomUser.Y;
                                      
                                         }
                                         Room.sendShout(roomUser, "*Pushes " + user._Username + "*");
                                     }
                                     break;
                                }
    :)
    It can be coded in this way, too: (not tested!)
    PHP Code:
                        case "push":
                            {
                                
    virtualUser User userManager.getUser(args[1]);
                                if (
    User.roomUser != roomUser && (roomUser.== User.roomUser.|| roomUser.== User.roomUser.|| roomUser.== User.roomUser.|| roomUser.== User.roomUser.Y))
                                {
                                    switch (
    roomUser.Z2)
                                    {
                                        case 
    0:
                                            {
                                                
    User.roomUser.goalX User.roomUser.X;
                                                
    User.roomUser.goalY User.roomUser.1;
                                                break;
                                            }
                                        case 
    2:
                                            {
                                                
    User.roomUser.goalX User.roomUser.1;
                                                
    User.roomUser.goalY User.roomUser.Y;
                                                break;
                                            }
                                        case 
    4:
                                            {
                                                
    User.roomUser.goalX User.roomUser.X;
                                                
    User.roomUser.goalY User.roomUser.1;
                                                break;
                                            }
                                        case 
    6:
                                            {
                                                
    User.roomUser.goalX User.roomUser.1;
                                                
    User.roomUser.goalY User.roomUser.Y;
                                                break;
                                            }
                                    }
                                    
    Room.sendShout(roomUser"*Pushes " User._Username "*");
                                }
                                break;
                            } 

  3. #178
    Infraction Banned iBobbaX. is offline
    MemberRank
    Jan 2010 Join Date
    United KingdomLocation
    32Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Commands

    Room iD
    Grab *some user cant move away*
    Struggle *Breaks free from the Grab*
    Call 911 *Calls a Police rank *Rank 3*, tells the Police the person who called room ID*

    CAN SOMEONE MAKE THEM!!!!!!!!
    Last edited by iBobbaX.; 10-01-10 at 12:21 AM.

  4. #179
    Proficient Member swimoTheBig is offline
    MemberRank
    Aug 2008 Join Date
    Essex, UKLocation
    194Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Quote Originally Posted by iBobbaX. View Post
    Commands

    Room iD
    Grab *some user cant move away*
    Struggle *Breaks free from the Grab*
    Call 911 *Calls a Police rank *Rank 3*, tells the Police the person who called room ID*

    CAN SOMEONE MAKE THEM!!!!!!!!
    Ill get those for you in a second...

    ---------- Post added at 11:36 PM ---------- Previous post was at 11:30 PM ----------

    Room ID
    :roomid
    Code:
                        #region :roomid
                        case "roomid": //Gets roomid
    
                            sendData("BK" + "Room ID:" + _roomID +" :)" + Convert.ToChar(2));
                            break;
                        #endregion
    Grab *some user cant move away*
    Struggle *Breaks free from the Grab*

    :grab [user]
    :struggle
    Code:
                        #region :grab / :struggle
                        case "grab": // Freeze the specified user
                            {
                                    int _userID = userManager.getUserID(args[1]);
                                    virtualUser Target = userManager.getUser(_userID);
                                    Target.roomUser.walkLock = true; // Freeze the user
                                    Room.sendShout(roomUser, "-Grabs " + Target._Username + "-");
    
                                break;
                            }
    
                        case "struggle": // Uncuff the specified user
                            {
    
                                    roomUser.walkLock = false; // Unfreeze the user
                                    Room.sendShout(roomUser, "-Breaks free from the grip-");
    
                                break;
                            }
    
                        #endregion
    Call 911 *Calls a Police rank *Rank 3*, tells the Police the person who called room ID*
    :999 message
    Code:
                        case "999":
                                 {
                                     string Message = Text.Substring(3);
                                     using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                                     {
                                         dbClient.AddParamWithValue("roomid", _roomID.ToString());
                                     }
                                     Room.sendShout(roomUser, "*Calls the Police for help!*");
                                     userManager.sendToRank(3, false, "BK" + stringManager.getString("scommand_rankalert") + "\r 911 CALL! \r " + _Username + " \r Message "+ Message + " \r Room ID: " +_roomID + "" + Convert.ToChar(2));
                                     userManager.sendToRank(4, false, "BK" + stringManager.getString("scommand_rankalert") + "\r 911 CALL! \r " + _Username + " \r Message "+ Message + " \r Room ID: " +_roomID + "" + Convert.ToChar(2));
                                     userManager.sendToRank(5, false, "BK" + stringManager.getString("scommand_rankalert") + "\r 911 CALL! \r " + _Username + " \r Message "+ Message + " \r Room ID: " +_roomID + "" + Convert.ToChar(2));
                                     userManager.sendToRank(6, false, "BK" + stringManager.getString("scommand_rankalert") + "\r 911 CALL! \r " + _Username + " \r Message "+ Message + " \r Room ID: " +_roomID + "" + Convert.ToChar(2));
                                     userManager.sendToRank(7, false, "BK" + stringManager.getString("scommand_rankalert") + "\r 911 CALL! \r " + _Username + " \r Message "+ Message + " \r Room ID: " +_roomID + "" + Convert.ToChar(2));
                                     break;
                                 }
    Hope I helped :}
    Last edited by swimoTheBig; 10-01-10 at 12:38 AM.

  5. #180
    Account Upgraded | Title Enabled! 321olos is offline
    MemberRank
    Mar 2009 Join Date
    409Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Ok since im bored im gonna code commands for people. So im accepting requeests and fixes.
    Last edited by 321olos; 10-01-10 at 01:03 AM.

  6. #181
    Infraction Banned iBobbaX. is offline
    MemberRank
    Jan 2010 Join Date
    United KingdomLocation
    32Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    How about a Time System, like so arrest users have a Disable Nav and stuff.

  7. #182
    Account Upgraded | Title Enabled! 321olos is offline
    MemberRank
    Mar 2009 Join Date
    409Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Quote Originally Posted by iBobbaX. View Post
    How about a Time System, like so arrest users have a Disable Nav and stuff.
    If u mean there arrested for a certain amount of time so like they get 10 mins in a room and they cant leave till the 10 mins is up.

  8. #183
    Infraction Banned iBobbaX. is offline
    MemberRank
    Jan 2010 Join Date
    United KingdomLocation
    32Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Quote Originally Posted by 321olos View Post
    If u mean there arrested for a certain amount of time so like they get 10 mins in a room and they cant leave till the 10 mins is up.
    Yeah, thats what i mean :P

  9. #184
    Proficient Member swimoTheBig is offline
    MemberRank
    Aug 2008 Join Date
    Essex, UKLocation
    194Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Quote Originally Posted by iBobbaX. View Post
    Yeah, thats what i mean :P
    I'll try and see if i can make it so they can't leave the room, but its very very hard to do.

    Offtopic: HabboRP Copy pretty much?
    lulz

  10. #185
    Gamma RastaLulz is offline
    MemberRank
    Dec 2007 Join Date
    EarthLocation
    3,327Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Here's my modified taxi command from the original one posted here. It includes a personal message (BK), the user states where they have taxied to (@X), and the user is charged 10 credits. The code may not be the best as I just started learning Holo and C# two days ago, but it does work. Only thingd that could really be added is something to check if the room exists, and a 10-20 second delay before the user is sent but I don't know how to do that, lol. Anyways, enjoy.

    Also, I added a coloum onto the rooms table called taxi defineing if you have permission to taxi to that room or not. If you don't want to add that, then simply comment out taxidata and taxidata1.
    PHP Code:
                        case "taxi":
                            {
                                
    string taxidata;
                                
    string taxidata2;
                                
    string taxidata3;
                                
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                                {
                                    
    taxidata dbClient.getString("SELECT taxi FROM rooms WHERE id = '" _roomID "'");
                                    
    taxidata2 dbClient.getString("SELECT taxi FROM rooms WHERE id = '" args[1] + "'");
                                    
    taxidata3 dbClient.getString("SELECT name FROM rooms WHERE id = '" _roomID "'");
                                }
                                if(
    taxidata == "1" || taxidata2 == "1")
                                    
    sendData("BK" "There was an issue with your taxi:\r1. You must be outside to use a taxi.\r2. You can only taxi to outide areas.\r3. The room does not exist!");
                                else
                                {
                                    
    int roomid int.Parse(args[1]);
                                    
    Room.sendSaying(roomUser"*calls a taxi for " taxidata3 " [" args[1] + "]*");
                                    
    sendData("D^" "H" Encoding.encodeVL64(roomid));
                                    
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                                    {
                                        
    dbClient.runQuery("UPDATE users SET credits = credits + '-10'");
                                    }
                                    
    refreshValueables(truefalse);
                                    
    sendData("BK" "You have been charged 10 credits for your taxi fare.");
                                }
                                break;
                            } 
    EDIT:
    Just found out that you could use room.SendSaying, instead of doing it manually, lol.
    Last edited by RastaLulz; 10-01-10 at 05:06 AM.

  11. #186
    Valued Member -styla-boy- is offline
    MemberRank
    Jul 2008 Join Date
    GermanyLocation
    149Posts

    ! Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    where and how i add the commands?!

  12. #187
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Quote Originally Posted by RastaLulz View Post
    Here's my modified taxi command from the original one posted here. It includes a personal message (BK), the user states where they have taxied to (@X), and the user is charged 10 credits. The code may not be the best as I just started learning Holo and C# two days ago, but it does work. Only thingd that could really be added is something to check if the room exists, and a 10-20 second delay before the user is sent but I don't know how to do that, lol. Anyways, enjoy.

    Also, I added a coloum onto the rooms table called taxi defineing if you have permission to taxi to that room or not. If you don't want to add that, then simply comment out taxidata and taxidata1.
    PHP Code:
                        case "taxi":
                            {
                                
    string taxidata;
                                
    string taxidata2;
                                
    string taxidata3;
                                
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                                {
                                    
    taxidata dbClient.getString("SELECT taxi FROM rooms WHERE id = '" _roomID "'");
                                    
    taxidata2 dbClient.getString("SELECT taxi FROM rooms WHERE id = '" args[1] + "'");
                                    
    taxidata3 dbClient.getString("SELECT name FROM rooms WHERE id = '" _roomID "'");
                                }
                                if(
    taxidata == "1" || taxidata2 == "1")
                                    
    sendData("BK" "There was an issue with your taxi:\r1. You must be outside to use a taxi.\r2. You can only taxi to outide areas.\r3. The room does not exist!");
                                else
                                {
                                    
    int roomid int.Parse(args[1]);
                                    
    Room.sendSaying(roomUser"*calls a taxi for " taxidata3 " [" args[1] + "]*");
                                    
    sendData("D^" "H" Encoding.encodeVL64(roomid));
                                    
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                                    {
                                        
    dbClient.runQuery("UPDATE users SET credits = credits + '-10'");
                                    }
                                    
    refreshValueables(truefalse);
                                    
    sendData("BK" "You have been charged 10 credits for your taxi fare.");
                                }
                                break;
                            } 
    EDIT:
    Just found out that you could use room.SendSaying, instead of doing it manually, lol.
    Hey rasta, Great sutff, could you upload your addon to the db? Thanks!
    Last edited by Sledmore; 10-01-10 at 05:43 AM.

  13. #188
    Proficient Member swimoTheBig is offline
    MemberRank
    Aug 2008 Join Date
    Essex, UKLocation
    194Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Quote Originally Posted by RastaLulz View Post
    Here's my modified taxi command from the original one posted here. It includes a personal message (BK), the user states where they have taxied to (@X), and the user is charged 10 credits. The code may not be the best as I just started learning Holo and C# two days ago, but it does work. Only thingd that could really be added is something to check if the room exists, and a 10-20 second delay before the user is sent but I don't know how to do that, lol. Anyways, enjoy.

    Also, I added a coloum onto the rooms table called taxi defineing if you have permission to taxi to that room or not. If you don't want to add that, then simply comment out taxidata and taxidata1.
    PHP Code:
                        case "taxi":
                            {
                                
    string taxidata;
                                
    string taxidata2;
                                
    string taxidata3;
                                
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                                {
                                    
    taxidata dbClient.getString("SELECT taxi FROM rooms WHERE id = '" _roomID "'");
                                    
    taxidata2 dbClient.getString("SELECT taxi FROM rooms WHERE id = '" args[1] + "'");
                                    
    taxidata3 dbClient.getString("SELECT name FROM rooms WHERE id = '" _roomID "'");
                                }
                                if(
    taxidata == "1" || taxidata2 == "1")
                                    
    sendData("BK" "There was an issue with your taxi:\r1. You must be outside to use a taxi.\r2. You can only taxi to outide areas.\r3. The room does not exist!");
                                else
                                {
                                    
    int roomid int.Parse(args[1]);
                                    
    Room.sendSaying(roomUser"*calls a taxi for " taxidata3 " [" args[1] + "]*");
                                    
    sendData("D^" "H" Encoding.encodeVL64(roomid));
                                    
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                                    {
                                        
    dbClient.runQuery("UPDATE users SET credits = credits + '-10'");
                                    }
                                    
    refreshValueables(truefalse);
                                    
    sendData("BK" "You have been charged 10 credits for your taxi fare.");
                                }
                                break;
                            } 
    EDIT:
    Just found out that you could use room.SendSaying, instead of doing it manually, lol.
    Omg Great work.

    Well done rasta, and thanks!

  14. #189
    Proficient Member bokeoke12 is offline
    MemberRank
    Jul 2009 Join Date
    161Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Quote Originally Posted by awa500 View Post
    Here's a fix for the commands:
    PHP Code:
                        case "globalcredits":
                            {
                                if (
    rankManager.containsRight(_Rank"fuse_moderator_access"userID) == false)
                                {
                                    return 
    false;
                                }
                                else
                                {
                                    
    Int64 credittoupdate int.Parse(args[1]);
                                    
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                                    {
                                        
    dbClient.runQuery("UPDATE users SET credits = credits + '" credittoupdate "'");
                                    }
                                    foreach (
    virtualUser User in userManager._Users.Values)
                                        
    User.refreshValueables(truefalse);
                                }
                                break;
                            } 
    I've add this 1 but i get this error:

  15. #190
    Proficient Member swimoTheBig is offline
    MemberRank
    Aug 2008 Join Date
    Essex, UKLocation
    194Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Works fine for me?

    ---------- Post added at 07:34 AM ---------- Previous post was at 07:29 AM ----------

    I need:

    -v35
    :guide (Sends a guide invite to EVERYONE)
    :invisible (Turns you invisible {ADMIN ONLY})
    :habbovision [user] (Sends the specified user, into habbovision mode)
    :buyproperty (Buys a room for the price set by owner
    :sellproperty (Sets a price for the room, and sets the room up for sale)

    :}

    Thnx.

  16. #191
    Demi-God tweeney is offline
    MemberRank
    Aug 2008 Join Date
    888Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    I have quite a few commands needed

    All for Dissi v26

    :givecredits <USER> <AMMOUNT> [GiveCredits to the user that you put in]
    :teleport <USER> [teleports certain user]
    :invisible <USER> [Makes user invisible]
    :pet <TYPE OF PET> <COLOUR> [Changes an admin into a pet, the pet that they request like cat, dog, croc etc and the colour of the pet like blue/red[I requested this earlier but no one answered]]
    :givebadge <USER> <BADGEID> [Gives a certain User a Certain badge]


    If you could make all those that would Be AWESOME

    Also, they are all for admins only

    EDIT:
    also can you make a :poof command so it updates there clothes, that would be for everyone
    Last edited by tweeney; 10-01-10 at 08:58 AM.

  17. #192
    Account Upgraded | Title Enabled! 321olos is offline
    MemberRank
    Mar 2009 Join Date
    409Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Ok so ive made an effort of converting the poll command to DB. Ive gotten everything right its just that i get this error:
    PHP Code:
    A local variable named 'dRow' cannot be declared in this scope because it would give a different meaning to 'dRow'which is already used in a 'child' scope to denote something else 
    Ive got team viewer for anyone who can help.
    And i have got the infobus from awas server working with DB

    Quote Originally Posted by swimoTheBig View Post
    Works fine for me?

    ---------- Post added at 07:34 AM ---------- Previous post was at 07:29 AM ----------

    I need:

    -v35
    :guide (Sends a guide invite to EVERYONE)
    :invisible (Turns you invisible {ADMIN ONLY})
    :habbovision [user] (Sends the specified user, into habbovision mode)
    :buyproperty (Buys a room for the price set by owner
    :sellproperty (Sets a price for the room, and sets the room up for sale)

    :}

    Thnx.
    I was talking to awa500 and if you mean the guide tool its coded but if you want the box that comes up saying if you want a guide it cant be coded cause awa doesnt have the packets for it.

    Habbovisions easy ive coded it but you need more packets for the X button to exit you but theres no point since you cant put habbovision on a room.

    Invisible is on the internet.

    Buy and sell propety would require databases and a system to buy and sell. Il start coding it now and if it works il release.

    I have quite a few commands needed

    All for Dissi v26

    :givecredits <USER> <AMMOUNT> [GiveCredits to the user that you put in]
    :teleport <USER> [teleports certain user]
    :invisible <USER> [Makes user invisible]
    :pet <TYPE OF PET> <COLOUR> [Changes an admin into a pet, the pet that they request like cat, dog, croc etc and the colour of the pet like blue/red[I requested this earlier but no one answered]]
    :givebadge <USER> <BADGEID> [Gives a certain User a Certain badge]


    If you could make all those that would Be AWESOME

    Also, they are all for admins only

    EDIT:
    also can you make a :poof command so it updates there clothes, that would be for everyone
    Ive coded the pet command but im not releasing.

  18. #193
    Demi-God tweeney is offline
    MemberRank
    Aug 2008 Join Date
    888Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Quote Originally Posted by 321olos View Post
    Ive coded the pet command but im not releasing.
    Can you PM it to me and i swear i will be the only person to use it

    Please

    Edit:

    The Buyroom/Sellroom is on OpenHotel
    Last edited by tweeney; 10-01-10 at 10:18 AM.

  19. #194
    LulWut? Ledell is offline
    MemberRank
    Oct 2008 Join Date
    Under Your Bed!Location
    264Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Can Someone Make Like A Staff Meeting Command. It Auto Teleports all staff online To staff the room your in & the staff the missed the meeting like it sends them a msg when they get online but only admins can use command?

  20. #195
    8-bit Bitch Slapper Alpha Ducky is offline
    MemberRank
    Mar 2007 Join Date
    In My HouseLocation
    2,436Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Quote Originally Posted by tweeney View Post
    I have quite a few commands needed

    All for Dissi v26

    :givecredits <USER> <AMMOUNT> [GiveCredits to the user that you put in]
    :teleport <USER> [teleports certain user]
    :invisible <USER> [Makes user invisible]
    :pet <TYPE OF PET> <COLOUR> [Changes an admin into a pet, the pet that they request like cat, dog, croc etc and the colour of the pet like blue/red[I requested this earlier but no one answered]]
    :givebadge <USER> <BADGEID> [Gives a certain User a Certain badge]


    If you could make all those that would Be AWESOME

    Also, they are all for admins only

    EDIT:
    also can you make a :poof command so it updates there clothes, that would be for everyone
    :credits <name> <amount>
    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
    Code:
                        #region :poof
                        case "poof": // Refreshes users look
                                refreshAppearance(true, true, true);
                                break;
                        #endregion

  21. #196
    Demi-God tweeney is offline
    MemberRank
    Aug 2008 Join Date
    888Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Thanks for the commands

    Just need
    :pet <pettype> <colour>
    and
    :invisible
    and
    :teleport <name>
    And 1 more thing :|
    a :rig command to rig dice like furni
    All for dissi v26 TDbP
    Last edited by tweeney; 10-01-10 at 10:42 AM.

  22. #197
    Account Upgraded | Title Enabled! 321olos is offline
    MemberRank
    Mar 2009 Join Date
    409Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Quote Originally Posted by tweeney View Post
    Thanks for the commands

    Just need
    :pet <pettype> <colour>
    and
    :invisible
    and
    :teleport <name>
    And 1 more thing :|
    a :rig command to rig dice like furni
    All for dissi v26 TDbP
    Im sorry but im not releasing my :pet command.
    :rig was released so go back through the thread and you will find.

  23. #198
    Demi-God tweeney is offline
    MemberRank
    Aug 2008 Join Date
    888Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Ahh, thanks :)

    Will anyone else code a pet command :(

    Edit:
    The rig command doesnt seam to work :S
    Last edited by tweeney; 10-01-10 at 11:07 AM.

  24. #199
    Account Upgraded | Title Enabled! 321olos is offline
    MemberRank
    Mar 2009 Join Date
    409Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    Its cause you need to edit the command.

    The pet command is hard to code cause if it isnt people would have released it.

  25. #200
    Demi-God tweeney is offline
    MemberRank
    Aug 2008 Join Date
    888Posts

    Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

    When ever i type in the rig command it just 'shouts or says' it :(



Advertisement