mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2004
Posts: 59
S
synth7 Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Jul 2004
Posts: 59
This code is from the away script I'm writing for a few friends and myself. This is just the config part, where the "client" can change a few very basic settings about how it works, etc. I have some friends who want to use this that know essentially nothing about mIRC scripting, but I want them to understand how to change settings (aka, what to edit in my config section without removing something important). Hopefully what I'm asking makes sense, and here is what I have at the moment.

Code:
; _____________________________________________________
; ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
; Configuation - Edit the settings below to your liking
; _____________________________________________________
; ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
; Change nick on away? (0 = no, 1 = yes)
; Edit the digit after 'return'

alias away.chgnick { return 0 }

; Edit the line below to modify what default away message is used if none is supplied
; Edit the text after 'return'

alias away.defaway { return I am currently away from my computer }

; Edit the line below to modify what default nick suffix is used if none is supplied
; Edit the text after 'return'

alias away.defnick { return away }

Last edited by synth7; 06/11/05 05:06 AM.


Joined: Oct 2005
Posts: 35
C
Ameglian cow
Offline
Ameglian cow
C
Joined: Oct 2005
Posts: 35
that is good. What is the question?


#indierpgs @ magicstar.net Your indie-rpg fix. Online.
Joined: Oct 2005
Posts: 11
C
Pikka bird
Offline
Pikka bird
C
Joined: Oct 2005
Posts: 11
Wouldn't it be easier to create dialogs for the settings?


Link Copied to Clipboard