I have the following in a hash table:

Welcome to [channel] [nick]. (Approximate wait time: [waittime])

and the following command which processes that data:

.timerMsgChan 1 1 /msg %req-channel $replace($hget(Channel, priv_hi1),[nick],$!eval($hget(Temp,users)),[channel],%channel,[waittime],$!eval($hget(Temp,waittime)),[me],$me,[you],$!eval($hget(Temp,users-you)))

and it returns this:

Welcome to #channel nickname. (Approximate wait time: 1 second

missing the last )

anyone see where the problem lies (or why that happens, and how to get around it)?

Note: I cant use [waittime] $+ ), which does fix the problem. I need a better solution than that. (the first line can't be edited, only the code that processes it can be modified)

Last edited by Nutter; 15/03/04 10:00 AM.

Nutter
GameSurge IRC Network
www.gamesurge.net