A chatbot
#9

followed mthe announcement one too
you do know i need a chatbot that says a random message every minit or so
btw will this work
Код:
new Announcements[5][128] = { 
  "Wolf bot: Stuck, dont know where to start? (/help)",
  "Wolf bot: test",
  "Wolf bot: Another test",
  "Announcement: Type /commands to view the list of the server commands",
  "Announcement: Type /rules to read the server rules. Make sure to understand 'em!"
};
public GlobalAnnouncement()
{
  switch (Msg)
  {
    case 0: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[0]); Msg++;} 
    case 1: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[1]); Msg++;}
    case 2: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[2]); Msg++;}
    case 3: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[3]); Msg++;}
    case 4: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[4]); Msg = 0;} 
  }
  return 1;
Reply


Messages In This Thread
A chatbot - by braduz - 30.08.2009, 21:09
Re: A chatbot - by iLinx - 30.08.2009, 21:13
Re: A chatbot - by braduz - 30.08.2009, 21:19
Re: A chatbot - by iLinx - 30.08.2009, 21:24
Re: A chatbot - by Sergei - 30.08.2009, 21:30
Re: A chatbot - by braduz - 30.08.2009, 21:39
Re: A chatbot - by Dark_Kostas - 30.08.2009, 21:42
Re: A chatbot - by braduz - 30.08.2009, 21:48
Re: A chatbot - by braduz - 31.08.2009, 09:10

Forum Jump:


Users browsing this thread: 1 Guest(s)