• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

RevScripts How to make an action range?

Lundrial

lundrial:getTitle()
Joined
Apr 15, 2014
Messages
142
Reaction score
103
Location
Chile
How could I assign multiple action ids to a script without having to type every single one of them manually? normally I would use fromaid - toaid in the xml file but the only info I got while reading the docs for the revscriptsis was typing them manually

example:
Lua:
 mytestscript:aid(40000 to 40053)
 
Solution
E
you can use a for loop, for example:

for i = 40000, 40053 do
mytestscript:aid(i)
end
Back
Top