Help With my Script

I need some help, quick!

By Deadly EpicFail 5 years ago

Hello everyone, I am looking for some quick help it's mostly simple. I have recently installed the NoScope Mod into my server. And my friend found out that if I could create a script that Shoots, then scopes we would basically have infinite ammo. The reason we would have infinite ammo is because the script gets rid of your weapon, then gives it to you again when you scope. Here is what I have right now, and yes, i want it to toggle. But the main problem is, it continuously does the script. This is fairly annoying and makes it difficult to play. And I cannot toggle it off

Here is the script. I'm not to regulated with FPSB's BBCoding or if they have any so bare with me

alias wait5 "wait;wait;wait;wait;wait" alias wait10 "wait5;wait5" alias wait20 "wait10;wait10"

bind l "toggleswitch" alias +josh "+attack;wait10;+attack2" alias -josh "-attack;-attack2" alias toggleson "bind mouse1 +josh;alias toggleswitch togglesoff;play alert.mp3" alias togglesoff "bind mouse1 +attack;alias toggleswitch toggleson;play doh.wav" alias toggleswitch "toggleson"

If somebody helps me I will thank you greatly as there is not much that I can do...

Thank you again.

And it seems there is not BBCoding with FPSB.

4 posts 510 views
  • You must be a member

Replies

  • Kangaroux's Levels
    • P1: Beggar
      Points: 424
    • E1: Helper
      EF: 4
    • C1: Member
    • A5: Veteran
      Account Age: 6 years
    Posted 5 years ago

    Change "+josh" to just "josh"

    EDIT: sorry, that wouldn't work. You need to add another alias, like so:

    alias -josh "-attack;-attack2"

    User Title
    I'm back, bitches.
  • Deadly EpicFail's Levels
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 5 years ago

    I will test right away. Thank you for taking your time out to help me with this issue.

  • Kangaroux's Levels
    • P1: Beggar
      Points: 424
    • E1: Helper
      EF: 4
    • C1: Member
    • A5: Veteran
      Account Age: 6 years
    Posted 5 years ago
    Posted by Deadly EpicFail I will test right away. Thank you for taking your time out to help me with this issue.

    No problem. If it still doesn't work, though, I'll take a shot at it.

    User Title
    I'm back, bitches.
  • Deadly EpicFail's Levels
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 5 years ago

    You have fixed some minor issues, 1.) It is not automatically shooting now, 2.) It is toggling itself. But there is the problem now it is not scoping when I shoot. But once again thank you for taking your time out to help.

  • You must be a member