I'm writing a channel control script, with some features I miss in the one included in mIRC and that's all good and fine (it works) - but;
I have made a edit box for the topic, which allows me to write and set a new topic in a chan, I would however like this box to automaticly show the current topic (as channel control does). Anyone have an idea to how I can make this work?
The dialog part for the topic looks like this:
;---topic---
box "Set Topic", 23, 7 5 248 19
edit "", 24, 13 12 220 10, autovs
button "Set", 25, 236 13 16 9
with the line
if ($did == 25) { /topic %s_ccchan $did(24) }
later on.