Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Same as echo() except that "main" can be used to denote the main window and avoid additional conditionals.
- function wecho(win,arg)
- if not win or win:lower() == "main" then
- echo(arg)
- else
- echo(win,arg)
- end--if
- end--wecho
- --Same as echoLink except that "main" can be used to denote the main window and avoid additional conditionals.
- function wechoLink(win,text,command,hint,bool)
- if not win or win:lower() == "main" then
- echoLink(text, command, hint, bool)
- else
- echoLink(win, text, command, hint, bool)
- end--if
- end--wechoLink
- --Same as setFgColor except that "main" can be used to denote the main window and avoid additional conditionals.
- function wsetFgColor(win,r,g,b)
- if not win or win:lower() == "main" then
- setFgColor(r,g,b)
- else
- setFgColor(win,r,g,b)
- end--if
- end--wsetFgColor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement