O by the way forgot to announce
Update
New commands
action:
swapweapon -Will drop your current weapon for the one that has this command in its script
Condition:
(this is actually an old command been in my source ever since the first release but didn't work before because I forgot to reset a variable so its fixed now)
totalweapons=x -if x=the total weapons the player is holding then this will return true else it will return false
These two new commands allow for weapons swapping

(example script below)
;Artificial Intelligence Script
;Header
desc = Weapon Swap~Hockeykid
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickedupaweapon.tga,hudname=weaponprompt,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=40,totalweapons=0:state=11
:state=1,plrdistwithin=40,totalweapons=1:state=11
:state=1,plrdistwithin=40,totalweapons=2:state=10
:state=10,plrdistwithin=40,keypressed=28 1:state=3,swapweapon,coloff,rundecal=-1,plrsound=audiobank\items\pickupweapon.wav,hudshow=weaponprompt,hudfadeout=weaponprompt
:state=10,plrdistfurther=40:state=1
:state=11,plrdistfurther=40:state=1
:state=11,plrdistwithin=40,keypressed=28 1:state=3,playertake,coloff,rundecal=-1,plrsound=audiobank\items\pickupweapon.wav,hudshow=weaponprompt,hudfadeout=weaponprompt
;End of Script