Author Topic: BanManagerSO ability to grab a ban from ID?  (Read 725 times)

So I need help getting the bans from the BanManagerSO using the index of the ban.

When you call a dump on it while running a server the tagged fields seem to be in some sort of array, yet arrays are very wonky in torque and accessing the data directly using an index doesn't look possible.

any help?

basically i need
BanManagerSO.getBanfromID(%id)

All the ban information appears to be stored in tagged fields, under the names:

adminBL_ID(banID)
adminName(banID)
expirationMinute(banID)
Reason(banID)
victimBL_ID(banID)
victimName(banID)


and possibly
victimIP(banID)

how do i access those though?

tags and arrays in torque are weird to me

how do i access those though?

tags and arrays in torque are weird to me
BanManagerSO.adminBL_ID[%banID] and so forth.