Connect plugin now a Lua implementation
This commit is contained in:
10
connect.lua
Normal file
10
connect.lua
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
local connect = {}
|
||||||
|
|
||||||
|
local user = "prof1@panesar"
|
||||||
|
|
||||||
|
function connect.prof_on_start()
|
||||||
|
prof_cons_show("Enter password for " .. user)
|
||||||
|
prof_send_line("/connect " .. user)
|
||||||
|
end
|
||||||
|
|
||||||
|
return connect
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
import prof
|
|
||||||
|
|
||||||
user = "prof1@panesar"
|
|
||||||
|
|
||||||
def prof_on_start():
|
|
||||||
global user
|
|
||||||
prof.cons_show("")
|
|
||||||
prof.cons_show("Enter password for " + user)
|
|
||||||
prof.send_line("/connect " + user)
|
|
||||||
Reference in New Issue
Block a user