PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: jay-dee on 21 October, 2006, 14:44:02

Title: helpdesk
Post by: jay-dee on 21 October, 2006, 14:44:02
i have this script:
http://forum.ptokax.org/index.php?topic=5948.0

but when i typ join in main, is it possible to join into the room of helpdesk??
i mean not pm the helpdesk and !join, but when join ,pm already opens in a new screen??

but 2 questions ??
1: i have this if no triggers are there...
-- Message sent to user when there's no trig?
sMsg = "\r\n\####################\r\n\If you have any question, talk to jaydee or sampleman.\r\n\####################\r\n\t",


and this is the join message...

[tDesk.sJoin] = function(user)
if not tMembers[user.sName] then
PM("*** "..user.sName.." joined!",tDesk.sBot)
tMembers[user.sName] = 1
user:SendPM(tDesk.sBot,"*** You have joined the HelpDesk!\r\n\tIf you have any questions or problems "..
"write them here, maybe we can help you. If nobody answers then try again later.\r\n\t"..
"!"..tDesk.sLeave..": Leave the HelpDesk.")
SaveToFile(tDesk.fHelp,tMembers,"tMembers")
end
end,


the join message doesnt respond???

somebody can tell me why??
2: can someone can make a folder that i can trigger .txt files like ascii??

tnx regards jaydee