PtokaX forum

Archive => Archived 5.0 boards => Help with scripts => Topic started by: Jacko on 19 November, 2005, 17:14:57

Title: before i pull my hair out
Post by: Jacko on 19 November, 2005, 17:14:57
hiya   I am using PtokaX 0.3.3.0 build17.08 and triv-ex-v.0.68b.lua5

Could one of you guys change this part of script for me a bit please

------------------------
function TrivEx:TrivStart(curUser)
   if self:AllowedProf("Config",curUser) then
      curTriv.unansques = 0
      curTriv:SetGetQues(1)
      StartTimer()
      self:SendToUser(curUser,"Trivia is started.")
      self:SendToPlayers("Trivia was started by "..curUser.sName)
   end
end

so that it would be

Trivia was started by [U.K]User
Why not tune in to hub radio while you play... @ bla bla bla .com

I would like the second bit to have its own line please    

Title:
Post by: Pothead on 19 November, 2005, 18:43:45
self:SendToPlayers("Trivia was started by "..curUser.sName.."\r\nWhy not tune in to hub radio while you play... @ bla bla bla .com")
Title:
Post by: Jacko on 19 November, 2005, 20:37:38
Thanks a lot Pothead your'e a champ  :))