All bots summon command

Status
Not open for further replies.

IJude

New Member
Jun 18, 2011
18
0
Code:
      // summons all the bots       
        public static void summonWholeHotel(int _Rank, bool includeHigher, string Data)
        {
            try
            {
                {
                    foreach (virtualBot roomBot in Room._Bots.Values)
                    {
                        using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                        {
                            if (_Rank < 7)
                            {
                                int roomname;
                                int bots;
                                roomname = dbClient.getInt("SELECT name FROM rooms WHERE id = '" + _roomID + "'");
                                bots = dbClient.getInt("SELECT name FROM bots WHERE id = '" + _bots + "'");
                                Room.sendSaying(roomUser, "*Summonas all " + bots + " to " + roomname + " [" + _roomID + "]*");
                                User.sendData("D^" + "H" + Encoding.encodeVL64(roomname));
                            }
                        }
                    }
                }
            }
            catch { }
        }    // end the summoning void.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,905
Thanks for release, but it's silly imo, sorted your post out so the code ain't all over so we can read it.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,905
This ain't even a command, this ain't even useful, this wont work, and there is nothing to activate it, thread closed, message me when you have a fixed code and I will replace it.
 
Status
Not open for further replies.

Users who are viewing this thread

Top