time
来自「EPIC IRC客户端。来源于IRCII客户端但做了很多性能和功能的优化。」· 代码 · 共 43 行
TXT
43 行
# This will put the current time, date, etc according to your server# in the appropriate variablesalias servertime { stack push on 391 ^on ^391 * { @ day = [$2] @ month = [$3] @ date = [$4] @ time = [$7] } time wait stack pop on 391}# This will get the time from the uptime program and put it in the # variable uptimeon ^exec "uptime *" { @ uptime = [$1]}on ^exec_exit "uptime"alias uptime { exec -name uptime uptime wait %uptime}# This will get the time, date, etc from the date program and# put them in the appropriate variables.on ^exec "date % % % *" { @ day = [$1] @ month = [$2] @ date = [$3] @ time = [$4]}on ^exec_exit "date"alias datetime { exec -name date date wait %date}#modernized by hop'95
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?