There are two fire commands. From the command ref:
unit fire weaponName
Operand types:
unit: Object
weaponName: String
Type of returned value:
Nothing
Description:
Unit will fire from given weapon.
Example:
soldierOne fire "HandGrenade"
comment »
--------------------------------------------------------------------------------
unit fire array
Operand types:
unit: Object
array: Array
Type of returned value:
Nothing
Description:
Unit will fire from given weapon. Argument has format [muzzle, mode, magazine] or [muzzle, mode].
Example:
soldierOne fire ["throw","SmokeShell","SmokeShell"]
BaKaRa, try the first one and see if it does what you want. You may need to use doTarget and doFire instead.