I made it this way
Code:
INSERT INTO SRO_VT_SHARD.dbo._TimedJob (CharID,Category,JobID,TimeToKeep,Data1,Data2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64, JID) VALUES (@CharID, 0, 33797,1380720924,0,0,0,0,0,0,0,0,72339069015688110,0)
In other words I need an other way of adding the skill if the condition is true. Any help is appreciated
Any way to get around with this ? Thanks in advance