Help - Search - Members - Calendar
Full Version: "-pshot Unknown Command"?
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > Scripting Discussion
lechux
Yo!

I've never tried scripts or anything like that before.
But now I tried to download some ready scriptpackage but it dosent matter
which of them I try to bind. I just get the "unknown command: -pshot" message in the console.

So... Any idea why that problem occour for me?

// LeChux
Lordy
your missing a line in your script
check that you have an 'alias -pshot "-attack" or w/e and +pshot as well
also make sure you are executing the script right "exec configname.cfg"
2_of_Eight
Chances are, -pshot would likely be:
CODE
alias "-pshot" "+attack;wait;-attack"

Or something like that. I'm not sure.
Diablo_fx
QUOTE (2 of Eight @ May 8 2005, 12:31 AM)
Chances are, -pshot would likely be:
CODE
alias "-pshot" "+attack;wait;-attack"

Or something like that. I'm not sure.

CODE

alias +pshot "+attack"
alias -pshot "-attack; wait; +attack; wait; -attack"
lechux
Thanks for all the nice answers though it did'nt help :/
Well... I helped in the way that I dont recieve that message as often as before. But the scripts dont work.
Diablo_fx
Because you put it the wrong place.

Put it in the userconfig.cfg (or create one if it isnt there)

This should be it, if it stills dont work. Try reinstalling ns..
lechux
I've created a new .cfg file.
Scripts.cfg

But I put the scripts in userconfig.cfg instead. Now I dont recieve those message anymore. But the scripts is quite **** up. They don't work as they should and everytime I release my walk forward button(I use W tounge.gif) the primary weapon triggers. It also trigger when I press escape to return to the game when I've been in the menu screen.

Why isn't there any tutorial how to make this **** work biggrin-fix.gif Im a idiot... tounge.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.