This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Creeper9207's profile picture

[✔ Solved] variables in os.queueEvent()

Started by Creeper9207, 01 June 2015 - 08:03 AM
Creeper9207 #1
Posted 01 June 2015 - 10:03 AM
How do you put variables in os.queueEvent? like, for example var1, var2 = os.pullEvent("custom_event"), how would i transfer var1 & var2?
Edited on 01 June 2015 - 08:07 AM
InDieTasten #2
Posted 01 June 2015 - 10:05 AM
How do you put variables in os.queueEvent? like, for example var1, var2 = os.pullEvent("custom_event"), how would i transfer var1 & var2?
os.queueEvent("custom_event", var1arg, var2arg)
event, var1, var2 = os.pullEvent("custom_event")
Creeper9207 #3
Posted 01 June 2015 - 10:07 AM
im retarted *facepalms at himself*

thanks :)/>