SlashCo Wiki

SlashCo.FindSlasherWorkshopID

 string, string SlashCo.FindSlasherWorkshopID( string slasherFile )

Description

Shortcut for SlashCo.FindWorkshopID that looks up a slasher's lua file under lua/.

Arguments

1string slasherFile

Path of the slasher's lua file, with or without the .lua extension.

Returns

1string wsid

The workshop ID of the addon that contains the file, or nil if none was found.

2string title

The matching addon's title, or nil if none was found.