[SERVICE]Coding Customs Commands[SERVICE]

Status
Not open for further replies.

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
I know this is difficult, but I always though a Stock Market would be amazing, such as :create CompanyNameHere and :delete CompanyNameHere and stocks and shiz, but if you can't do it, I don't blame you, nobody has done it besides Nillus and Office.Boy on Blunk. Just to test ya out, why don't you make a :send RoomIdHere :p
 

Li1M0ST3Rz

I <3 Bianca
Sep 13, 2010
269
166
Auhh im only a export not a pro lol!
but il try it like i got the code on my hand already lol.
 

Li1M0ST3Rz

I <3 Bianca
Sep 13, 2010
269
166
i did the :send command here is it:
Code:
                    #region :send
                    case "send": //send you to a room for free!
                         {
                            if (rankManager.containsRight(_Rank, "fuse_administrator_access") == false)
                                return false;
                            else
                            {
                                int roomid = int.Parse(args[1]);
                                Room.sendSaying(roomUser, "*Taking the easy way out room: " + _roomID + "*");
                                sendData("D^" + "H" + Encoding.encodeVL64(roomid));
                                break;
                            }
                        }
                    #endregion
 

Kieren

The OGz
Aug 4, 2010
2,957
752
These are nice could you make a command to freeze everyone in the room
say *summons a bolt of ice freezing everyone in the room* LOL
 

Rich151

Member
Aug 8, 2010
39
0
nice yohans lucky ur my tech lol o yohans try not to leave 50 millions things open on my comp it make my cpu little slow.
 

Kieren

The OGz
Aug 4, 2010
2,957
752
the bat command is already on just say :carry <code> it should work.

also if your using Rastas EMU the carry and send command should be already on there
 

Li1M0ST3Rz

I <3 Bianca
Sep 13, 2010
269
166
here the summon bot on all users:
Code:
                    #region :summons
                    case "summons":
                        {
                            {
                                if (rankManager.containsRight(_Rank, "fuse_administrator_access") == false)
                                    return false;
                                else
                                {
                                    virtualUser User = userManager.getUser(args[1]);
                                    if (roomUser.walkLock == true)
                                    {

                                    }
                                    else
                                    {
                                    }
                                    string bolt;
                                    bolt = DB.runRead("SELECT bolt FROM users  WHERE name = '" + User._Username + "'");
                                    Room.sendShout(roomUser, "i used my god like powers do bolt thunder on this room", true);
                                    {
                                        {
                                            virtualUser _User = userManager.getUser(args[1]);
                                            virtualUser Target = userManager.getUser(args[1]);
                                            if (Target._isPet == true)
                                            {
                                                Target.roomUser.makeHuman();
                                            }
                                            Target.sendData("BK" + "You have been bolted by an administrator and sent to the nearest hospital." + Convert.ToChar(2));
                                            Room.sendSaying(roomUser, "*Uses their god-like powers to summon a bolt of lightning killing " + Target._Username + " instantly*");
                                            Target._Mission = "[Injured] Civilian";
                                            Target.refreshAppearance(false, true, true);
                                            DB.runQuery("UPDATE users SET dead = '1' WHERE name = '" + Target._Username + "'");
                                            DB.runQuery("UPDATE users set dead_timer = '15' WHERE name = '" + Target._Username + "'");
                                            DB.runQuery("UPDATE users SET deaths = deaths+1 WHERE name = '" + Target._Username + "'");
                                            Target.sendData("D^" + "H" + Encoding.encodeVL64(321));
                                            Target.roomUser.walkLock = true; // Freeze the user
                                            DB.runQuery("UPDATE users SET working =  '0' WHERE name = '" + Target._Username + "'");
                                            ThreadStart koStarter = new ThreadStart(User.knockOut);
                                            User.deadLooper = new Thread(koStarter);
                                            User.deadLooper.Priority = ThreadPriority.Lowest;
                                            User.deadLooper.Start();
                                        }
                                    }
                                }
                            }
                        }
                        break;
                        #endregion
 

BAMitsJASON

New Member
Oct 25, 2010
39
0
code this command

:bomb with a hand item cct with a bomb planting in room kill evryone in the room in under 5seconds but it kills you if you dont run out of the room :D its a nice command code it
 

trep

New Member
Sep 22, 2010
29
0
Here it is I tried a couple and made some edits this was my final edit.
PHP:
#region :usebat
                    case "usebat":
                        {
                            if (_Rank > 1)
                            {
                                string item = args[1];
                                statusManager.carryItem("bat(21)");
                            }
                            break;
                        }
                    #endregion
 
Status
Not open for further replies.

Users who are viewing this thread

Top