Initial Upload
Initial Upload
This commit is contained in:
13
_module/nss/kdbkeygen.nss
Normal file
13
_module/nss/kdbkeygen.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void main()
|
||||
{
|
||||
if (GetTag(GetItemActivated()) == "kdbkeygen")
|
||||
{
|
||||
|
||||
object oTarget = GetItemActivatedTarget();
|
||||
if (!GetIsObjectValid(oTarget))
|
||||
return;
|
||||
// Apply effects
|
||||
AssignCommand(oTarget, ClearAllActions());
|
||||
CreateItemOnObject("kdbguildkey", oTarget);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user