Author Topic: Announce for GUS 9.0  (Read 2918 times)

0 Members and 2 Guests are viewing this topic.

Offline [NoN]Toiletduck

  • Wiseguy
  • **
  • Posts: 65
    • View Profile
Announce for GUS 9.0
« on: December 23, 2008, 09:23:28 pm »
I have tried to change the !say and !count scripts for GUS and I have been unsuccessful.  Correct me if I am wrong: vcmp.announce %id $3- Will only show to
the player that typed it.
So my dilemma is that when I do vcmp.announce %id $2 $3 it is all bugged.
My script looks like this:

Code: [Select]
}
  elseif (!count* iswm $2) || (!pmcount* iswm $2) {
    if ($vcmp.cmdcheck(!count,%id) == fail) !halt
    else {
      .timer 1 1 vcmp.announce $2 %id Get Ready!
      .timer 1 2 vcmp.announce $2 %id 3
      .timer 1 3 vcmp.announce $2 %id 2
      .timer 1 4 vcmp.announce $2 %id 1
      .timer 1 5 vcmp.announce $2 %id Go!
    }

Code: [Select]
}
  elseif ($2 == !say) || ($2 == !pmsay) {
    if ($vcmp.cmdcheck(!say,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Error - Missing Information, $2 <text>
    else vcmp.announce %id $2 $3-
  }



Well with the scripts like that, this happens:


Offline BoySticK

  • Street Thug
  • *
  • Posts: 23
    • View Profile
Re: Announce for GUS 9.0
« Reply #1 on: December 23, 2008, 10:12:47 pm »
Yeah..me too.. but thxnx to force already works!
Try...
Quote
elseif ($2 == !say) {
    if ($vcmp.cmdcheck(!say,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Error - Missing Information, $2 <text>
    else {
      var %a = 0
      while (%a <=  50) {
        if ($vcmp.name(%a) != Unknown) {
          vcmp.announce  %a  $3-
        }
        !inc %a
      }
    }
  }

And close 3 "vcmp-svr.exe"..lol.. cuz the server browser have spam with 4 server your xD

see:
« Last Edit: December 23, 2008, 11:04:18 pm by BoySticK »