mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-21 03:52:54 +01:00
make pailiza tell parser less confusing
This commit is contained in:
@@ -353,13 +353,10 @@
|
||||
|
||||
process(object)
|
||||
// get name & message
|
||||
var/i = findtext(object, " that ")
|
||||
var/sl = 6
|
||||
var/i = findtext(object, ",")
|
||||
var/sl = 1
|
||||
if(!i || lentext(object) < i + sl)
|
||||
i = findtext(object, ",")
|
||||
sl = 1
|
||||
if(!i || lentext(object) < i + sl)
|
||||
return "Tell who that you what?"
|
||||
return "Tell who that you what?"
|
||||
|
||||
var/name = trim(copytext(object, 1, i))
|
||||
object = trim(copytext(object, i + sl))
|
||||
|
||||
Reference in New Issue
Block a user